René's URL Explorer Experiment


Title: File system | Node.js 26.13.0 Documentation

Open Graph Title: File system | Node.js 26.13.0 Documentation

Description: Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

Open Graph Description: Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

direct link

Domain: beta.docs.nodejs.org

og:typewebsite
og:imagehttps://nodejs.org/en/next-data/og/announcement/Node.js — Run JavaScript Everywhere

Links:

https://beta.docs.nodejs.org/
Learnhttps://nodejs.org/en/learn
Abouthttps://nodejs.org/en/about
Downloadhttps://nodejs.org/en/download
Docshttps://nodejs.org/docs/latest/api/
Bloghttps://nodejs.org/en/blog/
Contributehttps://github.com/nodejs/node/blob/main/CONTRIBUTING.md
https://github.com/nodejs/node
About this documentationhttps://beta.docs.nodejs.org/index.html
Usage and examplehttps://beta.docs.nodejs.org/synopsis.html
Asserthttps://beta.docs.nodejs.org/assert.html
Async hookshttps://beta.docs.nodejs.org/async_hooks.html
Asynchronous context trackinghttps://beta.docs.nodejs.org/async_context.html
Benchmark runnerhttps://beta.docs.nodejs.org/bench.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
C++ addonshttps://beta.docs.nodejs.org/addons.html
C++ embedder APIhttps://beta.docs.nodejs.org/embedding.html
Child processhttps://beta.docs.nodejs.org/child_process.html
Clusterhttps://beta.docs.nodejs.org/cluster.html
Command-line APIhttps://beta.docs.nodejs.org/cli.html
Consolehttps://beta.docs.nodejs.org/console.html
Cryptohttps://beta.docs.nodejs.org/crypto.html
Debuggerhttps://beta.docs.nodejs.org/debugger.html
Deprecated APIshttps://beta.docs.nodejs.org/deprecations.html
Diagnostic reporthttps://beta.docs.nodejs.org/report.html
Diagnostics Channelhttps://beta.docs.nodejs.org/diagnostics_channel.html
DNShttps://beta.docs.nodejs.org/dns.html
Domainhttps://beta.docs.nodejs.org/domain.html
DTLShttps://beta.docs.nodejs.org/dtls.html
Environment Variableshttps://beta.docs.nodejs.org/environment_variables.html
Errorshttps://beta.docs.nodejs.org/errors.html
Eventshttps://beta.docs.nodejs.org/events.html
FFIhttps://beta.docs.nodejs.org/ffi.html
File systemhttps://beta.docs.nodejs.org/fs.html
Promises APIhttps://beta.docs.nodejs.org/fs/promises-api.html
Callback APIhttps://beta.docs.nodejs.org/fs/callback-api.html
Synchronous APIhttps://beta.docs.nodejs.org/fs/synchronous-api.html
Common Objectshttps://beta.docs.nodejs.org/fs/common-objects.html
Global objectshttps://beta.docs.nodejs.org/globals.html
HTTPhttps://beta.docs.nodejs.org/http.html
HTTP/2https://beta.docs.nodejs.org/http2.html
HTTPShttps://beta.docs.nodejs.org/https.html
Inspectorhttps://beta.docs.nodejs.org/inspector.html
Internationalization supporthttps://beta.docs.nodejs.org/intl.html
Iterable Streamshttps://beta.docs.nodejs.org/stream_iter.html
Modules: node:module APIhttps://beta.docs.nodejs.org/module.html
Modules: CommonJS moduleshttps://beta.docs.nodejs.org/modules.html
Modules: ECMAScript moduleshttps://beta.docs.nodejs.org/esm.html
Modules: Packageshttps://beta.docs.nodejs.org/packages.html
Modules: TypeScripthttps://beta.docs.nodejs.org/typescript.html
Nethttps://beta.docs.nodejs.org/net.html
Node-APIhttps://beta.docs.nodejs.org/n-api.html
OShttps://beta.docs.nodejs.org/os.html
Pathhttps://beta.docs.nodejs.org/path.html
Performance measurement APIshttps://beta.docs.nodejs.org/perf_hooks.html
Permissionshttps://beta.docs.nodejs.org/permissions.html
Processhttps://beta.docs.nodejs.org/process.html
Punycodehttps://beta.docs.nodejs.org/punycode.html
Query stringhttps://beta.docs.nodejs.org/querystring.html
Readlinehttps://beta.docs.nodejs.org/readline.html
REPLhttps://beta.docs.nodejs.org/repl.html
Single executable applicationshttps://beta.docs.nodejs.org/single-executable-applications.html
SQLitehttps://beta.docs.nodejs.org/sqlite.html
Streamhttps://beta.docs.nodejs.org/stream.html
String decoderhttps://beta.docs.nodejs.org/string_decoder.html
Test runnerhttps://beta.docs.nodejs.org/test.html
Timershttps://beta.docs.nodejs.org/timers.html
TLS (SSL)https://beta.docs.nodejs.org/tls.html
Trace eventshttps://beta.docs.nodejs.org/tracing.html
TTYhttps://beta.docs.nodejs.org/tty.html
UDP/datagram socketshttps://beta.docs.nodejs.org/dgram.html
URLhttps://beta.docs.nodejs.org/url.html
Utilhttps://beta.docs.nodejs.org/util.html
V8https://beta.docs.nodejs.org/v8.html
Virtual File Systemhttps://beta.docs.nodejs.org/vfs.html
VM (executing JavaScript)https://beta.docs.nodejs.org/vm.html
Web Crypto APIhttps://beta.docs.nodejs.org/webcrypto.html
Web Streams APIhttps://beta.docs.nodejs.org/webstreams.html
WebAssembly System Interface (WASI)https://beta.docs.nodejs.org/wasi.html
Worker threadshttps://beta.docs.nodejs.org/worker_threads.html
Zlibhttps://beta.docs.nodejs.org/zlib.html
Promise examplehttps://beta.docs.nodejs.org/fs.html#promise-example
Callback examplehttps://beta.docs.nodejs.org/fs.html#callback-example
Synchronous examplehttps://beta.docs.nodejs.org/fs.html#synchronous-example
Promises APIhttps://beta.docs.nodejs.org/fs.html#promises-api
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
fsPromises.accesshttps://beta.docs.nodejs.org/fs.html#fspromisesaccesspath-mode
fsPromises.appendFilehttps://beta.docs.nodejs.org/fs.html#fspromisesappendfilepath-data-options
fsPromises.chmodhttps://beta.docs.nodejs.org/fs.html#fspromiseschmodpath-mode
fsPromises.chownhttps://beta.docs.nodejs.org/fs.html#fspromiseschownpath-uid-gid
fsPromises.copyFilehttps://beta.docs.nodejs.org/fs.html#fspromisescopyfilesrc-dest-mode
fsPromises.cphttps://beta.docs.nodejs.org/fs.html#fspromisescpsrc-dest-options
fsPromises.globhttps://beta.docs.nodejs.org/fs.html#fspromisesglobpattern-options
fsPromises.lchmodhttps://beta.docs.nodejs.org/fs.html#fspromiseslchmodpath-mode
fsPromises.lchownhttps://beta.docs.nodejs.org/fs.html#fspromiseslchownpath-uid-gid
fsPromises.lutimeshttps://beta.docs.nodejs.org/fs.html#fspromiseslutimespath-atime-mtime
fsPromises.linkhttps://beta.docs.nodejs.org/fs.html#fspromiseslinkexistingpath-newpath
fsPromises.lstathttps://beta.docs.nodejs.org/fs.html#fspromiseslstatpath-options
fsPromises.mkdirhttps://beta.docs.nodejs.org/fs.html#fspromisesmkdirpath-options
fsPromises.mkdtemphttps://beta.docs.nodejs.org/fs.html#fspromisesmkdtempprefix-options
fsPromises.mkdtempDisposablehttps://beta.docs.nodejs.org/fs.html#fspromisesmkdtempdisposableprefix-options
fsPromises.openhttps://beta.docs.nodejs.org/fs.html#fspromisesopenpath-flags-mode
fsPromises.opendirhttps://beta.docs.nodejs.org/fs.html#fspromisesopendirpath-options
fsPromises.readdirhttps://beta.docs.nodejs.org/fs.html#fspromisesreaddirpath-options
fsPromises.readFilehttps://beta.docs.nodejs.org/fs.html#fspromisesreadfilepath-options
fsPromises.readlinkhttps://beta.docs.nodejs.org/fs.html#fspromisesreadlinkpath-options
fsPromises.realpathhttps://beta.docs.nodejs.org/fs.html#fspromisesrealpathpath-options
fsPromises.renamehttps://beta.docs.nodejs.org/fs.html#fspromisesrenameoldpath-newpath
fsPromises.rmdirhttps://beta.docs.nodejs.org/fs.html#fspromisesrmdirpath-options
fsPromises.rmhttps://beta.docs.nodejs.org/fs.html#fspromisesrmpath-options
fsPromises.stathttps://beta.docs.nodejs.org/fs.html#fspromisesstatpath-options
fsPromises.statfshttps://beta.docs.nodejs.org/fs.html#fspromisesstatfspath-options
fsPromises.symlinkhttps://beta.docs.nodejs.org/fs.html#fspromisessymlinktarget-path-type
fsPromises.truncatehttps://beta.docs.nodejs.org/fs.html#fspromisestruncatepath-len
fsPromises.unlinkhttps://beta.docs.nodejs.org/fs.html#fspromisesunlinkpath
fsPromises.utimeshttps://beta.docs.nodejs.org/fs.html#fspromisesutimespath-atime-mtime
fsPromises.watchhttps://beta.docs.nodejs.org/fs.html#fspromiseswatchfilename-options
fsPromises.writeFilehttps://beta.docs.nodejs.org/fs.html#fspromiseswritefilefile-data-options
fsPromises.constantshttps://beta.docs.nodejs.org/fs.html#fspromisesconstants
Callback APIhttps://beta.docs.nodejs.org/fs.html#callback-api
fs.accesshttps://beta.docs.nodejs.org/fs.html#fsaccesspath-mode-callback
fs.appendFilehttps://beta.docs.nodejs.org/fs.html#fsappendfilepath-data-options-callback
fs.chmodhttps://beta.docs.nodejs.org/fs.html#fschmodpath-mode-callback
fs.chownhttps://beta.docs.nodejs.org/fs.html#fschownpath-uid-gid-callback
fs.closehttps://beta.docs.nodejs.org/fs.html#fsclosefd-callback
fs.copyFilehttps://beta.docs.nodejs.org/fs.html#fscopyfilesrc-dest-mode-callback
fs.cphttps://beta.docs.nodejs.org/fs.html#fscpsrc-dest-options-callback
fs.createReadStreamhttps://beta.docs.nodejs.org/fs.html#fscreatereadstreampath-options
fs.createWriteStreamhttps://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
fs.existshttps://beta.docs.nodejs.org/fs.html#fsexistspath-callback
fs.fchmodhttps://beta.docs.nodejs.org/fs.html#fsfchmodfd-mode-callback
fs.fchownhttps://beta.docs.nodejs.org/fs.html#fsfchownfd-uid-gid-callback
fs.fdatasynchttps://beta.docs.nodejs.org/fs.html#fsfdatasyncfd-callback
fs.fstathttps://beta.docs.nodejs.org/fs.html#fsfstatfd-options-callback
fs.fsynchttps://beta.docs.nodejs.org/fs.html#fsfsyncfd-callback
fs.ftruncatehttps://beta.docs.nodejs.org/fs.html#fsftruncatefd-len-callback
fs.futimeshttps://beta.docs.nodejs.org/fs.html#fsfutimesfd-atime-mtime-callback
fs.globhttps://beta.docs.nodejs.org/fs.html#fsglobpattern-options-callback
fs.lchmodhttps://beta.docs.nodejs.org/fs.html#fslchmodpath-mode-callback
fs.lchownhttps://beta.docs.nodejs.org/fs.html#fslchownpath-uid-gid-callback
fs.lutimeshttps://beta.docs.nodejs.org/fs.html#fslutimespath-atime-mtime-callback
fs.linkhttps://beta.docs.nodejs.org/fs.html#fslinkexistingpath-newpath-callback
fs.lstathttps://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
fs.mkdirhttps://beta.docs.nodejs.org/fs.html#fsmkdirpath-options-callback
fs.mkdtemphttps://beta.docs.nodejs.org/fs.html#fsmkdtempprefix-options-callback
fs.openhttps://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
fs.openAsBlobhttps://beta.docs.nodejs.org/fs.html#fsopenasblobpath-options
fs.opendirhttps://beta.docs.nodejs.org/fs.html#fsopendirpath-options-callback
fs.readhttps://beta.docs.nodejs.org/fs.html#fsreadfd-buffer-offset-length-position-callback
fs.readdirhttps://beta.docs.nodejs.org/fs.html#fsreaddirpath-options-callback
fs.readFilehttps://beta.docs.nodejs.org/fs.html#fsreadfilepath-options-callback
fs.readlinkhttps://beta.docs.nodejs.org/fs.html#fsreadlinkpath-options-callback
fs.readvhttps://beta.docs.nodejs.org/fs.html#fsreadvfd-buffers-position-callback
fs.realpathhttps://beta.docs.nodejs.org/fs.html#fsrealpathpath-options-callback
fs.realpath.nativehttps://beta.docs.nodejs.org/fs.html#fsrealpathnativepath-options-callback
fs.renamehttps://beta.docs.nodejs.org/fs.html#fsrenameoldpath-newpath-callback
fs.rmdirhttps://beta.docs.nodejs.org/fs.html#fsrmdirpath-options-callback
fs.rmhttps://beta.docs.nodejs.org/fs.html#fsrmpath-options-callback
fs.stathttps://beta.docs.nodejs.org/fs.html#fsstatpath-options-callback
fs.statfshttps://beta.docs.nodejs.org/fs.html#fsstatfspath-options-callback
fs.symlinkhttps://beta.docs.nodejs.org/fs.html#fssymlinktarget-path-type-callback
fs.truncatehttps://beta.docs.nodejs.org/fs.html#fstruncatepath-len-callback
fs.unlinkhttps://beta.docs.nodejs.org/fs.html#fsunlinkpath-callback
fs.unwatchFilehttps://beta.docs.nodejs.org/fs.html#fsunwatchfilefilename-listener
fs.utimeshttps://beta.docs.nodejs.org/fs.html#fsutimespath-atime-mtime-callback
fs.watchhttps://beta.docs.nodejs.org/fs.html#fswatchfilename-options-listener
fs.watchFilehttps://beta.docs.nodejs.org/fs.html#fswatchfilefilename-options-listener
fs.writehttps://beta.docs.nodejs.org/fs.html#fswritefd-buffer-offset-length-position-callback
fs.writeFilehttps://beta.docs.nodejs.org/fs.html#fswritefilefile-data-options-callback
fs.writevhttps://beta.docs.nodejs.org/fs.html#fswritevfd-buffers-position-callback
Synchronous APIhttps://beta.docs.nodejs.org/fs.html#synchronous-api
fs.accessSynchttps://beta.docs.nodejs.org/fs.html#fsaccesssyncpath-mode
fs.appendFileSynchttps://beta.docs.nodejs.org/fs.html#fsappendfilesyncpath-data-options
fs.chmodSynchttps://beta.docs.nodejs.org/fs.html#fschmodsyncpath-mode
fs.chownSynchttps://beta.docs.nodejs.org/fs.html#fschownsyncpath-uid-gid
fs.closeSynchttps://beta.docs.nodejs.org/fs.html#fsclosesyncfd
fs.copyFileSynchttps://beta.docs.nodejs.org/fs.html#fscopyfilesyncsrc-dest-mode
fs.cpSynchttps://beta.docs.nodejs.org/fs.html#fscpsyncsrc-dest-options
fs.existsSynchttps://beta.docs.nodejs.org/fs.html#fsexistssyncpath
fs.fchmodSynchttps://beta.docs.nodejs.org/fs.html#fsfchmodsyncfd-mode
fs.fchownSynchttps://beta.docs.nodejs.org/fs.html#fsfchownsyncfd-uid-gid
fs.fdatasyncSynchttps://beta.docs.nodejs.org/fs.html#fsfdatasyncsyncfd
fs.fstatSynchttps://beta.docs.nodejs.org/fs.html#fsfstatsyncfd-options
fs.fsyncSynchttps://beta.docs.nodejs.org/fs.html#fsfsyncsyncfd
fs.ftruncateSynchttps://beta.docs.nodejs.org/fs.html#fsftruncatesyncfd-len
fs.futimesSynchttps://beta.docs.nodejs.org/fs.html#fsfutimessyncfd-atime-mtime
fs.globSynchttps://beta.docs.nodejs.org/fs.html#fsglobsyncpattern-options
fs.lchmodSynchttps://beta.docs.nodejs.org/fs.html#fslchmodsyncpath-mode
fs.lchownSynchttps://beta.docs.nodejs.org/fs.html#fslchownsyncpath-uid-gid
fs.lutimesSynchttps://beta.docs.nodejs.org/fs.html#fslutimessyncpath-atime-mtime
fs.linkSynchttps://beta.docs.nodejs.org/fs.html#fslinksyncexistingpath-newpath
fs.lstatSynchttps://beta.docs.nodejs.org/fs.html#fslstatsyncpath-options
fs.mkdirSynchttps://beta.docs.nodejs.org/fs.html#fsmkdirsyncpath-options
fs.mkdtempSynchttps://beta.docs.nodejs.org/fs.html#fsmkdtempsyncprefix-options
fs.mkdtempDisposableSynchttps://beta.docs.nodejs.org/fs.html#fsmkdtempdisposablesyncprefix-options
fs.openAsBlobSynchttps://beta.docs.nodejs.org/fs.html#fsopenasblobsyncpath-options
fs.opendirSynchttps://beta.docs.nodejs.org/fs.html#fsopendirsyncpath-options
fs.openSynchttps://beta.docs.nodejs.org/fs.html#fsopensyncpath-flags-mode
fs.readdirSynchttps://beta.docs.nodejs.org/fs.html#fsreaddirsyncpath-options
fs.readFileSynchttps://beta.docs.nodejs.org/fs.html#fsreadfilesyncpath-options
fs.readlinkSynchttps://beta.docs.nodejs.org/fs.html#fsreadlinksyncpath-options
fs.readSynchttps://beta.docs.nodejs.org/fs.html#fsreadsyncfd-buffer-offset-length-position
fs.readvSynchttps://beta.docs.nodejs.org/fs.html#fsreadvsyncfd-buffers-position
fs.realpathSynchttps://beta.docs.nodejs.org/fs.html#fsrealpathsyncpath-options
fs.realpathSync.nativehttps://beta.docs.nodejs.org/fs.html#fsrealpathsyncnativepath-options
fs.renameSynchttps://beta.docs.nodejs.org/fs.html#fsrenamesyncoldpath-newpath
fs.rmdirSynchttps://beta.docs.nodejs.org/fs.html#fsrmdirsyncpath-options
fs.rmSynchttps://beta.docs.nodejs.org/fs.html#fsrmsyncpath-options
fs.statSynchttps://beta.docs.nodejs.org/fs.html#fsstatsyncpath-options
fs.statfsSynchttps://beta.docs.nodejs.org/fs.html#fsstatfssyncpath-options
fs.symlinkSynchttps://beta.docs.nodejs.org/fs.html#fssymlinksynctarget-path-type
fs.truncateSynchttps://beta.docs.nodejs.org/fs.html#fstruncatesyncpath-len
fs.unlinkSynchttps://beta.docs.nodejs.org/fs.html#fsunlinksyncpath
fs.utimesSynchttps://beta.docs.nodejs.org/fs.html#fsutimessyncpath-atime-mtime
fs.writeFileSynchttps://beta.docs.nodejs.org/fs.html#fswritefilesyncfile-data-options
fs.writeSynchttps://beta.docs.nodejs.org/fs.html#fswritesyncfd-buffer-offset-length-position
fs.writevSynchttps://beta.docs.nodejs.org/fs.html#fswritevsyncfd-buffers-position
Common Objectshttps://beta.docs.nodejs.org/fs.html#common-objects
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
fs.Utf8Streamhttps://beta.docs.nodejs.org/fs.html#class-fsutf8stream
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
fs.constantshttps://beta.docs.nodejs.org/fs.html#fsconstants
Noteshttps://beta.docs.nodejs.org/fs.html#notes
Ordering of callback and promise-based operationshttps://beta.docs.nodejs.org/fs.html#ordering-of-callback-and-promise-based-operations
File pathshttps://beta.docs.nodejs.org/fs.html#file-paths
File descriptorshttps://beta.docs.nodejs.org/fs.html#file-descriptors-1
Threadpool usagehttps://beta.docs.nodejs.org/fs.html#threadpool-usage
File system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
File systemhttps://beta.docs.nodejs.org/fs.html#file-system
lib/fs.jshttps://github.com/nodejs/node/blob/main/lib/fs.js
Promise examplehttps://beta.docs.nodejs.org/fs.html#promise-example
Callback examplehttps://beta.docs.nodejs.org/fs.html#callback-example
Synchronous examplehttps://beta.docs.nodejs.org/fs.html#synchronous-example
Promises APIhttps://beta.docs.nodejs.org/fs.html#promises-api
Exposed as require('fs/promises').v14.0.0https://github.com/nodejs/node/pull/31553
This API is no longer experimental.v11.14.0, v10.17.0https://github.com/nodejs/node/pull/26581
The API is accessible via require('fs').promises only.v10.1.0https://github.com/nodejs/node/pull/20504
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
EventEmitterhttps://beta.docs.nodejs.org/events.html#class-eventemitter
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
closehttps://beta.docs.nodejs.org/fs.html#event-close
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
filehandle.appendFilehttps://beta.docs.nodejs.org/fs.html#filehandleappendfiledata-options
The flush option is now supported.v21.1.0, v20.10.0https://github.com/nodejs/node/pull/50095
The data argument supports AsyncIterable, Iterable, and Stream.v15.14.0, v14.18.0https://github.com/nodejs/node/pull/37490
The data parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Iterablehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterable_protocol
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
filehandle.writeFile()https://beta.docs.nodejs.org/fs.html#filehandlewritefiledata-options
fsPromises.open()https://beta.docs.nodejs.org/fs.html#fspromisesopenpath-flags-mode
filehandle.writeFile()https://beta.docs.nodejs.org/fs.html#filehandlewritefiledata-options
filehandle.chmodhttps://beta.docs.nodejs.org/fs.html#filehandlechmodmode
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
chmod(2)http://man7.org/linux/man-pages/man2/chmod.2.html
filehandle.chownhttps://beta.docs.nodejs.org/fs.html#filehandlechownuid-gid
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
chown(2)http://man7.org/linux/man-pages/man2/chown.2.html
filehandle.closehttps://beta.docs.nodejs.org/fs.html#filehandleclose
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
filehandle.createReadStreamhttps://beta.docs.nodejs.org/fs.html#filehandlecreatereadstreamoptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
Number.MAX_SAFE_INTEGERhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
filehandle.createWriteStreamhttps://beta.docs.nodejs.org/fs.html#filehandlecreatewritestreamoptions
bump default highWaterMark.v22.0.0https://github.com/nodejs/node/pull/52037
The flush option is now supported.v21.0.0, v20.10.0https://github.com/nodejs/node/pull/50093
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stream.getDefaultHighWaterMark()https://beta.docs.nodejs.org/stream.html#streamgetdefaulthighwatermarkobjectmode
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
Number.MAX_SAFE_INTEGERhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
filehandle.datasynchttps://beta.docs.nodejs.org/fs.html#filehandledatasync
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fdatasync(2)http://man7.org/linux/man-pages/man2/fdatasync.2.html
filehandle.fdhttps://beta.docs.nodejs.org/fs.html#filehandlefd
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
filehandle.pullhttps://beta.docs.nodejs.org/fs.html#filehandlepulltransforms-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream/iter pull()https://beta.docs.nodejs.org/stream_iter.html#pullsource-transforms-options
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Uint8Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
node:stream/iterhttps://beta.docs.nodejs.org/stream_iter.html
stream/iter pull()https://beta.docs.nodejs.org/stream_iter.html#pullsource-transforms-options
filehandle.pullSynchttps://beta.docs.nodejs.org/fs.html#filehandlepullsynctransforms-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stream/iter pullSync()https://beta.docs.nodejs.org/stream_iter.html#pullsyncsource-transforms
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Iterablehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterable_protocol
Uint8Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
filehandle.pull()https://beta.docs.nodejs.org/fs.html#filehandlepulltransforms-options
filehandle.pull()https://beta.docs.nodejs.org/fs.html#filehandlepulltransforms-options
filehandle.readhttps://beta.docs.nodejs.org/fs.html#filehandlereadbuffer-offset-length-position
Accepts bigint values as position.v21.0.0https://github.com/nodejs/node/pull/42835
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
filehandle.readhttps://beta.docs.nodejs.org/fs.html#filehandlereadoptions
Accepts bigint values as position.v21.0.0https://github.com/nodejs/node/pull/42835
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
filehandle.readhttps://beta.docs.nodejs.org/fs.html#filehandlereadbuffer-options
Accepts bigint values as position.v21.0.0https://github.com/nodejs/node/pull/42835
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
filehandle.readableWebStreamhttps://beta.docs.nodejs.org/fs.html#filehandlereadablewebstreamoptions
Marking the API stable.v24.0.0, v22.17.0https://github.com/nodejs/node/pull/57513
Removed option to create a 'bytes' stream. Streams are now always 'bytes' streams.v23.8.0, v22.15.0https://github.com/nodejs/node/pull/55461
Added option to create a 'bytes' stream.v20.0.0, v18.17.0https://github.com/nodejs/node/pull/46933
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
ReadableStreamhttps://beta.docs.nodejs.org/webstreams.html#class-readablestream
filehandle.readFilehttps://beta.docs.nodejs.org/fs.html#filehandlereadfileoptions
Added support for the buffer option.v26.4.0https://github.com/nodejs/node/pull/63634
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
filehandle.readLineshttps://beta.docs.nodejs.org/fs.html#filehandlereadlinesoptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
readline.InterfaceConstructorhttps://beta.docs.nodejs.org/readline.html#class-readlineinterfaceconstructor
filehandle.createReadStream()https://beta.docs.nodejs.org/fs.html#filehandlecreatereadstreamoptions
filehandle.readvhttps://beta.docs.nodejs.org/fs.html#filehandlereadvbuffers-position
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
ArrayBufferViewhttps://developer.mozilla.org/docs/Web/API/ArrayBufferView
filehandle.stathttps://beta.docs.nodejs.org/fs.html#filehandlestatoptions
Now accepts an additional signal property to allow aborting the operation.v26.1.0https://github.com/nodejs/node/pull/57775
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
filehandle.synchttps://beta.docs.nodejs.org/fs.html#filehandlesync
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsync(2)http://man7.org/linux/man-pages/man2/fsync.2.html
filehandle.truncatehttps://beta.docs.nodejs.org/fs.html#filehandletruncatelen
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
filehandle.utimeshttps://beta.docs.nodejs.org/fs.html#filehandleutimesatime-mtime
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
filehandle.writehttps://beta.docs.nodejs.org/fs.html#filehandlewritebuffer-offset-length-position
The buffer parameter won't coerce unsupported input to buffers anymore.v14.0.0https://github.com/nodejs/node/pull/31030
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
pwrite(2)http://man7.org/linux/man-pages/man2/pwrite.2.html
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
filehandle.createWriteStream()https://beta.docs.nodejs.org/fs.html#filehandlecreatewritestreamoptions
filehandle.writehttps://beta.docs.nodejs.org/fs.html#filehandlewritebuffer-options
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
filehandle.writehttps://beta.docs.nodejs.org/fs.html#filehandlewritestring-position-encoding
The string parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
pwrite(2)http://man7.org/linux/man-pages/man2/pwrite.2.html
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
filehandle.createWriteStream()https://beta.docs.nodejs.org/fs.html#filehandlecreatewritestreamoptions
filehandle.writeFilehttps://beta.docs.nodejs.org/fs.html#filehandlewritefiledata-options
The data argument supports AsyncIterable, Iterable, and Stream.v15.14.0, v14.18.0https://github.com/nodejs/node/pull/37490
The data parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Iterablehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterable_protocol
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Iterablehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterable_protocol
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
filehandle.writevhttps://beta.docs.nodejs.org/fs.html#filehandlewritevbuffers-position
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
ArrayBufferViewhttps://developer.mozilla.org/docs/Web/API/ArrayBufferView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
filehandle.writerhttps://beta.docs.nodejs.org/fs.html#filehandlewriteroptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
node:stream/iterhttps://beta.docs.nodejs.org/stream_iter.html
stream/iter pipeTo()https://beta.docs.nodejs.org/stream_iter.html#pipetosource-transforms-writer-options
filehandle[Symbol.asyncDispose]https://beta.docs.nodejs.org/fs.html#filehandlesymbolasyncdispose
No longer experimental.v24.2.0https://github.com/nodejs/node/pull/58467
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
await usinghttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/await_using
MDN documentation on using statementshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
fsPromises.accesshttps://beta.docs.nodejs.org/fs.html#fspromisesaccesspath-mode
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
File access constantshttps://beta.docs.nodejs.org/fs.html#file-access-constants
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fsPromises.appendFilehttps://beta.docs.nodejs.org/fs.html#fspromisesappendfilepath-data-options
The flush option is now supported.v21.1.0, v20.10.0https://github.com/nodejs/node/pull/50095
The data argument supports AsyncIterable, Iterable, and Stream.v15.14.0, v14.18.0https://github.com/nodejs/node/pull/37490
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Iterablehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterable_protocol
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Iterablehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterable_protocol
fs.open()https://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
fsPromises.chmodhttps://beta.docs.nodejs.org/fs.html#fspromiseschmodpath-mode
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.chownhttps://beta.docs.nodejs.org/fs.html#fspromiseschownpath-uid-gid
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.copyFilehttps://beta.docs.nodejs.org/fs.html#fspromisescopyfilesrc-dest-mode
Changed flags argument to mode and imposed stricter type validation.v14.0.0https://github.com/nodejs/node/pull/27044
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.cphttps://beta.docs.nodejs.org/fs.html#fspromisescpsrc-dest-options
This API is no longer experimental.v22.3.0https://github.com/nodejs/node/pull/53127
Accept an additional mode option to specify the copy behavior as the mode argument of fs.copyFile().v20.1.0, v18.17.0https://github.com/nodejs/node/pull/47084
Accepts an additional verbatimSymlinks option to specify whether to perform path resolution for symlinks.v17.6.0, v16.15.0https://github.com/nodejs/node/pull/41819
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fsPromises.copyFile()https://beta.docs.nodejs.org/fs.html#fspromisescopyfilesrc-dest-mode
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.globhttps://beta.docs.nodejs.org/fs.html#fspromisesglobpattern-options
Add support for the maxDepth option.v26.9.0https://github.com/nodejs/node/pull/64003
Add support for the followSymlinks option.v26.1.0https://github.com/nodejs/node/pull/62695
Add support for URL instances for cwd option.v24.1.0, v22.17.0https://github.com/nodejs/node/pull/58182
Marking the API stable.v24.0.0, v22.17.0https://github.com/nodejs/node/pull/57513
Add support for exclude option to accept glob patterns.v23.7.0, v22.14.0https://github.com/nodejs/node/pull/56489
Add support for withFileTypes as an option.v22.2.0https://github.com/nodejs/node/pull/52837
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
AsyncIteratorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncIterator
fsPromises.lchmodhttps://beta.docs.nodejs.org/fs.html#fspromiseslchmodpath-mode
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.lchownhttps://beta.docs.nodejs.org/fs.html#fspromiseslchownpath-uid-gid
This API is no longer deprecated.v10.6.0https://github.com/nodejs/node/pull/21498
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.lutimeshttps://beta.docs.nodejs.org/fs.html#fspromiseslutimespath-atime-mtime
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.utimes()https://beta.docs.nodejs.org/fs.html#fspromisesutimespath-atime-mtime
fsPromises.linkhttps://beta.docs.nodejs.org/fs.html#fspromiseslinkexistingpath-newpath
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
link(2)http://man7.org/linux/man-pages/man2/link.2.html
fsPromises.lstathttps://beta.docs.nodejs.org/fs.html#fspromiseslstatpath-options
Accepts an additional signal option to allow aborting the operation.v26.8.0https://github.com/nodejs/node/pull/63143
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fsPromises.stat()https://beta.docs.nodejs.org/fs.html#fspromisesstatpath-options
lstat(2)http://man7.org/linux/man-pages/man2/lstat.2.html
fsPromises.mkdirhttps://beta.docs.nodejs.org/fs.html#fspromisesmkdirpath-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
File modeshttps://beta.docs.nodejs.org/fs.html#file-modes
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.mkdtemphttps://beta.docs.nodejs.org/fs.html#fspromisesmkdtempprefix-options
The prefix parameter now accepts buffers and URL.v20.6.0, v18.19.0https://github.com/nodejs/node/pull/48828
The prefix parameter now accepts an empty string.v16.5.0, v14.18.0https://github.com/nodejs/node/pull/39028
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
fsPromises.mkdtempDisposablehttps://beta.docs.nodejs.org/fs.html#fspromisesmkdtempdisposableprefix-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
await usinghttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/await_using
MDN documentation on using statementshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
fsPromises.mkdtemp()https://beta.docs.nodejs.org/fs.html#fspromisesmkdtempprefix-options
fsPromises.openhttps://beta.docs.nodejs.org/fs.html#fspromisesopenpath-flags-mode
The flags argument is now optional and defaults to 'r'.v11.1.0https://github.com/nodejs/node/pull/23767
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
File modeshttps://beta.docs.nodejs.org/fs.html#file-modes
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
open(2)http://man7.org/linux/man-pages/man2/open.2.html
Naming Files, Paths, and Namespaceshttps://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file
this MSDN pagehttps://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams
fsPromises.opendirhttps://beta.docs.nodejs.org/fs.html#fspromisesopendirpath-options
Added recursive option.v20.1.0, v18.17.0https://github.com/nodejs/node/pull/41439
The bufferSize option was introduced.v13.1.0, v12.16.0https://github.com/nodejs/node/pull/30114
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
opendir(3)http://man7.org/linux/man-pages/man3/opendir.3.html
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
fsPromises.readdirhttps://beta.docs.nodejs.org/fs.html#fspromisesreaddirpath-options
Added recursive option.v20.1.0, v18.17.0https://github.com/nodejs/node/pull/41439
New option withFileTypes was added.v10.11.0https://github.com/nodejs/node/pull/22020
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fsPromises.readFilehttps://beta.docs.nodejs.org/fs.html#fspromisesreadfilepath-options
Added support for the buffer option.v26.4.0https://github.com/nodejs/node/pull/63634
The options argument may include an AbortSignal to abort an ongoing readFile request.v15.2.0, v14.17.0https://github.com/nodejs/node/pull/35911
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
fsPromises.readlinkhttps://beta.docs.nodejs.org/fs.html#fspromisesreadlinkpath-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
readlink(2)http://man7.org/linux/man-pages/man2/readlink.2.html
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fsPromises.realpathhttps://beta.docs.nodejs.org/fs.html#fspromisesrealpathpath-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fsPromises.renamehttps://beta.docs.nodejs.org/fs.html#fspromisesrenameoldpath-newpath
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.rmdirhttps://beta.docs.nodejs.org/fs.html#fspromisesrmdirpath-options
Remove recursive option.v25.0.0https://github.com/nodejs/node/pull/58616
Using fsPromises.rmdir(path, { recursive: true }) on a path that is a file is no longer permitted and results in an ENOENT error on Windows and an ENOTDIR error on POSIX.v16.0.0https://github.com/nodejs/node/pull/37216
Using fsPromises.rmdir(path, { recursive: true }) on a path that does not exist is no longer permitted and results in a ENOENT error.v16.0.0https://github.com/nodejs/node/pull/37216
The recursive option is deprecated, using it triggers a deprecation warning.v16.0.0https://github.com/nodejs/node/pull/37302
The recursive option is deprecated, use fsPromises.rm instead.v14.14.0https://github.com/nodejs/node/pull/35579
The maxBusyTries option is renamed to maxRetries, and its default is 0. The emfileWait option has been removed, and EMFILE errors use the same retry logic as other errors. The retryDelay option is now supported. ENFILE errors are now retried.v13.3.0, v12.16.0https://github.com/nodejs/node/pull/30644
The recursive, maxBusyTries, and emfileWait options are now supported.v12.10.0https://github.com/nodejs/node/pull/29168
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.rm()https://beta.docs.nodejs.org/fs.html#fspromisesrmpath-options
fsPromises.rmhttps://beta.docs.nodejs.org/fs.html#fspromisesrmpath-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.stathttps://beta.docs.nodejs.org/fs.html#fspromisesstatpath-options
Accepts an additional signal option to allow aborting the operation.v26.8.0https://github.com/nodejs/node/pull/63143
Accepts a throwIfNoEntry option to specify whether an exception should be thrown if the entry does not exist.v25.7.0https://github.com/nodejs/node/pull/61178
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fsPromises.statfshttps://beta.docs.nodejs.org/fs.html#fspromisesstatfspath-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
fsPromises.symlinkhttps://beta.docs.nodejs.org/fs.html#fspromisessymlinktarget-path-type
If the type argument is null or omitted, Node.js will autodetect target type and automatically select dir or file.v19.0.0https://github.com/nodejs/node/pull/42894
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.truncatehttps://beta.docs.nodejs.org/fs.html#fspromisestruncatepath-len
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.unlinkhttps://beta.docs.nodejs.org/fs.html#fspromisesunlinkpath
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
unlink(2)http://man7.org/linux/man-pages/man2/unlink.2.html
fsPromises.utimeshttps://beta.docs.nodejs.org/fs.html#fspromisesutimespath-atime-mtime
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fsPromises.watchhttps://beta.docs.nodejs.org/fs.html#fspromiseswatchfilename-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
caveatshttps://beta.docs.nodejs.org/fs.html#caveats
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
AsyncIteratorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncIterator
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
RegExphttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
minimatchhttps://github.com/isaacs/minimatch
AsyncIteratorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncIterator
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
caveatshttps://beta.docs.nodejs.org/fs.html#caveats
fsPromises.writeFilehttps://beta.docs.nodejs.org/fs.html#fspromiseswritefilefile-data-options
The flush option is now supported.v21.0.0, v20.10.0https://github.com/nodejs/node/pull/50009
The data argument supports AsyncIterable, Iterable, and Stream.v15.14.0, v14.18.0https://github.com/nodejs/node/pull/37490
The options argument may include an AbortSignal to abort an ongoing writeFile request.v15.2.0, v14.17.0https://github.com/nodejs/node/pull/35993
The data parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Iterablehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterable_protocol
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
AsyncIterablehttps://tc39.github.io/ecma262/#sec-asynciterable-interface
Iterablehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterable_protocol
fs.open()https://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
fs.createWriteStream()https://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
filehandle.createWriteStream()https://beta.docs.nodejs.org/fs.html#filehandlecreatewritestreamoptions
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
fsPromises.constantshttps://beta.docs.nodejs.org/fs.html#fspromisesconstants
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
FS constantshttps://beta.docs.nodejs.org/fs.html#fs-constants
Callback APIhttps://beta.docs.nodejs.org/fs.html#callback-api
fs.accesshttps://beta.docs.nodejs.org/fs.html#fsaccesspath-mode-callback
The constants fs.F_OK, fs.R_OK, fs.W_OK and fs.X_OK which were present directly on fs are removed.v25.0.0https://github.com/nodejs/node/pull/55862
The constants fs.F_OK, fs.R_OK, fs.W_OK and fs.X_OK which were present directly on fs are deprecated.v20.8.0https://github.com/nodejs/node/pull/49683
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The constants like fs.R_OK, etc which were present directly on fs were moved into fs.constants as a soft deprecation. Thus for Node.js < v6.3.0 use fs to access those constants, or do something like (fs.constants || fs).R_OK to work with all versions.v6.3.0https://github.com/nodejs/node/pull/6534
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
File access constantshttps://beta.docs.nodejs.org/fs.html#file-access-constants
fs.appendFilehttps://beta.docs.nodejs.org/fs.html#fsappendfilepath-data-options-callback
The flush option is now supported.v21.1.0, v20.10.0https://github.com/nodejs/node/pull/50095
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
The passed options object will never be modified.v7.0.0https://github.com/nodejs/node/pull/7831
The file parameter can be a file descriptor now.v5.0.0https://github.com/nodejs/node/pull/3163
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.open()https://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
fs.chmodhttps://beta.docs.nodejs.org/fs.html#fschmodpath-mode-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
chmod(2)http://man7.org/linux/man-pages/man2/chmod.2.html
File modeshttps://beta.docs.nodejs.org/fs.html#file-modes
fs.chownhttps://beta.docs.nodejs.org/fs.html#fschownpath-uid-gid-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
chown(2)http://man7.org/linux/man-pages/man2/chown.2.html
fs.closehttps://beta.docs.nodejs.org/fs.html#fsclosefd-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
A default callback is now used if one is not provided.v15.9.0, v14.17.0https://github.com/nodejs/node/pull/37174
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
close(2)http://man7.org/linux/man-pages/man2/close.2.html
fs.copyFilehttps://beta.docs.nodejs.org/fs.html#fscopyfilesrc-dest-mode-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Changed flags argument to mode and imposed stricter type validation.v14.0.0https://github.com/nodejs/node/pull/27044
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.cphttps://beta.docs.nodejs.org/fs.html#fscpsrc-dest-options-callback
This API is no longer experimental.v22.3.0https://github.com/nodejs/node/pull/53127
Accept an additional mode option to specify the copy behavior as the mode argument of fs.copyFile().v20.1.0, v18.17.0https://github.com/nodejs/node/pull/47084
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Accepts an additional verbatimSymlinks option to specify whether to perform path resolution for symlinks.v17.6.0, v16.15.0https://github.com/nodejs/node/pull/41819
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.copyFile()https://beta.docs.nodejs.org/fs.html#fscopyfilesrc-dest-mode-callback
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.createReadStreamhttps://beta.docs.nodejs.org/fs.html#fscreatereadstreampath-options
Add the windowsHandle option.v26.8.0https://github.com/nodejs/node/pull/63851
The fs option does not need open method if an fd was provided.v16.10.0https://github.com/nodejs/node/pull/40013
The fs option does not need close method if autoClose is false.v16.10.0https://github.com/nodejs/node/pull/40013
Add support for AbortSignal.v15.5.0https://github.com/nodejs/node/pull/36431
The fd option accepts FileHandle arguments.v15.4.0https://github.com/nodejs/node/pull/35922
Change emitClose default to true.v14.0.0https://github.com/nodejs/node/pull/31408
The fs options allow overriding the used fs implementation.v13.6.0, v12.17.0https://github.com/nodejs/node/pull/29083
Enable emitClose option.v12.10.0https://github.com/nodejs/node/pull/29212
Impose new restrictions on start and end, throwing more appropriate errors in cases when we cannot reasonably handle the input values.v11.0.0https://github.com/nodejs/node/pull/19898
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The passed options object will never be modified.v7.0.0https://github.com/nodejs/node/pull/7831
The passed options object can be a string now.v2.3.0https://github.com/nodejs/node/pull/1845
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
Number.MAX_SAFE_INTEGERhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
net.Sockethttps://beta.docs.nodejs.org/net.html#class-netsocket
fs.createWriteStreamhttps://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
Add the windowsHandle option.v26.8.0https://github.com/nodejs/node/pull/63851
bump default highWaterMark.v22.0.0https://github.com/nodejs/node/pull/52037
The flush option is now supported.v21.0.0, v20.10.0https://github.com/nodejs/node/pull/50093
The fs option does not need open method if an fd was provided.v16.10.0https://github.com/nodejs/node/pull/40013
The fs option does not need close method if autoClose is false.v16.10.0https://github.com/nodejs/node/pull/40013
Add support for AbortSignal.v15.5.0https://github.com/nodejs/node/pull/36431
The fd option accepts FileHandle arguments.v15.4.0https://github.com/nodejs/node/pull/35922
Change emitClose default to true.v14.0.0https://github.com/nodejs/node/pull/31408
The fs options allow overriding the used fs implementation.v13.6.0, v12.17.0https://github.com/nodejs/node/pull/29083
Enable emitClose option.v12.10.0https://github.com/nodejs/node/pull/29212
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The passed options object will never be modified.v7.0.0https://github.com/nodejs/node/pull/7831
The autoClose option is supported now.v5.5.0https://github.com/nodejs/node/pull/3679
The passed options object can be a string now.v2.3.0https://github.com/nodejs/node/pull/1845
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stream.getDefaultHighWaterMark()https://beta.docs.nodejs.org/stream.html#streamgetdefaulthighwatermarkobjectmode
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
Number.MAX_SAFE_INTEGERhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
net.Sockethttps://beta.docs.nodejs.org/net.html#class-netsocket
fs.existshttps://beta.docs.nodejs.org/fs.html#fsexistspath-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
fs.stat()https://beta.docs.nodejs.org/fs.html#fsstatpath-options-callback
fs.access()https://beta.docs.nodejs.org/fs.html#fsaccesspath-mode-callback
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.fchmodhttps://beta.docs.nodejs.org/fs.html#fsfchmodfd-mode-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fchmod(2)http://man7.org/linux/man-pages/man2/fchmod.2.html
fs.fchownhttps://beta.docs.nodejs.org/fs.html#fsfchownfd-uid-gid-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fchown(2)http://man7.org/linux/man-pages/man2/fchown.2.html
fs.fdatasynchttps://beta.docs.nodejs.org/fs.html#fsfdatasyncfd-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fdatasync(2)http://man7.org/linux/man-pages/man2/fdatasync.2.html
fs.fstathttps://beta.docs.nodejs.org/fs.html#fsfstatfd-options-callback
Accepts an additional signal option to allow aborting the operation.v26.8.0https://github.com/nodejs/node/pull/63143
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fstat(2)http://man7.org/linux/man-pages/man2/fstat.2.html
fs.fsynchttps://beta.docs.nodejs.org/fs.html#fsfsyncfd-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fsync(2)http://man7.org/linux/man-pages/man2/fsync.2.html
fs.ftruncatehttps://beta.docs.nodejs.org/fs.html#fsftruncatefd-len-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
ftruncate(2)http://man7.org/linux/man-pages/man2/ftruncate.2.html
fs.futimeshttps://beta.docs.nodejs.org/fs.html#fsfutimesfd-atime-mtime-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
Numeric strings, NaN, and Infinity are now allowed time specifiers.v4.1.0https://github.com/nodejs/node/pull/2387
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.utimes()https://beta.docs.nodejs.org/fs.html#fsutimespath-atime-mtime-callback
fs.globhttps://beta.docs.nodejs.org/fs.html#fsglobpattern-options-callback
Add support for the maxDepth option.v26.9.0https://github.com/nodejs/node/pull/64003
Add support for the followSymlinks option.v26.1.0https://github.com/nodejs/node/pull/62695
Add support for URL instances for cwd option.v24.1.0, v22.17.0https://github.com/nodejs/node/pull/58182
Marking the API stable.v24.0.0, v22.17.0https://github.com/nodejs/node/pull/57513
Add support for exclude option to accept glob patterns.v23.7.0, v22.14.0https://github.com/nodejs/node/pull/56489
Add support for withFileTypes as an option.v22.2.0https://github.com/nodejs/node/pull/52837
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.lchmodhttps://beta.docs.nodejs.org/fs.html#fslchmodpath-mode-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The error returned may be an AggregateError if more than one error is returned.v16.0.0https://github.com/nodejs/node/pull/37460
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
AggregateErrorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AggregateError
lchmod(2)http://man7.org/linux/man-pages/man2/lchmod.2.html
fs.lchownhttps://beta.docs.nodejs.org/fs.html#fslchownpath-uid-gid-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
This API is no longer deprecated.v10.6.0https://github.com/nodejs/node/pull/21498
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
lchown(2)http://man7.org/linux/man-pages/man2/lchown.2.html
fs.lutimeshttps://beta.docs.nodejs.org/fs.html#fslutimespath-atime-mtime-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.utimes()https://beta.docs.nodejs.org/fs.html#fsutimespath-atime-mtime-callback
fs.linkhttps://beta.docs.nodejs.org/fs.html#fslinkexistingpath-newpath-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The existingPath and newPath parameters can be WHATWG URL objects using file: protocol. Support is currently still experimental.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
link(2)http://man7.org/linux/man-pages/man2/link.2.html
fs.lstathttps://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
Accepts an additional signal option to allow aborting the operation.v26.8.0https://github.com/nodejs/node/pull/63143
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
lstat(2)http://man7.org/linux/man-pages/man2/lstat.2.html
fs.mkdirhttps://beta.docs.nodejs.org/fs.html#fsmkdirpath-options-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
In recursive mode, the callback now receives the first created path as an argument.v13.11.0, v12.17.0https://github.com/nodejs/node/pull/31530
The second argument can now be an options object with recursive and mode properties.v10.12.0https://github.com/nodejs/node/pull/21875
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
File modeshttps://beta.docs.nodejs.org/fs.html#file-modes
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
mkdir(2)http://man7.org/linux/man-pages/man2/mkdir.2.html
fs.mkdtemphttps://beta.docs.nodejs.org/fs.html#fsmkdtempprefix-options-callback
The prefix parameter now accepts buffers and URL.v20.6.0, v18.19.0https://github.com/nodejs/node/pull/48828
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The prefix parameter now accepts an empty string.v16.5.0, v14.18.0https://github.com/nodejs/node/pull/39028
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
The callback parameter is optional now.v6.2.1https://github.com/nodejs/node/pull/6828
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
fs.openhttps://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The flags argument is now optional and defaults to 'r'.v11.1.0https://github.com/nodejs/node/pull/23767
The as and as+ flags are supported now.v9.9.0https://github.com/nodejs/node/pull/18801
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
open(2)http://man7.org/linux/man-pages/man2/open.2.html
fs.chmod()https://beta.docs.nodejs.org/fs.html#fschmodpath-mode-callback
Naming Files, Paths, and Namespaceshttps://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file
this MSDN pagehttps://docs.microsoft.com/en-us/windows/desktop/FileIO/using-streams
fs.openAsBlobhttps://beta.docs.nodejs.org/fs.html#fsopenasblobpath-options
Marking the API stable.v24.0.0, v22.17.0https://github.com/nodejs/node/pull/57513
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
Blobhttps://beta.docs.nodejs.org/buffer.html#class-blob
Blobhttps://beta.docs.nodejs.org/buffer.html#class-blob
Blobhttps://beta.docs.nodejs.org/buffer.html#class-blob
Blobhttps://beta.docs.nodejs.org/buffer.html#class-blob
fs.opendirhttps://beta.docs.nodejs.org/fs.html#fsopendirpath-options-callback
Added recursive option.v20.1.0, v18.17.0https://github.com/nodejs/node/pull/41439
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The bufferSize option was introduced.v13.1.0, v12.16.0https://github.com/nodejs/node/pull/30114
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
opendir(3)http://man7.org/linux/man-pages/man3/opendir.3.html
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
fs.readhttps://beta.docs.nodejs.org/fs.html#fsreadfd-buffer-offset-length-position-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The buffer parameter can now be any TypedArray, or a DataView.v10.10.0https://github.com/nodejs/node/pull/22150
The buffer parameter can now be a Uint8Array.v7.4.0https://github.com/nodejs/node/pull/10382
The length parameter can now be 0.v6.0.0https://github.com/nodejs/node/pull/4518
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
util.promisify()https://beta.docs.nodejs.org/util.html#utilpromisifyoriginal
fs.readhttps://beta.docs.nodejs.org/fs.html#fsreadfd-options-callback
Options object can be passed in to make buffer, offset, length, and position optional.v13.11.0, v12.17.0https://github.com/nodejs/node/pull/31402
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.read()https://beta.docs.nodejs.org/fs.html#fsreadfd-buffer-offset-length-position-callback
fs.readhttps://beta.docs.nodejs.org/fs.html#fsreadfd-buffer-options-callback
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.read()https://beta.docs.nodejs.org/fs.html#fsreadfd-buffer-offset-length-position-callback
fs.readdirhttps://beta.docs.nodejs.org/fs.html#fsreaddirpath-options-callback
Added recursive option.v20.1.0, v18.17.0https://github.com/nodejs/node/pull/41439
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
New option withFileTypes was added.v10.10.0https://github.com/nodejs/node/pull/22020
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
The options parameter was added.v6.0.0https://github.com/nodejs/node/pull/5616
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
readdir(3)http://man7.org/linux/man-pages/man3/readdir.3.html
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.readFilehttps://beta.docs.nodejs.org/fs.html#fsreadfilepath-options-callback
Added support for the buffer option.v26.4.0https://github.com/nodejs/node/pull/63634
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The error returned may be an AggregateError if more than one error is returned.v16.0.0https://github.com/nodejs/node/pull/37460
The options argument may include an AbortSignal to abort an ongoing readFile request.v15.2.0, v14.17.0https://github.com/nodejs/node/pull/35911
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
The callback will always be called with null as the error parameter in case of success.v5.1.0https://github.com/nodejs/node/pull/3740
The path parameter can be a file descriptor now.v5.0.0https://github.com/nodejs/node/pull/3163
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
AggregateErrorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AggregateError
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.readFileSync()https://beta.docs.nodejs.org/fs.html#fsreadfilesyncpath-options
File descriptorshttps://beta.docs.nodejs.org/fs.html#file-descriptors
Performance Considerationshttps://beta.docs.nodejs.org/fs.html#performance-considerations
#25741https://github.com/nodejs/node/issues/25741
fs.readlinkhttps://beta.docs.nodejs.org/fs.html#fsreadlinkpath-options-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
readlink(2)http://man7.org/linux/man-pages/man2/readlink.2.html
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.readvhttps://beta.docs.nodejs.org/fs.html#fsreadvfd-buffers-position-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferViewhttps://developer.mozilla.org/docs/Web/API/ArrayBufferView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferViewhttps://developer.mozilla.org/docs/Web/API/ArrayBufferView
util.promisify()https://beta.docs.nodejs.org/util.html#utilpromisifyoriginal
fs.realpathhttps://beta.docs.nodejs.org/fs.html#fsrealpathpath-options-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
Pipe/Socket resolve support was added.v8.0.0https://github.com/nodejs/node/pull/13028
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
Calling realpath now works again for various edge cases on Windows.v6.4.0https://github.com/nodejs/node/pull/7899
The cache parameter was removed.v6.0.0https://github.com/nodejs/node/pull/3594
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
realpath(3)http://man7.org/linux/man-pages/man3/realpath.3.html
realpath(3)http://man7.org/linux/man-pages/man3/realpath.3.html
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.realpath.nativehttps://beta.docs.nodejs.org/fs.html#fsrealpathnativepath-options-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
realpath(3)http://man7.org/linux/man-pages/man3/realpath.3.html
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.renamehttps://beta.docs.nodejs.org/fs.html#fsrenameoldpath-newpath-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The oldPath and newPath parameters can be WHATWG URL objects using file: protocol. Support is currently still experimental.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
rename(2)http://man7.org/linux/man-pages/man2/rename.2.html
fs.rmdirhttps://beta.docs.nodejs.org/fs.html#fsrmdirpath-options-callback
Remove recursive option.v25.0.0https://github.com/nodejs/node/pull/58616
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Using fs.rmdir(path, { recursive: true }) on a path that is a file is no longer permitted and results in an ENOENT error on Windows and an ENOTDIR error on POSIX.v16.0.0https://github.com/nodejs/node/pull/37216
Using fs.rmdir(path, { recursive: true }) on a path that does not exist is no longer permitted and results in a ENOENT error.v16.0.0https://github.com/nodejs/node/pull/37216
The recursive option is deprecated, using it triggers a deprecation warning.v16.0.0https://github.com/nodejs/node/pull/37302
The recursive option is deprecated, use fs.rm instead.v14.14.0https://github.com/nodejs/node/pull/35579
The maxBusyTries option is renamed to maxRetries, and its default is 0. The emfileWait option has been removed, and EMFILE errors use the same retry logic as other errors. The retryDelay option is now supported. ENFILE errors are now retried.v13.3.0, v12.16.0https://github.com/nodejs/node/pull/30644
The recursive, maxBusyTries, and emfileWait options are now supported.v12.10.0https://github.com/nodejs/node/pull/29168
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameters can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
rmdir(2)http://man7.org/linux/man-pages/man2/rmdir.2.html
fs.rm()https://beta.docs.nodejs.org/fs.html#fsrmpath-options-callback
fs.rmhttps://beta.docs.nodejs.org/fs.html#fsrmpath-options-callback
The path parameter can be a WHATWG URL object using file: protocol.v17.3.0, v16.14.0https://github.com/nodejs/node/pull/41132
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.stathttps://beta.docs.nodejs.org/fs.html#fsstatpath-options-callback
Accepts a throwIfNoEntry option to specify whether an exception should be thrown if the entry does not exist.v25.7.0https://github.com/nodejs/node/pull/61178
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
stat(2)http://man7.org/linux/man-pages/man2/stat.2.html
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
Common System Errorshttps://beta.docs.nodejs.org/errors.html#common-system-errors
fs.stat()https://beta.docs.nodejs.org/fs.html#fsstatpath-options-callback
fs.lstat()https://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
fs.access()https://beta.docs.nodejs.org/fs.html#fsaccesspath-mode-callback
fs.statfshttps://beta.docs.nodejs.org/fs.html#fsstatfspath-options-callback
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
statfs(2)http://man7.org/linux/man-pages/man2/statfs.2.html
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
Common System Errorshttps://beta.docs.nodejs.org/errors.html#common-system-errors
fs.symlinkhttps://beta.docs.nodejs.org/fs.html#fssymlinktarget-path-type-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
If the type argument is left undefined, Node will autodetect target type and automatically select dir or file.v12.0.0https://github.com/nodejs/node/pull/23724
The target and path parameters can be WHATWG URL objects using file: protocol. Support is currently still experimental.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
symlink(2)http://man7.org/linux/man-pages/man2/symlink.2.html
fs.truncatehttps://beta.docs.nodejs.org/fs.html#fstruncatepath-len-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The error returned may be an AggregateError if more than one error is returned.v16.0.0https://github.com/nodejs/node/pull/37460
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
AggregateErrorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AggregateError
truncate(2)http://man7.org/linux/man-pages/man2/truncate.2.html
fs.unlinkhttps://beta.docs.nodejs.org/fs.html#fsunlinkpath-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.rmdir()https://beta.docs.nodejs.org/fs.html#fsrmdirpath-options-callback
unlink(2)http://man7.org/linux/man-pages/man2/unlink.2.html
fs.unwatchFilehttps://beta.docs.nodejs.org/fs.html#fsunwatchfilefilename-listener
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
fs.watch()https://beta.docs.nodejs.org/fs.html#fswatchfilename-options-listener
fs.utimeshttps://beta.docs.nodejs.org/fs.html#fsutimespath-atime-mtime-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
NaN, Infinity, and -Infinity are no longer valid time specifiers.v8.0.0https://github.com/nodejs/node/pull/11919
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
Numeric strings, NaN, and Infinity are now allowed time specifiers.v4.1.0https://github.com/nodejs/node/pull/2387
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.watchhttps://beta.docs.nodejs.org/fs.html#fswatchfilename-options-listener
Added throwIfNoEntry option.v26.1.0https://github.com/nodejs/node/pull/61870
Added recursive support for Linux, AIX and IBMi.v19.1.0https://github.com/nodejs/node/pull/45098
Added support for closing the watcher with an AbortSignal.v15.9.0, v14.17.0https://github.com/nodejs/node/pull/37190
The filename parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The passed options object will never be modified.v7.0.0https://github.com/nodejs/node/pull/7831
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
caveatshttps://beta.docs.nodejs.org/fs.html#caveats
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
RegExphttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
minimatchhttps://github.com/isaacs/minimatch
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
Caveatshttps://beta.docs.nodejs.org/fs.html#caveats
Availabilityhttps://beta.docs.nodejs.org/fs.html#availability
inotify(7)https://man7.org/linux/man-pages/man7/inotify.7.html
kqueue(2)https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
kqueue(2)https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
FSEventshttps://developer.apple.com/documentation/coreservices/file_system_events
event portshttps://illumos.org/man/port_create
ReadDirectoryChangesWhttps://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-readdirectorychangesw
AHAFShttps://www.ibm.com/docs/en/aix/7.3.0?topic=management-aix-event-infrastructure-aix-aix-clusters-ahafs
Inodeshttps://beta.docs.nodejs.org/fs.html#inodes
inodehttps://en.wikipedia.org/wiki/Inode
Filename argumenthttps://beta.docs.nodejs.org/fs.html#filename-argument
fs.watchFilehttps://beta.docs.nodejs.org/fs.html#fswatchfilefilename-options-listener
The bigint option is now supported.v10.5.0https://github.com/nodejs/node/pull/20220
The filename parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.watch()https://beta.docs.nodejs.org/fs.html#fswatchfilename-options-listener
fs.writehttps://beta.docs.nodejs.org/fs.html#fswritefd-buffer-offset-length-position-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
The buffer parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
The buffer parameter can now be any TypedArray or a DataView.v10.10.0https://github.com/nodejs/node/pull/22150
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The buffer parameter can now be a Uint8Array.v7.4.0https://github.com/nodejs/node/pull/10382
The offset and length parameters are optional now.v7.2.0https://github.com/nodejs/node/pull/7856
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
pwrite(2)http://man7.org/linux/man-pages/man2/pwrite.2.html
util.promisify()https://beta.docs.nodejs.org/util.html#utilpromisifyoriginal
fs.createWriteStream()https://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
fs.writehttps://beta.docs.nodejs.org/fs.html#fswritefd-buffer-options-callback
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
fs.writehttps://beta.docs.nodejs.org/fs.html#fswritefd-string-position-encoding-callback
Passing to the string parameter an object with an own toString function is no longer supported.v19.0.0https://github.com/nodejs/node/pull/42796
Passing to the string parameter an object with an own toString function is deprecated.v17.8.0https://github.com/nodejs/node/pull/42149
The string parameter will stringify an object with an explicit toString function.v14.12.0https://github.com/nodejs/node/pull/34993
The string parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The position parameter is optional now.v7.2.0https://github.com/nodejs/node/pull/7856
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
pwrite(2)http://man7.org/linux/man-pages/man2/pwrite.2.html
Buffer.byteLengthhttps://beta.docs.nodejs.org/buffer.html#static-method-bufferbytelengthstring-encoding
fs.createWriteStream()https://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
chcphttps://ss64.com/nt/chcp.html
fs.writeFilehttps://beta.docs.nodejs.org/fs.html#fswritefilefile-data-options-callback
The flush option is now supported.v21.0.0, v20.10.0https://github.com/nodejs/node/pull/50009
Passing to the string parameter an object with an own toString function is no longer supported.v19.0.0https://github.com/nodejs/node/pull/42796
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Passing to the string parameter an object with an own toString function is deprecated.v17.8.0https://github.com/nodejs/node/pull/42149
The error returned may be an AggregateError if more than one error is returned.v16.0.0https://github.com/nodejs/node/pull/37460
The options argument may include an AbortSignal to abort an ongoing writeFile request.v15.2.0, v14.17.0https://github.com/nodejs/node/pull/35993
The data parameter will stringify an object with an explicit toString function.v14.12.0https://github.com/nodejs/node/pull/34993
The data parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
The data parameter can now be any TypedArray or a DataView.v10.10.0https://github.com/nodejs/node/pull/22150
The callback parameter is no longer optional. Not passing it will throw a TypeError at runtime.v10.0.0https://github.com/nodejs/node/pull/12562
The data parameter can now be a Uint8Array.v7.4.0https://github.com/nodejs/node/pull/10382
The callback parameter is no longer optional. Not passing it will emit a deprecation warning with id DEP0013.v7.0.0https://github.com/nodejs/node/pull/7897
The file parameter can be a file descriptor now.v5.0.0https://github.com/nodejs/node/pull/3163
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
AggregateErrorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AggregateError
fs.open()https://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
fs.createWriteStream()https://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
fs.createWriteStream()https://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
Using fs.writeFile() with file descriptorshttps://beta.docs.nodejs.org/fs.html#using-fswritefile-with-file-descriptors
fs.writevhttps://beta.docs.nodejs.org/fs.html#fswritevfd-buffers-position-callback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferViewhttps://developer.mozilla.org/docs/Web/API/ArrayBufferView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferViewhttps://developer.mozilla.org/docs/Web/API/ArrayBufferView
util.promisify()https://beta.docs.nodejs.org/util.html#utilpromisifyoriginal
fs.createWriteStream()https://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
Synchronous APIhttps://beta.docs.nodejs.org/fs.html#synchronous-api
fs.accessSynchttps://beta.docs.nodejs.org/fs.html#fsaccesssyncpath-mode
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
File access constantshttps://beta.docs.nodejs.org/fs.html#file-access-constants
fs.appendFileSynchttps://beta.docs.nodejs.org/fs.html#fsappendfilesyncpath-data-options
The flush option is now supported.v21.1.0, v20.10.0https://github.com/nodejs/node/pull/50095
The passed options object will never be modified.v7.0.0https://github.com/nodejs/node/pull/7831
The file parameter can be a file descriptor now.v5.0.0https://github.com/nodejs/node/pull/3163
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.open()https://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
fs.chmodSynchttps://beta.docs.nodejs.org/fs.html#fschmodsyncpath-mode
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.chmod()https://beta.docs.nodejs.org/fs.html#fschmodpath-mode-callback
chmod(2)http://man7.org/linux/man-pages/man2/chmod.2.html
fs.chownSynchttps://beta.docs.nodejs.org/fs.html#fschownsyncpath-uid-gid
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.chown()https://beta.docs.nodejs.org/fs.html#fschownpath-uid-gid-callback
chown(2)http://man7.org/linux/man-pages/man2/chown.2.html
fs.closeSynchttps://beta.docs.nodejs.org/fs.html#fsclosesyncfd
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
close(2)http://man7.org/linux/man-pages/man2/close.2.html
fs.copyFileSynchttps://beta.docs.nodejs.org/fs.html#fscopyfilesyncsrc-dest-mode
Changed flags argument to mode and imposed stricter type validation.v14.0.0https://github.com/nodejs/node/pull/27044
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.cpSynchttps://beta.docs.nodejs.org/fs.html#fscpsyncsrc-dest-options
This API is no longer experimental.v22.3.0https://github.com/nodejs/node/pull/53127
Accept an additional mode option to specify the copy behavior as the mode argument of fs.copyFile().v20.1.0, v18.17.0https://github.com/nodejs/node/pull/47084
Accepts an additional verbatimSymlinks option to specify whether to perform path resolution for symlinks.v17.6.0, v16.15.0https://github.com/nodejs/node/pull/41819
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.copyFileSync()https://beta.docs.nodejs.org/fs.html#fscopyfilesyncsrc-dest-mode
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.existsSynchttps://beta.docs.nodejs.org/fs.html#fsexistssyncpath
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.exists()https://beta.docs.nodejs.org/fs.html#fsexistspath-callback
fs.fchmodSynchttps://beta.docs.nodejs.org/fs.html#fsfchmodsyncfd-mode
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fchmod(2)http://man7.org/linux/man-pages/man2/fchmod.2.html
fs.fchownSynchttps://beta.docs.nodejs.org/fs.html#fsfchownsyncfd-uid-gid
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fchown(2)http://man7.org/linux/man-pages/man2/fchown.2.html
fs.fdatasyncSynchttps://beta.docs.nodejs.org/fs.html#fsfdatasyncsyncfd
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fdatasync(2)http://man7.org/linux/man-pages/man2/fdatasync.2.html
fs.fstatSynchttps://beta.docs.nodejs.org/fs.html#fsfstatsyncfd-options
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fstat(2)http://man7.org/linux/man-pages/man2/fstat.2.html
fs.fsyncSynchttps://beta.docs.nodejs.org/fs.html#fsfsyncsyncfd
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fsync(2)http://man7.org/linux/man-pages/man2/fsync.2.html
fs.ftruncateSynchttps://beta.docs.nodejs.org/fs.html#fsftruncatesyncfd-len
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.ftruncate()https://beta.docs.nodejs.org/fs.html#fsftruncatefd-len-callback
fs.futimesSynchttps://beta.docs.nodejs.org/fs.html#fsfutimessyncfd-atime-mtime
Numeric strings, NaN, and Infinity are now allowed time specifiers.v4.1.0https://github.com/nodejs/node/pull/2387
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
fs.futimes()https://beta.docs.nodejs.org/fs.html#fsfutimesfd-atime-mtime-callback
fs.globSynchttps://beta.docs.nodejs.org/fs.html#fsglobsyncpattern-options
Add support for the maxDepth option.v26.9.0https://github.com/nodejs/node/pull/64003
Add support for the followSymlinks option.v26.1.0https://github.com/nodejs/node/pull/62695
Add support for URL instances for cwd option.v24.1.0, v22.17.0https://github.com/nodejs/node/pull/58182
Marking the API stable.v24.0.0, v22.17.0https://github.com/nodejs/node/pull/57513
Add support for exclude option to accept glob patterns.v23.7.0, v22.14.0https://github.com/nodejs/node/pull/56489
Add support for withFileTypes as an option.v22.2.0https://github.com/nodejs/node/pull/52837
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
fs.lchmodSynchttps://beta.docs.nodejs.org/fs.html#fslchmodsyncpath-mode
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
lchmod(2)http://man7.org/linux/man-pages/man2/lchmod.2.html
fs.lchownSynchttps://beta.docs.nodejs.org/fs.html#fslchownsyncpath-uid-gid
This API is no longer deprecated.v10.6.0https://github.com/nodejs/node/pull/21498
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
lchown(2)http://man7.org/linux/man-pages/man2/lchown.2.html
fs.lutimesSynchttps://beta.docs.nodejs.org/fs.html#fslutimessyncpath-atime-mtime
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
fs.lutimes()https://beta.docs.nodejs.org/fs.html#fslutimespath-atime-mtime-callback
fs.linkSynchttps://beta.docs.nodejs.org/fs.html#fslinksyncexistingpath-newpath
The existingPath and newPath parameters can be WHATWG URL objects using file: protocol. Support is currently still experimental.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
link(2)http://man7.org/linux/man-pages/man2/link.2.html
fs.lstatSynchttps://beta.docs.nodejs.org/fs.html#fslstatsyncpath-options
Accepts a throwIfNoEntry option to specify whether an exception should be thrown if the entry does not exist.v15.3.0, v14.17.0https://github.com/nodejs/node/pull/33716
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
lstat(2)http://man7.org/linux/man-pages/man2/lstat.2.html
fs.mkdirSynchttps://beta.docs.nodejs.org/fs.html#fsmkdirsyncpath-options
In recursive mode, the first created path is returned now.v13.11.0, v12.17.0https://github.com/nodejs/node/pull/31530
The second argument can now be an options object with recursive and mode properties.v10.12.0https://github.com/nodejs/node/pull/21875
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
fs.mkdir()https://beta.docs.nodejs.org/fs.html#fsmkdirpath-options-callback
mkdir(2)http://man7.org/linux/man-pages/man2/mkdir.2.html
fs.mkdtempSynchttps://beta.docs.nodejs.org/fs.html#fsmkdtempsyncprefix-options
The prefix parameter now accepts buffers and URL.v20.6.0, v18.19.0https://github.com/nodejs/node/pull/48828
The prefix parameter now accepts an empty string.v16.5.0, v14.18.0https://github.com/nodejs/node/pull/39028
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
fs.mkdtemp()https://beta.docs.nodejs.org/fs.html#fsmkdtempprefix-options-callback
fs.mkdtempDisposableSynchttps://beta.docs.nodejs.org/fs.html#fsmkdtempdisposablesyncprefix-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
MDN documentation on using statementshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
fs.mkdtemp()https://beta.docs.nodejs.org/fs.html#fsmkdtempprefix-options-callback
usinghttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
fs.openAsBlobSynchttps://beta.docs.nodejs.org/fs.html#fsopenasblobsyncpath-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Blobhttps://beta.docs.nodejs.org/buffer.html#class-blob
fs.openAsBlob()https://beta.docs.nodejs.org/fs.html#fsopenasblobpath-options
fs.opendirSynchttps://beta.docs.nodejs.org/fs.html#fsopendirsyncpath-options
Added recursive option.v20.1.0, v18.17.0https://github.com/nodejs/node/pull/41439
The bufferSize option was introduced.v13.1.0, v12.16.0https://github.com/nodejs/node/pull/30114
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
opendir(3)http://man7.org/linux/man-pages/man3/opendir.3.html
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
fs.openSynchttps://beta.docs.nodejs.org/fs.html#fsopensyncpath-flags-mode
The flags argument is now optional and defaults to 'r'.v11.1.0https://github.com/nodejs/node/pull/23767
The as and as+ flags are supported now.v9.9.0https://github.com/nodejs/node/pull/18801
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.open()https://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
fs.readdirSynchttps://beta.docs.nodejs.org/fs.html#fsreaddirsyncpath-options
Added recursive option.v20.1.0, v18.17.0https://github.com/nodejs/node/pull/41439
New option withFileTypes was added.v10.10.0https://github.com/nodejs/node/pull/22020
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
readdir(3)http://man7.org/linux/man-pages/man3/readdir.3.html
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.readFileSynchttps://beta.docs.nodejs.org/fs.html#fsreadfilesyncpath-options
Added support for the buffer option.v26.4.0https://github.com/nodejs/node/pull/63634
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
The path parameter can be a file descriptor now.v5.0.0https://github.com/nodejs/node/pull/3163
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.readFile()https://beta.docs.nodejs.org/fs.html#fsreadfilepath-options-callback
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.readFile()https://beta.docs.nodejs.org/fs.html#fsreadfilepath-options-callback
fs.readlinkSynchttps://beta.docs.nodejs.org/fs.html#fsreadlinksyncpath-options
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
readlink(2)http://man7.org/linux/man-pages/man2/readlink.2.html
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.readSynchttps://beta.docs.nodejs.org/fs.html#fsreadsyncfd-buffer-offset-length-position
The buffer parameter can now be any TypedArray or a DataView.v10.10.0https://github.com/nodejs/node/pull/22150
The length parameter can now be 0.v6.0.0https://github.com/nodejs/node/pull/4518
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.read()https://beta.docs.nodejs.org/fs.html#fsreadfd-buffer-offset-length-position-callback
fs.readSynchttps://beta.docs.nodejs.org/fs.html#fsreadsyncfd-buffer-options
Options object can be passed in to make offset, length, and position optional.v13.13.0, v12.17.0https://github.com/nodejs/node/pull/32460
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.read()https://beta.docs.nodejs.org/fs.html#fsreadfd-buffer-offset-length-position-callback
fs.readvSynchttps://beta.docs.nodejs.org/fs.html#fsreadvsyncfd-buffers-position
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferViewhttps://developer.mozilla.org/docs/Web/API/ArrayBufferView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.readv()https://beta.docs.nodejs.org/fs.html#fsreadvfd-buffers-position-callback
fs.realpathSynchttps://beta.docs.nodejs.org/fs.html#fsrealpathsyncpath-options
Pipe/Socket resolve support was added.v8.0.0https://github.com/nodejs/node/pull/13028
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
Calling realpathSync now works again for various edge cases on Windows.v6.4.0https://github.com/nodejs/node/pull/7899
The cache parameter was removed.v6.0.0https://github.com/nodejs/node/pull/3594
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.realpath()https://beta.docs.nodejs.org/fs.html#fsrealpathpath-options-callback
fs.realpathSync.nativehttps://beta.docs.nodejs.org/fs.html#fsrealpathsyncnativepath-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
realpath(3)http://man7.org/linux/man-pages/man3/realpath.3.html
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.renameSynchttps://beta.docs.nodejs.org/fs.html#fsrenamesyncoldpath-newpath
The oldPath and newPath parameters can be WHATWG URL objects using file: protocol. Support is currently still experimental.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
rename(2)http://man7.org/linux/man-pages/man2/rename.2.html
fs.rmdirSynchttps://beta.docs.nodejs.org/fs.html#fsrmdirsyncpath-options
Remove recursive option.v25.0.0https://github.com/nodejs/node/pull/58616
Using fs.rmdirSync(path, { recursive: true }) on a path that is a file is no longer permitted and results in an ENOENT error on Windows and an ENOTDIR error on POSIX.v16.0.0https://github.com/nodejs/node/pull/37216
Using fs.rmdirSync(path, { recursive: true }) on a path that does not exist is no longer permitted and results in a ENOENT error.v16.0.0https://github.com/nodejs/node/pull/37216
The recursive option is deprecated, using it triggers a deprecation warning.v16.0.0https://github.com/nodejs/node/pull/37302
The recursive option is deprecated, use fs.rmSync instead.v14.14.0https://github.com/nodejs/node/pull/35579
The maxBusyTries option is renamed to maxRetries, and its default is 0. The emfileWait option has been removed, and EMFILE errors use the same retry logic as other errors. The retryDelay option is now supported. ENFILE errors are now retried.v13.3.0, v12.16.0https://github.com/nodejs/node/pull/30644
The recursive, maxBusyTries, and emfileWait options are now supported.v12.10.0https://github.com/nodejs/node/pull/29168
The path parameters can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
rmdir(2)http://man7.org/linux/man-pages/man2/rmdir.2.html
fs.rmSync()https://beta.docs.nodejs.org/fs.html#fsrmsyncpath-options
fs.rmSynchttps://beta.docs.nodejs.org/fs.html#fsrmsyncpath-options
The path parameter can be a WHATWG URL object using file: protocol.v17.3.0, v16.14.0https://github.com/nodejs/node/pull/41132
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.statSynchttps://beta.docs.nodejs.org/fs.html#fsstatsyncpath-options
Accepts a throwIfNoEntry option to specify whether an exception should be thrown if the entry does not exist.v15.3.0, v14.17.0https://github.com/nodejs/node/pull/33716
Accepts an additional options object to specify whether the numeric values returned should be bigint.v10.5.0https://github.com/nodejs/node/pull/20220
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.statfsSynchttps://beta.docs.nodejs.org/fs.html#fsstatfssyncpath-options
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
statfs(2)http://man7.org/linux/man-pages/man2/statfs.2.html
Common System Errorshttps://beta.docs.nodejs.org/errors.html#common-system-errors
fs.symlinkSynchttps://beta.docs.nodejs.org/fs.html#fssymlinksynctarget-path-type
If the type argument is left undefined, Node will autodetect target type and automatically select dir or file.v12.0.0https://github.com/nodejs/node/pull/23724
The target and path parameters can be WHATWG URL objects using file: protocol. Support is currently still experimental.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
fs.symlink()https://beta.docs.nodejs.org/fs.html#fssymlinktarget-path-type-callback
fs.truncateSynchttps://beta.docs.nodejs.org/fs.html#fstruncatesyncpath-len
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.unlinkSynchttps://beta.docs.nodejs.org/fs.html#fsunlinksyncpath
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
unlink(2)http://man7.org/linux/man-pages/man2/unlink.2.html
fs.utimesSynchttps://beta.docs.nodejs.org/fs.html#fsutimessyncpath-atime-mtime
NaN, Infinity, and -Infinity are no longer valid time specifiers.v8.0.0https://github.com/nodejs/node/pull/11919
The path parameter can be a WHATWG URL object using file: protocol.v7.6.0https://github.com/nodejs/node/pull/10739
Numeric strings, NaN, and Infinity are now allowed time specifiers.v4.1.0https://github.com/nodejs/node/pull/2387
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
fs.utimes()https://beta.docs.nodejs.org/fs.html#fsutimespath-atime-mtime-callback
fs.writeFileSynchttps://beta.docs.nodejs.org/fs.html#fswritefilesyncfile-data-options
The flush option is now supported.v21.0.0, v20.10.0https://github.com/nodejs/node/pull/50009
Passing to the data parameter an object with an own toString function is no longer supported.v19.0.0https://github.com/nodejs/node/pull/42796
Passing to the data parameter an object with an own toString function is deprecated.v17.8.0https://github.com/nodejs/node/pull/42149
The data parameter will stringify an object with an explicit toString function.v14.12.0https://github.com/nodejs/node/pull/34993
The data parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
The data parameter can now be any TypedArray or a DataView.v10.10.0https://github.com/nodejs/node/pull/22150
The data parameter can now be a Uint8Array.v7.4.0https://github.com/nodejs/node/pull/10382
The file parameter can be a file descriptor now.v5.0.0https://github.com/nodejs/node/pull/3163
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
support of file system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.open()https://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
fs.writeFile()https://beta.docs.nodejs.org/fs.html#fswritefilefile-data-options-callback
fs.writeSynchttps://beta.docs.nodejs.org/fs.html#fswritesyncfd-buffer-offset-length-position
The buffer parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
The buffer parameter can now be any TypedArray or a DataView.v10.10.0https://github.com/nodejs/node/pull/22150
The buffer parameter can now be a Uint8Array.v7.4.0https://github.com/nodejs/node/pull/10382
The offset and length parameters are optional now.v7.2.0https://github.com/nodejs/node/pull/7856
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.write(fd, buffer...)https://beta.docs.nodejs.org/fs.html#fswritefd-buffer-offset-length-position-callback
fs.writeSynchttps://beta.docs.nodejs.org/fs.html#fswritesyncfd-buffer-options
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.write(fd, buffer...)https://beta.docs.nodejs.org/fs.html#fswritefd-buffer-offset-length-position-callback
fs.writeSynchttps://beta.docs.nodejs.org/fs.html#fswritesyncfd-string-position-encoding
The string parameter won't coerce unsupported input to strings anymore.v14.0.0https://github.com/nodejs/node/pull/31030
The position parameter is optional now.v7.2.0https://github.com/nodejs/node/pull/7856
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.write(fd, string...)https://beta.docs.nodejs.org/fs.html#fswritefd-string-position-encoding-callback
fs.writevSynchttps://beta.docs.nodejs.org/fs.html#fswritevsyncfd-buffers-position
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ArrayBufferViewhttps://developer.mozilla.org/docs/Web/API/ArrayBufferView
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.writev()https://beta.docs.nodejs.org/fs.html#fswritevfd-buffers-position-callback
Common Objectshttps://beta.docs.nodejs.org/fs.html#common-objects
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
fs.opendir()https://beta.docs.nodejs.org/fs.html#fsopendirpath-options-callback
fs.opendirSync()https://beta.docs.nodejs.org/fs.html#fsopendirsyncpath-options
fsPromises.opendir()https://beta.docs.nodejs.org/fs.html#fspromisesopendirpath-options
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
dir.closehttps://beta.docs.nodejs.org/fs.html#dirclose
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
dir.closehttps://beta.docs.nodejs.org/fs.html#dirclosecallback
Passing an invalid callback to the callback argument now throws ERR_INVALID_ARG_TYPE instead of ERR_INVALID_CALLBACK.v18.0.0https://github.com/nodejs/node/pull/41678
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
dir.closeSynchttps://beta.docs.nodejs.org/fs.html#dirclosesync
dir.pathhttps://beta.docs.nodejs.org/fs.html#dirpath
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
fs.opendir()https://beta.docs.nodejs.org/fs.html#fsopendirpath-options-callback
fs.opendirSync()https://beta.docs.nodejs.org/fs.html#fsopendirsyncpath-options
fsPromises.opendir()https://beta.docs.nodejs.org/fs.html#fspromisesopendirpath-options
dir.readhttps://beta.docs.nodejs.org/fs.html#dirread
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
readdir(3)http://man7.org/linux/man-pages/man3/readdir.3.html
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dir.readhttps://beta.docs.nodejs.org/fs.html#dirreadcallback
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
readdir(3)http://man7.org/linux/man-pages/man3/readdir.3.html
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dir.readSynchttps://beta.docs.nodejs.org/fs.html#dirreadsync
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
readdir(3)http://man7.org/linux/man-pages/man3/readdir.3.html
dir[Symbol.asyncIterator]https://beta.docs.nodejs.org/fs.html#dirsymbolasynciterator
AsyncIteratorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncIterator
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
readdir(3)http://man7.org/linux/man-pages/man3/readdir.3.html
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
dir[Symbol.asyncDispose]https://beta.docs.nodejs.org/fs.html#dirsymbolasyncdispose
No longer experimental.v24.2.0https://github.com/nodejs/node/pull/58467
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
await usinghttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/await_using
MDN documentation on using statementshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
dir[Symbol.dispose]https://beta.docs.nodejs.org/fs.html#dirsymboldispose
No longer experimental.v24.2.0https://github.com/nodejs/node/pull/58467
usinghttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
MDN documentation on using statementshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
fs.readdir()https://beta.docs.nodejs.org/fs.html#fsreaddirpath-options-callback
fs.readdirSync()https://beta.docs.nodejs.org/fs.html#fsreaddirsyncpath-options
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.readdir()https://beta.docs.nodejs.org/fs.html#fsreaddirpath-options-callback
fs.opendir()https://beta.docs.nodejs.org/fs.html#fsopendirpath-options-callback
fs.lstat()https://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
fs.lstat()https://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
fs.lstat()https://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
dirent.isBlockDevicehttps://beta.docs.nodejs.org/fs.html#direntisblockdevice
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dirent.isCharacterDevicehttps://beta.docs.nodejs.org/fs.html#direntischaracterdevice
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dirent.isDirectoryhttps://beta.docs.nodejs.org/fs.html#direntisdirectory
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dirent.isFIFOhttps://beta.docs.nodejs.org/fs.html#direntisfifo
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dirent.isFilehttps://beta.docs.nodejs.org/fs.html#direntisfile
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dirent.isSockethttps://beta.docs.nodejs.org/fs.html#direntissocket
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dirent.isSymbolicLinkhttps://beta.docs.nodejs.org/fs.html#direntissymboliclink
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
dirent.namehttps://beta.docs.nodejs.org/fs.html#direntname
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.readdir()https://beta.docs.nodejs.org/fs.html#fsreaddirpath-options-callback
fs.readdirSync()https://beta.docs.nodejs.org/fs.html#fsreaddirsyncpath-options
dirent.parentPathhttps://beta.docs.nodejs.org/fs.html#direntparentpath
Marking the API stable.v24.0.0, v22.17.0https://github.com/nodejs/node/pull/57513
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.watch()https://beta.docs.nodejs.org/fs.html#fswatchfilename-options-listener
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
changehttps://beta.docs.nodejs.org/fs.html#event-change
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
fs.watch()https://beta.docs.nodejs.org/fs.html#fswatchfilename-options-listener
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
closehttps://beta.docs.nodejs.org/fs.html#event-close-1
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
errorhttps://beta.docs.nodejs.org/fs.html#event-error
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
watcher.closehttps://beta.docs.nodejs.org/fs.html#watcherclose
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
watcher.refhttps://beta.docs.nodejs.org/fs.html#watcherref
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
watcher.unrefhttps://beta.docs.nodejs.org/fs.html#watcherunref
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
watcher.refhttps://beta.docs.nodejs.org/fs.html#watcherref-1
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
watcher.unrefhttps://beta.docs.nodejs.org/fs.html#watcherunref-1
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
fs.createReadStream()https://beta.docs.nodejs.org/fs.html#fscreatereadstreampath-options
closehttps://beta.docs.nodejs.org/fs.html#event-close-2
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
openhttps://beta.docs.nodejs.org/fs.html#event-open
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
readyhttps://beta.docs.nodejs.org/fs.html#event-ready
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
readStream.bytesReadhttps://beta.docs.nodejs.org/fs.html#readstreambytesread
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
readStream.pathhttps://beta.docs.nodejs.org/fs.html#readstreampath
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
readStream.pendinghttps://beta.docs.nodejs.org/fs.html#readstreampending
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
Added Temporal.Instant support.v26.2.0https://github.com/nodejs/node/pull/60789
Public constructor is deprecated.v22.0.0, v20.13.0https://github.com/nodejs/node/pull/51879
Added times as numbers.v8.1.0https://github.com/nodejs/node/pull/13173
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.stat()https://beta.docs.nodejs.org/fs.html#fsstatpath-options-callback
fs.lstat()https://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
fs.fstat()https://beta.docs.nodejs.org/fs.html#fsfstatfd-options-callback
stats.isBlockDevicehttps://beta.docs.nodejs.org/fs.html#statsisblockdevice
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
stats.isCharacterDevicehttps://beta.docs.nodejs.org/fs.html#statsischaracterdevice
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
stats.isDirectoryhttps://beta.docs.nodejs.org/fs.html#statsisdirectory
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.lstat()https://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
fs.lstat()https://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
stats.isFIFOhttps://beta.docs.nodejs.org/fs.html#statsisfifo
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
stats.isFilehttps://beta.docs.nodejs.org/fs.html#statsisfile
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
stats.isSockethttps://beta.docs.nodejs.org/fs.html#statsissocket
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
stats.isSymbolicLinkhttps://beta.docs.nodejs.org/fs.html#statsissymboliclink
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.lstat()https://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
stats.devhttps://beta.docs.nodejs.org/fs.html#statsdev
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.inohttps://beta.docs.nodejs.org/fs.html#statsino
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.modehttps://beta.docs.nodejs.org/fs.html#statsmode
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.nlinkhttps://beta.docs.nodejs.org/fs.html#statsnlink
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.uidhttps://beta.docs.nodejs.org/fs.html#statsuid
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.gidhttps://beta.docs.nodejs.org/fs.html#statsgid
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.rdevhttps://beta.docs.nodejs.org/fs.html#statsrdev
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.sizehttps://beta.docs.nodejs.org/fs.html#statssize
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.blksizehttps://beta.docs.nodejs.org/fs.html#statsblksize
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.blockshttps://beta.docs.nodejs.org/fs.html#statsblocks
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.atimeMshttps://beta.docs.nodejs.org/fs.html#statsatimems
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.mtimeMshttps://beta.docs.nodejs.org/fs.html#statsmtimems
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.ctimeMshttps://beta.docs.nodejs.org/fs.html#statsctimems
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.birthtimeMshttps://beta.docs.nodejs.org/fs.html#statsbirthtimems
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.atimeNshttps://beta.docs.nodejs.org/fs.html#statsatimens
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.mtimeNshttps://beta.docs.nodejs.org/fs.html#statsmtimens
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.ctimeNshttps://beta.docs.nodejs.org/fs.html#statsctimens
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.birthtimeNshttps://beta.docs.nodejs.org/fs.html#statsbirthtimens
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
stats.atimehttps://beta.docs.nodejs.org/fs.html#statsatime
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
stats.mtimehttps://beta.docs.nodejs.org/fs.html#statsmtime
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
stats.ctimehttps://beta.docs.nodejs.org/fs.html#statsctime
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
stats.birthtimehttps://beta.docs.nodejs.org/fs.html#statsbirthtime
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
Stat time valueshttps://beta.docs.nodejs.org/fs.html#stat-time-values
bigintshttps://tc39.github.io/proposal-bigint
numbershttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Data_structures#number_type
bigintshttps://tc39.github.io/proposal-bigint
Datehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
mknod(2)http://man7.org/linux/man-pages/man2/mknod.2.html
utimes(2)http://man7.org/linux/man-pages/man2/utimes.2.html
read(2)http://man7.org/linux/man-pages/man2/read.2.html
mknod(2)http://man7.org/linux/man-pages/man2/mknod.2.html
utimes(2)http://man7.org/linux/man-pages/man2/utimes.2.html
write(2)http://man7.org/linux/man-pages/man2/write.2.html
chmod(2)http://man7.org/linux/man-pages/man2/chmod.2.html
chown(2)http://man7.org/linux/man-pages/man2/chown.2.html
link(2)http://man7.org/linux/man-pages/man2/link.2.html
mknod(2)http://man7.org/linux/man-pages/man2/mknod.2.html
rename(2)http://man7.org/linux/man-pages/man2/rename.2.html
unlink(2)http://man7.org/linux/man-pages/man2/unlink.2.html
utimes(2)http://man7.org/linux/man-pages/man2/utimes.2.html
read(2)http://man7.org/linux/man-pages/man2/read.2.html
write(2)http://man7.org/linux/man-pages/man2/write.2.html
utimes(2)http://man7.org/linux/man-pages/man2/utimes.2.html
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
fs.statfs()https://beta.docs.nodejs.org/fs.html#fsstatfspath-options-callback
statfs.bavailhttps://beta.docs.nodejs.org/fs.html#statfsbavail
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
statfs.bsizehttps://beta.docs.nodejs.org/fs.html#statfsbsize
statfs.bfreehttps://beta.docs.nodejs.org/fs.html#statfsbfree
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
statfs.bsizehttps://beta.docs.nodejs.org/fs.html#statfsbsize
statfs.blockshttps://beta.docs.nodejs.org/fs.html#statfsblocks
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
statfs.bsizehttps://beta.docs.nodejs.org/fs.html#statfsbsize
statfs.bsizehttps://beta.docs.nodejs.org/fs.html#statfsbsize
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
statfs.frsizehttps://beta.docs.nodejs.org/fs.html#statfsfrsize
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
statfs.ffreehttps://beta.docs.nodejs.org/fs.html#statfsffree
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
statfs.fileshttps://beta.docs.nodejs.org/fs.html#statfsfiles
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
statfs.typehttps://beta.docs.nodejs.org/fs.html#statfstype
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
biginthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#bigint_type
fs.Utf8Streamhttps://beta.docs.nodejs.org/fs.html#class-fsutf8stream
closehttps://beta.docs.nodejs.org/fs.html#event-close-3
drainhttps://beta.docs.nodejs.org/fs.html#event-drain
drophttps://beta.docs.nodejs.org/fs.html#event-drop
errorhttps://beta.docs.nodejs.org/fs.html#event-error-1
finishhttps://beta.docs.nodejs.org/fs.html#event-finish
readyhttps://beta.docs.nodejs.org/fs.html#event-ready-1
writehttps://beta.docs.nodejs.org/fs.html#event-write
fs.Utf8Stream Constructorhttps://beta.docs.nodejs.org/fs.html#new-fsutf8streamoptions
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
utf8Stream.appendhttps://beta.docs.nodejs.org/fs.html#utf8streamappend
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
utf8Stream.contentModehttps://beta.docs.nodejs.org/fs.html#utf8streamcontentmode
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
utf8Stream.destroyhttps://beta.docs.nodejs.org/fs.html#utf8streamdestroy
utf8Stream.endhttps://beta.docs.nodejs.org/fs.html#utf8streamend
utf8Stream.fdhttps://beta.docs.nodejs.org/fs.html#utf8streamfd
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
utf8Stream.filehttps://beta.docs.nodejs.org/fs.html#utf8streamfile
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
utf8Stream.flushhttps://beta.docs.nodejs.org/fs.html#utf8streamflushcallback
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
utf8Stream.flushSynchttps://beta.docs.nodejs.org/fs.html#utf8streamflushsync
utf8Stream.fsynchttps://beta.docs.nodejs.org/fs.html#utf8streamfsync
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
utf8Stream.maxLengthhttps://beta.docs.nodejs.org/fs.html#utf8streammaxlength
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
utf8Stream.minLengthhttps://beta.docs.nodejs.org/fs.html#utf8streamminlength
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
utf8Stream.mkdirhttps://beta.docs.nodejs.org/fs.html#utf8streammkdir
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
utf8Stream.modehttps://beta.docs.nodejs.org/fs.html#utf8streammode
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
utf8Stream.periodicFlushhttps://beta.docs.nodejs.org/fs.html#utf8streamperiodicflush
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
utf8Stream.reopenhttps://beta.docs.nodejs.org/fs.html#utf8streamreopenfile
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
utf8Stream.synchttps://beta.docs.nodejs.org/fs.html#utf8streamsync
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
utf8Stream.writehttps://beta.docs.nodejs.org/fs.html#utf8streamwritedata
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
TypedArrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
DataViewhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
utf8Stream.writinghttps://beta.docs.nodejs.org/fs.html#utf8streamwriting
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
utf8Stream[Symbol.dispose]https://beta.docs.nodejs.org/fs.html#utf8streamsymboldispose
usinghttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
MDN documentation on using statementshttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
fs.createWriteStream()https://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
closehttps://beta.docs.nodejs.org/fs.html#event-close-4
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
openhttps://beta.docs.nodejs.org/fs.html#event-open-1
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
readyhttps://beta.docs.nodejs.org/fs.html#event-ready-2
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
writeStream.bytesWrittenhttps://beta.docs.nodejs.org/fs.html#writestreambyteswritten
writeStream.closehttps://beta.docs.nodejs.org/fs.html#writestreamclosecallback
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
writeStream.pathhttps://beta.docs.nodejs.org/fs.html#writestreampath
fs.createWriteStream()https://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
writeStream.pendinghttps://beta.docs.nodejs.org/fs.html#writestreampending
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
fs.constantshttps://beta.docs.nodejs.org/fs.html#fsconstants
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
FS constantshttps://beta.docs.nodejs.org/fs.html#fs-constants
File access constantshttps://beta.docs.nodejs.org/fs.html#file-access-constants
fsPromises.access()https://beta.docs.nodejs.org/fs.html#fspromisesaccesspath-mode
fs.access()https://beta.docs.nodejs.org/fs.html#fsaccesspath-mode-callback
fs.accessSync()https://beta.docs.nodejs.org/fs.html#fsaccesssyncpath-mode
File copy constantshttps://beta.docs.nodejs.org/fs.html#file-copy-constants
fs.copyFile()https://beta.docs.nodejs.org/fs.html#fscopyfilesrc-dest-mode-callback
File open constantshttps://beta.docs.nodejs.org/fs.html#file-open-constants
File type constantshttps://beta.docs.nodejs.org/fs.html#file-type-constants
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
File mode constantshttps://beta.docs.nodejs.org/fs.html#file-mode-constants
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
Noteshttps://beta.docs.nodejs.org/fs.html#notes
Ordering of callback and promise-based operationshttps://beta.docs.nodejs.org/fs.html#ordering-of-callback-and-promise-based-operations
File pathshttps://beta.docs.nodejs.org/fs.html#file-paths
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
String pathshttps://beta.docs.nodejs.org/fs.html#string-paths
File URL pathshttps://beta.docs.nodejs.org/fs.html#file-url-paths
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Platform-specific considerationshttps://beta.docs.nodejs.org/fs.html#platform-specific-considerations
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Buffer pathshttps://beta.docs.nodejs.org/fs.html#buffer-paths
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Bufferhttps://beta.docs.nodejs.org/buffer.html#class-buffer
Per-drive working directories on Windowshttps://beta.docs.nodejs.org/fs.html#per-drive-working-directories-on-windows
this MSDN pagehttps://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#fully-qualified-vs-relative-paths
File descriptorshttps://beta.docs.nodejs.org/fs.html#file-descriptors-1
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
Threadpool usagehttps://beta.docs.nodejs.org/fs.html#threadpool-usage
UV_THREADPOOL_SIZEhttps://beta.docs.nodejs.org/cli.html#uv_threadpool_sizesize
File system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags
open(2)http://man7.org/linux/man-pages/man2/open.2.html
open(2)http://man7.org/linux/man-pages/man2/open.2.html
NextPromises APIhttps://beta.docs.nodejs.org/fs/promises-api.html
JSONhttps://beta.docs.nodejs.org/fs.json
MDhttps://beta.docs.nodejs.org/fs.md
Edit this pagehttps://github.com/nodejs/node/edit/HEAD/doc/api/fs.md
Promise examplehttps://beta.docs.nodejs.org/fs.html#promise-example
Callback examplehttps://beta.docs.nodejs.org/fs.html#callback-example
Synchronous examplehttps://beta.docs.nodejs.org/fs.html#synchronous-example
Promises APIhttps://beta.docs.nodejs.org/fs.html#promises-api
FileHandlehttps://beta.docs.nodejs.org/fs.html#class-filehandle
fsPromises.accesshttps://beta.docs.nodejs.org/fs.html#fspromisesaccesspath-mode
fsPromises.appendFilehttps://beta.docs.nodejs.org/fs.html#fspromisesappendfilepath-data-options
fsPromises.chmodhttps://beta.docs.nodejs.org/fs.html#fspromiseschmodpath-mode
fsPromises.chownhttps://beta.docs.nodejs.org/fs.html#fspromiseschownpath-uid-gid
fsPromises.copyFilehttps://beta.docs.nodejs.org/fs.html#fspromisescopyfilesrc-dest-mode
fsPromises.cphttps://beta.docs.nodejs.org/fs.html#fspromisescpsrc-dest-options
fsPromises.globhttps://beta.docs.nodejs.org/fs.html#fspromisesglobpattern-options
fsPromises.lchmodDhttps://beta.docs.nodejs.org/fs.html#fspromiseslchmodpath-mode
fsPromises.lchownhttps://beta.docs.nodejs.org/fs.html#fspromiseslchownpath-uid-gid
fsPromises.lutimeshttps://beta.docs.nodejs.org/fs.html#fspromiseslutimespath-atime-mtime
fsPromises.linkhttps://beta.docs.nodejs.org/fs.html#fspromiseslinkexistingpath-newpath
fsPromises.lstathttps://beta.docs.nodejs.org/fs.html#fspromiseslstatpath-options
fsPromises.mkdirhttps://beta.docs.nodejs.org/fs.html#fspromisesmkdirpath-options
fsPromises.mkdtemphttps://beta.docs.nodejs.org/fs.html#fspromisesmkdtempprefix-options
fsPromises.mkdtempDisposablehttps://beta.docs.nodejs.org/fs.html#fspromisesmkdtempdisposableprefix-options
fsPromises.openhttps://beta.docs.nodejs.org/fs.html#fspromisesopenpath-flags-mode
fsPromises.opendirhttps://beta.docs.nodejs.org/fs.html#fspromisesopendirpath-options
fsPromises.readdirhttps://beta.docs.nodejs.org/fs.html#fspromisesreaddirpath-options
fsPromises.readFilehttps://beta.docs.nodejs.org/fs.html#fspromisesreadfilepath-options
fsPromises.readlinkhttps://beta.docs.nodejs.org/fs.html#fspromisesreadlinkpath-options
fsPromises.realpathhttps://beta.docs.nodejs.org/fs.html#fspromisesrealpathpath-options
fsPromises.renamehttps://beta.docs.nodejs.org/fs.html#fspromisesrenameoldpath-newpath
fsPromises.rmdirhttps://beta.docs.nodejs.org/fs.html#fspromisesrmdirpath-options
fsPromises.rmhttps://beta.docs.nodejs.org/fs.html#fspromisesrmpath-options
fsPromises.stathttps://beta.docs.nodejs.org/fs.html#fspromisesstatpath-options
fsPromises.statfshttps://beta.docs.nodejs.org/fs.html#fspromisesstatfspath-options
fsPromises.symlinkhttps://beta.docs.nodejs.org/fs.html#fspromisessymlinktarget-path-type
fsPromises.truncatehttps://beta.docs.nodejs.org/fs.html#fspromisestruncatepath-len
fsPromises.unlinkhttps://beta.docs.nodejs.org/fs.html#fspromisesunlinkpath
fsPromises.utimeshttps://beta.docs.nodejs.org/fs.html#fspromisesutimespath-atime-mtime
fsPromises.watchhttps://beta.docs.nodejs.org/fs.html#fspromiseswatchfilename-options
fsPromises.writeFilehttps://beta.docs.nodejs.org/fs.html#fspromiseswritefilefile-data-options
fsPromises.constantshttps://beta.docs.nodejs.org/fs.html#fspromisesconstants
Callback APIhttps://beta.docs.nodejs.org/fs.html#callback-api
fs.accesshttps://beta.docs.nodejs.org/fs.html#fsaccesspath-mode-callback
fs.appendFilehttps://beta.docs.nodejs.org/fs.html#fsappendfilepath-data-options-callback
fs.chmodhttps://beta.docs.nodejs.org/fs.html#fschmodpath-mode-callback
fs.chownhttps://beta.docs.nodejs.org/fs.html#fschownpath-uid-gid-callback
fs.closehttps://beta.docs.nodejs.org/fs.html#fsclosefd-callback
fs.copyFilehttps://beta.docs.nodejs.org/fs.html#fscopyfilesrc-dest-mode-callback
fs.cphttps://beta.docs.nodejs.org/fs.html#fscpsrc-dest-options-callback
fs.createReadStreamhttps://beta.docs.nodejs.org/fs.html#fscreatereadstreampath-options
fs.createWriteStreamhttps://beta.docs.nodejs.org/fs.html#fscreatewritestreampath-options
fs.existsDhttps://beta.docs.nodejs.org/fs.html#fsexistspath-callback
fs.fchmodhttps://beta.docs.nodejs.org/fs.html#fsfchmodfd-mode-callback
fs.fchownhttps://beta.docs.nodejs.org/fs.html#fsfchownfd-uid-gid-callback
fs.fdatasynchttps://beta.docs.nodejs.org/fs.html#fsfdatasyncfd-callback
fs.fstathttps://beta.docs.nodejs.org/fs.html#fsfstatfd-options-callback
fs.fsynchttps://beta.docs.nodejs.org/fs.html#fsfsyncfd-callback
fs.ftruncatehttps://beta.docs.nodejs.org/fs.html#fsftruncatefd-len-callback
fs.futimeshttps://beta.docs.nodejs.org/fs.html#fsfutimesfd-atime-mtime-callback
fs.globhttps://beta.docs.nodejs.org/fs.html#fsglobpattern-options-callback
fs.lchmodDhttps://beta.docs.nodejs.org/fs.html#fslchmodpath-mode-callback
fs.lchownhttps://beta.docs.nodejs.org/fs.html#fslchownpath-uid-gid-callback
fs.lutimeshttps://beta.docs.nodejs.org/fs.html#fslutimespath-atime-mtime-callback
fs.linkhttps://beta.docs.nodejs.org/fs.html#fslinkexistingpath-newpath-callback
fs.lstathttps://beta.docs.nodejs.org/fs.html#fslstatpath-options-callback
fs.mkdirhttps://beta.docs.nodejs.org/fs.html#fsmkdirpath-options-callback
fs.mkdtemphttps://beta.docs.nodejs.org/fs.html#fsmkdtempprefix-options-callback
fs.openhttps://beta.docs.nodejs.org/fs.html#fsopenpath-flags-mode-callback
fs.openAsBlobhttps://beta.docs.nodejs.org/fs.html#fsopenasblobpath-options
fs.opendirhttps://beta.docs.nodejs.org/fs.html#fsopendirpath-options-callback
fs.readhttps://beta.docs.nodejs.org/fs.html#fsreadfd-buffer-offset-length-position-callback
fs.readdirhttps://beta.docs.nodejs.org/fs.html#fsreaddirpath-options-callback
fs.readFilehttps://beta.docs.nodejs.org/fs.html#fsreadfilepath-options-callback
fs.readlinkhttps://beta.docs.nodejs.org/fs.html#fsreadlinkpath-options-callback
fs.readvhttps://beta.docs.nodejs.org/fs.html#fsreadvfd-buffers-position-callback
fs.realpathhttps://beta.docs.nodejs.org/fs.html#fsrealpathpath-options-callback
fs.realpath.nativehttps://beta.docs.nodejs.org/fs.html#fsrealpathnativepath-options-callback
fs.renamehttps://beta.docs.nodejs.org/fs.html#fsrenameoldpath-newpath-callback
fs.rmdirhttps://beta.docs.nodejs.org/fs.html#fsrmdirpath-options-callback
fs.rmhttps://beta.docs.nodejs.org/fs.html#fsrmpath-options-callback
fs.stathttps://beta.docs.nodejs.org/fs.html#fsstatpath-options-callback
fs.statfshttps://beta.docs.nodejs.org/fs.html#fsstatfspath-options-callback
fs.symlinkhttps://beta.docs.nodejs.org/fs.html#fssymlinktarget-path-type-callback
fs.truncatehttps://beta.docs.nodejs.org/fs.html#fstruncatepath-len-callback
fs.unlinkhttps://beta.docs.nodejs.org/fs.html#fsunlinkpath-callback
fs.unwatchFilehttps://beta.docs.nodejs.org/fs.html#fsunwatchfilefilename-listener
fs.utimeshttps://beta.docs.nodejs.org/fs.html#fsutimespath-atime-mtime-callback
fs.watchhttps://beta.docs.nodejs.org/fs.html#fswatchfilename-options-listener
fs.watchFilehttps://beta.docs.nodejs.org/fs.html#fswatchfilefilename-options-listener
fs.writehttps://beta.docs.nodejs.org/fs.html#fswritefd-buffer-offset-length-position-callback
fs.writeFilehttps://beta.docs.nodejs.org/fs.html#fswritefilefile-data-options-callback
fs.writevhttps://beta.docs.nodejs.org/fs.html#fswritevfd-buffers-position-callback
Synchronous APIhttps://beta.docs.nodejs.org/fs.html#synchronous-api
fs.accessSynchttps://beta.docs.nodejs.org/fs.html#fsaccesssyncpath-mode
fs.appendFileSynchttps://beta.docs.nodejs.org/fs.html#fsappendfilesyncpath-data-options
fs.chmodSynchttps://beta.docs.nodejs.org/fs.html#fschmodsyncpath-mode
fs.chownSynchttps://beta.docs.nodejs.org/fs.html#fschownsyncpath-uid-gid
fs.closeSynchttps://beta.docs.nodejs.org/fs.html#fsclosesyncfd
fs.copyFileSynchttps://beta.docs.nodejs.org/fs.html#fscopyfilesyncsrc-dest-mode
fs.cpSynchttps://beta.docs.nodejs.org/fs.html#fscpsyncsrc-dest-options
fs.existsSynchttps://beta.docs.nodejs.org/fs.html#fsexistssyncpath
fs.fchmodSynchttps://beta.docs.nodejs.org/fs.html#fsfchmodsyncfd-mode
fs.fchownSynchttps://beta.docs.nodejs.org/fs.html#fsfchownsyncfd-uid-gid
fs.fdatasyncSynchttps://beta.docs.nodejs.org/fs.html#fsfdatasyncsyncfd
fs.fstatSynchttps://beta.docs.nodejs.org/fs.html#fsfstatsyncfd-options
fs.fsyncSynchttps://beta.docs.nodejs.org/fs.html#fsfsyncsyncfd
fs.ftruncateSynchttps://beta.docs.nodejs.org/fs.html#fsftruncatesyncfd-len
fs.futimesSynchttps://beta.docs.nodejs.org/fs.html#fsfutimessyncfd-atime-mtime
fs.globSynchttps://beta.docs.nodejs.org/fs.html#fsglobsyncpattern-options
fs.lchmodSyncDhttps://beta.docs.nodejs.org/fs.html#fslchmodsyncpath-mode
fs.lchownSynchttps://beta.docs.nodejs.org/fs.html#fslchownsyncpath-uid-gid
fs.lutimesSynchttps://beta.docs.nodejs.org/fs.html#fslutimessyncpath-atime-mtime
fs.linkSynchttps://beta.docs.nodejs.org/fs.html#fslinksyncexistingpath-newpath
fs.lstatSynchttps://beta.docs.nodejs.org/fs.html#fslstatsyncpath-options
fs.mkdirSynchttps://beta.docs.nodejs.org/fs.html#fsmkdirsyncpath-options
fs.mkdtempSynchttps://beta.docs.nodejs.org/fs.html#fsmkdtempsyncprefix-options
fs.mkdtempDisposableSynchttps://beta.docs.nodejs.org/fs.html#fsmkdtempdisposablesyncprefix-options
fs.openAsBlobSynchttps://beta.docs.nodejs.org/fs.html#fsopenasblobsyncpath-options
fs.opendirSynchttps://beta.docs.nodejs.org/fs.html#fsopendirsyncpath-options
fs.openSynchttps://beta.docs.nodejs.org/fs.html#fsopensyncpath-flags-mode
fs.readdirSynchttps://beta.docs.nodejs.org/fs.html#fsreaddirsyncpath-options
fs.readFileSynchttps://beta.docs.nodejs.org/fs.html#fsreadfilesyncpath-options
fs.readlinkSynchttps://beta.docs.nodejs.org/fs.html#fsreadlinksyncpath-options
fs.readSynchttps://beta.docs.nodejs.org/fs.html#fsreadsyncfd-buffer-offset-length-position
fs.readvSynchttps://beta.docs.nodejs.org/fs.html#fsreadvsyncfd-buffers-position
fs.realpathSynchttps://beta.docs.nodejs.org/fs.html#fsrealpathsyncpath-options
fs.realpathSync.nativehttps://beta.docs.nodejs.org/fs.html#fsrealpathsyncnativepath-options
fs.renameSynchttps://beta.docs.nodejs.org/fs.html#fsrenamesyncoldpath-newpath
fs.rmdirSynchttps://beta.docs.nodejs.org/fs.html#fsrmdirsyncpath-options
fs.rmSynchttps://beta.docs.nodejs.org/fs.html#fsrmsyncpath-options
fs.statSynchttps://beta.docs.nodejs.org/fs.html#fsstatsyncpath-options
fs.statfsSynchttps://beta.docs.nodejs.org/fs.html#fsstatfssyncpath-options
fs.symlinkSynchttps://beta.docs.nodejs.org/fs.html#fssymlinksynctarget-path-type
fs.truncateSynchttps://beta.docs.nodejs.org/fs.html#fstruncatesyncpath-len
fs.unlinkSynchttps://beta.docs.nodejs.org/fs.html#fsunlinksyncpath
fs.utimesSynchttps://beta.docs.nodejs.org/fs.html#fsutimessyncpath-atime-mtime
fs.writeFileSynchttps://beta.docs.nodejs.org/fs.html#fswritefilesyncfile-data-options
fs.writeSynchttps://beta.docs.nodejs.org/fs.html#fswritesyncfd-buffer-offset-length-position
fs.writevSynchttps://beta.docs.nodejs.org/fs.html#fswritevsyncfd-buffers-position
Common Objectshttps://beta.docs.nodejs.org/fs.html#common-objects
fs.Dirhttps://beta.docs.nodejs.org/fs.html#class-fsdir
fs.Direnthttps://beta.docs.nodejs.org/fs.html#class-fsdirent
fs.FSWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsfswatcher
fs.StatWatcherhttps://beta.docs.nodejs.org/fs.html#class-fsstatwatcher
fs.ReadStreamhttps://beta.docs.nodejs.org/fs.html#class-fsreadstream
fs.Statshttps://beta.docs.nodejs.org/fs.html#class-fsstats
fs.StatFshttps://beta.docs.nodejs.org/fs.html#class-fsstatfs
fs.Utf8StreamEhttps://beta.docs.nodejs.org/fs.html#class-fsutf8stream
fs.WriteStreamhttps://beta.docs.nodejs.org/fs.html#class-fswritestream
fs.constantshttps://beta.docs.nodejs.org/fs.html#fsconstants
Noteshttps://beta.docs.nodejs.org/fs.html#notes
Ordering of callback and promise-based operationshttps://beta.docs.nodejs.org/fs.html#ordering-of-callback-and-promise-based-operations
File pathshttps://beta.docs.nodejs.org/fs.html#file-paths
File descriptorshttps://beta.docs.nodejs.org/fs.html#file-descriptors-1
Threadpool usagehttps://beta.docs.nodejs.org/fs.html#threadpool-usage
File system flagshttps://beta.docs.nodejs.org/fs.html#file-system-flags

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.