Node.js Standard Module
The following Node.js standard modules are available for actions. It can be called by explicit reference in an action via a require statement.
Module | Require | Overview | URL |
---|---|---|---|
Utilities | util | General purpose | https://nodejs.org/api/util.html |
URL | url | URL string parsing | https://nodejs.org/api/url.html |
QueryStrings | querystring | Query string manipulation | https://nodejs.org/api/querystring.html |
Buffer | buffer | Binary data | https://nodejs.org/api/buffer.html |
Crypto | crypto | Encryption functions | https://nodejs.org/api/crypto.html |
ZLIB | zlib | Data compression, decompression | https://nodejs.org/api/zlib.html |
Utilities
A set of general-purpose functions that can format, encode, decode, etc.
Sample
URL
This is a standard module that performs string analysis of URLs.
Sample
QueryStrings
This module handles query strings (after ? in the URL).
Sample
Buffer
This module handles stream objects for binary data
Sample
Crypto
This module handles encryption functions that wrap OpenSSL. It can also be used for random number generation, etc.
Sample
ZLIB
This module handles data compression and decompression in GZip and Inflate.