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.

fs.FSWatcher

Class: fs.FSWatcher Objects returned from fs.watch() are of this type.

http_server.close()

server.close([callback]) Stops the server from accepting new connections. See net.Server.close().

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

os.endianness()

os.endianness() Returns the endianness of the CPU. Possible values are 'BE' for big endian or 'LE' for little endian.

fs.rmdirSync()

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

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

child_process.execFile()

child_process.execFile(file[, args][, options][, callback]) file <String> The name or path of the executable file to run args <Array> List of string arguments options <Object> cwd <String> Current working directory of the child process env <Object> Environment key-value pairs encoding <String> (Default: 'utf8') timeout <Number> (Default: 0) maxBuffer <Number> largest amount of data (in bytes) allowed on stdout or stderr - if exceeded child

https_server.setTimeout()

server.setTimeout(msecs, callback) See http.Server#setTimeout().