end event (stream.Readable)

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.chmodSync()

fs.chmodSync(path, mode) Synchronous chmod(2). Returns undefined.

message.trailers

message.trailers The request/response trailers object. Only populated at the 'end' event.

process.release

process.release An Object containing metadata related to the current release, including URLs for the source tarball and headers-only tarball. process.release contains the following properties: name: a string with a value that will always be 'node' for Node.js. For legacy io.js releases, this will be 'io.js'. sourceUrl: a complete URL pointing to a .tar.gz file containing the source of the current release. headersUrl: a complete URL pointing to a .tar.gz file containing only the header file

readline.clearLine()

readline.clearLine(stream, dir) Clears current line of given TTY stream in a specified direction. dir should have one of following values: -1 - to the left from cursor 1 - to the right from cursor 0 - the entire line

fs.mkdir()

fs.mkdir(path[, mode], callback) Asynchronous mkdir(2). No arguments other than a possible exception are given to the completion callback. mode defaults to 0o777.

eventemitter.listeners()

emitter.listeners(eventName) Returns a copy of the array of listeners for the event named eventName. server.on('connection', (stream) => { console.log('someone connected!'); }); console.log(util.inspect(server.listeners('connection'))); // Prints: [ [Function] ]

fs.fsyncSync()

fs.fsyncSync(fd) Synchronous fsync(2). Returns undefined.

zlib.flush()

zlib.flush([kind], callback) kind defaults to zlib.Z_FULL_FLUSH. Flush pending data. Don't call this frivolously, premature flushes negatively impact the effectiveness of the compression algorithm.

watcher.close()

watcher.close() Stop watching for changes on the given fs.FSWatcher.