Skip to content

Commit 8610ce7

Browse files
committed
doc: remove callback example
1 parent 0bdb996 commit 8610ce7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

doc/api/fs.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@ import * as fs from 'node:fs/promises';
2121
const fs = require('node:fs/promises');
2222
```
2323

24-
To use the callback and sync APIs:
25-
26-
```mjs
27-
import * as fs from 'node:fs';
28-
```
29-
30-
```cjs
31-
const fs = require('node:fs');
32-
```
33-
3424
All file system operations have synchronous, callback, and promise-based
3525
forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM).
3626

0 commit comments

Comments
 (0)