@pagepocket/uni-fs 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,14 @@ pnpm add @pagepocket/uni-fs
11
11
  ## API
12
12
 
13
13
  ```ts
14
- import { write, readAsURL, readText, readBinary, exists, delete as deleteFile } from "@pagepocket/uni-fs";
14
+ import {
15
+ write,
16
+ readAsURL,
17
+ readText,
18
+ readBinary,
19
+ exists,
20
+ delete as deleteFile
21
+ } from "@pagepocket/uni-fs";
15
22
 
16
23
  await write("snapshots/page", "html", "<html>...</html>");
17
24
  const url = await readAsURL("snapshots/page", "html");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagepocket/uni-fs",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Unified filesystem helpers for Node and OPFS environments.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",