Loading lesson path
Node.js has a set of built-in modules which you can use without any further installation. Here is a list of the built-in modules of Node.js version 6.10.3: Module Description assert Provides a set of…
EventEmitter Object The EventEmitter is a module that facilitates communication between objects in Node.js. It's at the core of Node's asynchronous event-driven architecture. Many of Node's built-in…
Worker Object The Worker class is part of the Node.js cluster module, which enables the creation of child processes (workers) that run simultaneously and share server ports. This is particularly usef…
Cipher Object The Cipher class is part of Node.js's crypto module. It provides a way to encrypt data using various algorithms. Cipher instances are created using the crypto.createCipheriv() method. N…
Decipher Object The Decipher class is part of Node.js's crypto module. It provides a way to decrypt data that was encrypted using the Cipher class. Decipher instances are created using the crypto.cre…
DiffieHellman Object The DiffieHellman class is part of Node.js's crypto module. It implements the Diffie-Hellman key exchange protocol, which allows two parties to securely establish a shared secret…
ECDH Object The ECDH (Elliptic Curve Diffie-Hellman) class is part of Node.js's crypto module. It implements the Elliptic Curve Diffie-Hellman key exchange protocol, which allows two parties to secur…
Hash Object The Hash class is part of Node.js's crypto module. It provides a way to create cryptographic hash digests of data. Hash instances are created using the crypto.createHash() method. Hash fu…
Hmac Object The Hmac class is part of Node.js's crypto module. It provides a way to create cryptographic HMAC (Hash-based Message Authentication Code) digests. HMAC instances are created using the cr…
Node.js Sign Reference
Verify Object The Verify class is part of Node.js's crypto module. It provides a way to verify cryptographic digital signatures. Verify instances are created using the crypto.createVerify() method. V…
Socket Object The Socket class is a duplex stream that allows for reading and writing data across network connections. It is used for both client and server connections in Node.js's net module. A Soc…
ReadStream Object A ReadStream is a stream that allows you to read data from a resource. Node.js provides ReadStream implementations for different use cases, such as reading from files ( fs.ReadStrea…
WriteStream Object A WriteStream is a stream that allows you to write data to a destination. Node.js provides WriteStream implementations for different use cases, such as writing to files ( fs.WriteS…
Server Object Server objects in Node.js are used to create network servers. Different modules provide their own Server implementations: http.Server - For creating HTTP servers https.Server - For crea…
Agent Object The Agent class in Node.js is responsible for managing connection persistence and reuse for HTTP/HTTPS client requests. It maintains a queue of pending requests for a given host and port…
HTTP Request Object The HTTP Request object is created internally by Node.js and passed as the first parameter to the request event callback when making HTTP requests. It represents an incoming messa…
HTTP Response Object The HTTP Response object in Node.js ( http.ServerResponse ) is created internally by an HTTP server, not by the user. It's passed as the second parameter to the 'request' event c…
HTTP Message Object The http.IncomingMessage object is created by the http.Server or http.ClientRequest and passed as the first argument to the 'request' and 'response' event respectively. It is used…
Node.js Interface Reference