Supported Methods
Method | Description | Docs |
---|---|---|
child_process.exec | Spawn a shell and execute an arbitrary command | |
child_process.execFile | Spawn a shell and execute an arbitrary file | |
child_process.fork | Fork a child process | |
child_process.spawn | Spawn a new process | |
child_process.execFileSync | Spawn a shell and execute an arbitrary file | |
child_process.execSync | Spawn a shell and execute an arbitrary command | |
child_process.spawnSync | Spawn a new process | |
cluster.disconnect | Disconnect a worker from its parent process | |
cluster.fork | Fork a new worker process | |
cluster.setupPrimary | Change the default fork behavior of cluster.fork | |
cluster.setupMaster | Change the default fork behavior of cluster.fork | |
dgram.createSocket | Create a datagram socket | |
dns.Resolver | Create a DNS resolver | |
dns.getServers | Get the list of current DNS servers | |
dns.lookup | Resolve a host name into the first found A or AAAA record | |
dns.lookupService | Resolve the given address and port into a host name and service | |
dns.resolve | Resolve a host name into an array of records | |
dns.resolve4 | Resolve a host name to an IPv4 address | |
dns.resolve6 | Resolve a host name to an IPv6 address | |
dns.resolveAny | Resolve a host name to an array of records | |
dns.resolveCname | Resolve a host name to an array of CNAME records | |
dns.resolveCaa | Resolve a host name to an array of CAA records | |
dns.resolveMx | Resolve a host name to an array of MX records | |
dns.resolveNaptr | Resolve a host name to an array of NAPTR records | |
dns.resolveNs | Resolve a host name to an array of NS records | |
dns.resolvePtr | Resolve a host name to an array of PTR records | |
dns.resolveSoa | Resolve a host name to an SOA record | |
dns.resolveSrv | Resolve a host name to an array of SRV records | |
dns.resolveTxt | Resolve a host name to an array of TXT records | |
dns.reverse | Perform a reverse lookup for the given address | |
dns.setDefaultResultOrder | Set the default order for result records | |
dns.setServers | Set the list of DNS servers to be used | |
fetch.fetch | Communicate with a web server | |
eval.eval | Run arbitrary JS code from a string | |
Function.Function | Create a new function from an arbitrary string | |
fs.access | Test a user's permissions for a file or directory | |
fs.appendFile | Append to a file | |
fs.chmod | Change file permissions | |
fs.chown | Change file ownership | |
fs.close | Close a file descriptor | |
fs.copyFile | Copy a file | |
fs.cp | Copy a directory | |
fs.createReadStream | Create a readable stream | |
fs.createWriteStream | Create a writable stream | |
fs.exists | Test whether or not a file exists | |
fs.fchmod | Change file permissions | |
fs.fchown | Change file ownership | |
fs.fdatasync | Force all currently queued I/O operations to completion | |
fs.fstat | Get file status | |
fs.fsync | Request data to be flushed to the storage device | |
fs.ftruncate | Truncate a file to a specified length | |
fs.futimes | Change file timestamps | |
fs.lchmod | Change file permissions | |
fs.lchown | Change file ownership | |
fs.lutimes | Change file timestamps | |
fs.link | Create a new link | |
fs.lstat | Get file status | |
fs.mkdir | Create a directory | |
fs.mkdtemp | Create a unique temporary directory | |
fs.open | Open a file | |
fs.opendir | Open a directory | |
fs.read | Read a file | |
fs.readdir | Read a directory | |
fs.readFile | Read a file | |
fs.readlink | Read a symbolic link | |
fs.readv | Read from a file | |
fs.realpath | Resolve a canonical path | |
fs.rename | Rename a file or directory | |
fs.rmdir | Remove a directory | |
fs.rm | Remove a file | |
fs.stat | Get file status | |
fs.symlink | Create a symbolic link | |
fs.truncate | Truncate a file to a specified length | |
fs.unlink | Delete a file | |
fs.unwatchFile | Stop watching a file for changes | |
fs.utimes | Change file timestamps | |
fs.watch | Monitor a file for changes | |
fs.watchFile | Monitor a file for changes | |
fs.write | Write to a file | |
fs.writeFile | Write a file | |
fs.writev | Write to a file | |
fs.accessSync | Test a user's permissions for a file or directory | |
fs.appendFileSync | Append data to a file | |
fs.chmodSync | Change file permissions | |
fs.chownSync | Change file owner | |
fs.closeSync | Close a file | |
fs.copyFileSync | Copy a file | |
fs.cpSync | Copy a directory | |
fs.existsSync | Test whether a file exists | |
fs.fchmodSync | Change file permissions | |
fs.fchownSync | Change file owner | |
fs.fdatasyncSync | Force all currently queued I/O operations to completion | |
fs.fstatSync | Get file status | |
fs.fsyncSync | Force all data to be flushed to the storage device | |
fs.ftruncateSync | Truncate a file to a specified length | |
fs.futimesSync | Change file timestamps | |
fs.lchmodSync | Change file permissions | |
fs.lchownSync | Change file owner | |
fs.lutimesSync | Change file timestamps | |
fs.linkSync | Create a hard link | |
fs.lstatSync | Get file status | |
fs.mkdirSync | Create a directory | |
fs.mkdtempSync | Create a temporary directory | |
fs.openSync | Open a file | |
fs.opendirSync | Open a directory | |
fs.readSync | Read a file | |
fs.readdirSync | Read a directory | |
fs.readFileSync | Read a file | |
fs.readlinkSync | Read a symbolic link | |
fs.readvSync | Read from a file | |
fs.realpathSync | Return canonical absolute pathname | |
fs.renameSync | Rename a file or directory | |
fs.rmdirSync | Remove a directory | |
fs.rmSync | Remove a file | |
fs.statSync | Get file status | |
fs.symlinkSync | Create a symbolic link | |
fs.truncateSync | Truncate a file to a specified length | |
fs.unlinkSync | Delete a file | |
fs.utimesSync | Change file timestamps | |
fs.writeSync | Write to a file | |
fs.writeFileSync | Write a file | |
fs.writevSync | Write to a file | |
fs/promises.access | Test a user's permissions for a file or directory | |
fs/promises.appendFile | Append data to a file | |
fs/promises.chmod | Change file permissions | |
fs/promises.chown | Change file owner | |
fs/promises.copyFile | Copy a file | |
fs/promises.cp | Copy a file | |
fs/promises.lchmod | Change file permissions | |
fs/promises.lchown | Change file owner | |
fs/promises.lutimes | Change file timestamps | |
fs/promises.link | Create a hard link | |
fs/promises.lstat | Get file status | |
fs/promises.mkdir | Create a directory | |
fs/promises.mkdtemp | Create a temporary directory | |
fs/promises.open | Open a file | |
fs/promises.opendir | Open a directory | |
fs/promises.readdir | Read a directory | |
fs/promises.readFile | Read a file | |
fs/promises.readlink | Read a symbolic link | |
fs/promises.realpath | Return canonical absolute pathname | |
fs/promises.rename | Rename a file or directory | |
fs/promises.rmdir | Remove a directory | |
fs/promises.rm | Remove a file | |
fs/promises.stat | Get file status | |
fs/promises.symlink | Create a symbolic link | |
fs/promises.truncate | Truncate a file to a specified length | |
fs/promises.unlink | Delete a file | |
fs/promises.utimes | Change file timestamps | |
fs/promises.watch | Watch for changes on a file | |
fs/promises.writeFile | Write data to a file | |
http.Agent | Manage HTTP connection persistence and reuse | |
http.createServer | Create a new HTTP server | |
http.get | Send a GET request to a server | |
http.request | Send an HTTP request to a server | |
http2.createServer | Create a new HTTP/2 server | |
http2.createSecureServer | Create a new secure HTTP/2 server | |
http2.connect | Establish a connection to a server | |
http2.getDefaultSettings | Get the default settings for a HTTP/2 session | |
http2.getPackedSettings | Get the current settings for a HTTP/2 session | |
http2.getUnpackedSettings | Get the current settings for a HTTP/2 session | |
https.Agent | Manage HTTPS connection persistence and reuse | |
https.createServer | Create a new HTTPS server | |
https.get | Send a GET request to a server | |
https.request | Send an HTTPS request to a server | |
inspector.close | Close a V8 inspector | |
inspector.open | Open a V8 inspector | |
inspector.url | Get the URL of the V8 inspector | |
inspector.waitForDebugger | Wait for the V8 debugger to connect | |
inspector.Session | Create a new V8 inspector session | |
net.Server | Create a new TCP server | |
net.Socket | Create a new TCP socket | |
net.connect | Connect to a remote TCP server | |
net.createConnection | Connect to a remote TCP server | |
net.createServer | Create a new TCP server | |
os.arch | Get the CPU architecture | |
os.cpus | Get CPU information | |
os.endianness | Get the endianness of the CPU | |
os.freemem | Get the amount of free system memory | |
os.getPriority | Get the scheduling priority for a process | |
os.homedir | Get the home directory path for the current user | |
os.hostname | Get the hostname of the OS | |
os.loadavg | Get system load average information | |
os.networkInterfaces | Get a list of network interfaces | |
os.platform | Get the operating system platform | |
os.release | Get the operating system release | |
os.setPriority | Set the scheduling priority for a process | |
os.tmpdir | Get the path of a temporary directory | |
os.totalmem | Get the total amount of system memory | |
os.type | Get the operating system name | |
os.uptime | Get the system uptime | |
os.userInfo | Get current user information | |
os.version | Get the kernel version | |
process.abort | Exit the Node.js process immediately | |
process.chdir | Change the current working directory | |
process.cpuUsage | Get current process CPU usage info | |
process.cwd | Get the current working directory | |
process.disconnect | Disconnect child process from parent |