Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit 4186642

Browse files
committed
refactor(fs): fix doc and re-exports
1 parent a41c625 commit 4186642

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

fs/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
* To use the promise-based APIs:
88
*
99
* ```js
10-
* import * as fs from '@socketsupply/io/fs/promises';
10+
* import * as fs from '@socketsupply/io/fs/promises.js';
1111
* ```
1212
*
13-
* To use the callback and sync APIs:
13+
* To use the callback and async APIs:
1414
*
1515
* ```js
16-
* import * as fs from 'node:fs';
16+
* import * as fs from '@socketsupply/io/fs/index.js';
1717
* ```
1818
*/
1919

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export * as dns from './dns.js'
66
export * as events from './events.js'
77
export { EventEmitter } from './events.js'
88
export * as errors from './errors.js'
9-
export * as fs from './fs/index.js'
9+
export * as fs from './fs.js'
1010
export { default as gc } from './gc.js'
1111
export * as ipc from './ipc.js'
1212
export * as net from './net.js'

0 commit comments

Comments
 (0)