fs.realpathSync()

fs.realpathSync(path[, cache]) Synchronous realpath(2). Returns the resolved path. cache is an object literal of mapped paths that can be used to force a specific path resolution or avoid additional fs.stat calls for known real paths.

setImmediate()

setImmediate(callback[, arg][, ...]) Schedules "immediate" execution of callback after I/O events' callbacks and before timers set by setTimeout and setInterval are triggered. Returns an immediateObject for possible use with clearImmediate. Additional optional arguments may be passed to the callback. Callbacks for immediates are queued in the order in which they were created. The entire callback queue is processed every event loop iteration. If an immediate is queued from inside an executing c

fs.rmdirSync()

fs.rmdirSync(path) Synchronous rmdir(2). Returns undefined.

buffer.writeDoubleLE()

buf.writeDoubleLE(value, offset[, noAssert]) value <Number> Bytes to be written to Buffer offset <Number> 0 <= offset <= buf.length - 8 noAssert <Boolean> Default: false Return: <Number> The offset plus the number of written bytes Writes value to the Buffer at the specified offset with specified endian format (writeDoubleBE() writes big endian, writeDoubleLE() writes little endian). The value argument should be a valid 64-bit double. Behavior is not defined w

net_server.unref()

server.unref() Calling unref on a server will allow the program to exit if this is the only active server in the event system. If the server is already unrefd calling unref again will have no effect. Returns server.

crypto.getHashes()

crypto.getHashes() Returns an array with the names of the supported hash algorithms. Example: const hashes = crypto.getHashes(); console.log(hashes); // ['sha', 'sha1', 'sha1WithRSAEncryption', ...]

readable.setEncoding()

Stability: 2 - Stable A stream is an abstract interface implemented by various objects in Node.js. For example a request to an HTTP server is a stream, as is process.stdout. Streams are readable, writable, or both. All streams are instances of EventEmitter. You can load the Stream base classes by doing require('stream'). There are base classes provided for Readable streams, Writable streams, Duplex streams, and Transform streams. This document is split up into 3 sections: The first section e

line event (Readline)

Event: 'line' function (line) {} Emitted whenever the input stream receives an end of line (\n, \r, or \r\n), usually received when the user hits enter, or return. This is a good hook to listen for user input. Example of listening for 'line': rl.on('line', (cmd) => { console.log(`You just typed: ${cmd}`); });

fs.mkdirSync()

fs.mkdirSync(path[, mode]) Synchronous mkdir(2). Returns undefined.

zlib.createUnzip()

zlib.createUnzip(options) Returns a new Unzip object with an options.