fs.unlinkSync()

fs.unlinkSync(path) Synchronous unlink(2). Returns undefined.

punycode.toASCII()

punycode.toASCII(domain) Converts a Unicode string representing a domain name to Punycode. Only the non-ASCII parts of the domain name will be converted, i.e. it doesn't matter if you call it with a domain that's already in ASCII. // encode domain names punycode.toASCII('mañana.com'); // 'xn--maana-pta.com' punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com'

process.abort()

process.abort() This causes Node.js to emit an abort. This will cause Node.js to exit and generate a core file.

net_server.maxConnections

server.maxConnections Set this property to reject connections when the server's connection count gets high. It is not recommended to use this option once a socket has been sent to a child with child_process.fork().

writable._writev()

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

fs.readFileSync()

fs.readFileSync(file[, options]) Synchronous version of fs.readFile. Returns the contents of the file. If the encoding option is specified then this function returns a string. Otherwise it returns a buffer.

online event (Cluster)

Event: 'online' worker <cluster.Worker> After forking a new worker, the worker should respond with an online message. When the master receives an online message it will emit this event. The difference between 'fork' and 'online' is that fork is emitted when the master forks a worker, and 'online' is emitted when the worker is running. cluster.on('online', (worker) => { console.log('Yay, the worker responded after it was forked'); });

buffer.writeUInt8()

buf.writeUInt8(value, offset[, noAssert]) value <Number> Bytes to be written to Buffer offset <Number> 0 <= offset <= buf.length - 1 noAssert <Boolean> Default: false Return: <Number> The offset plus the number of written bytes Writes value to the Buffer at the specified offset. The value should be a valid unsigned 8-bit integer. Behavior is not defined when value is anything other than an unsigned 8-bit integer. Set noAssert to true to skip validation of va

fs.readdirSync()

fs.readdirSync(path) Synchronous readdir(3). Returns an array of filenames excluding '.' and '..'.

clearImmediate()

clearImmediate(immediateObject) Stops an immediateObject, as created by setImmediate, from triggering.