@bablr/fs 2.0.0 → 2.0.1
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.
- package/README.md +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,9 +7,7 @@ This package offers fast, responsive, efficient access to the filesystem. Node's
|
|
|
7
7
|
```js
|
|
8
8
|
import { readFile, readDir, decodeUTF8 } from '@bablr/fs';
|
|
9
9
|
|
|
10
|
-
let fileIterable = decodeUTF8(
|
|
11
|
-
readFile(import.meta.url, 'utf8'),
|
|
12
|
-
);
|
|
10
|
+
let fileIterable = decodeUTF8(readFile(import.meta.url));
|
|
13
11
|
let directoryIterable = readDir('./');
|
|
14
12
|
```
|
|
15
13
|
|