The crypto.secureHeapUsed() method in Node.js is used to get the amount of memory used by the secure heap of the running Node.js process. The secure… Read More
Tag Archives: Node.js-Methods
The queueMicrotask() method in Node.js allows you to queue a function to be performed asynchronously as soon as the current code block is finished. This… Read More
The process is the global object in Node.js that maintains track of and includes all of the information about the specific Node.js process that is… Read More
The keyObject.equals() of the crypto module in Node.js, which allows you to compare two key objects. By default, this method returns a boolean indicating whether… Read More
Node.js crypto.getCipherInfo() method in node.js provides detailed information about the cipher. This method is very useful in case you want to get information about the… Read More
Node.js Net module allows you to create TCP or IPC servers and clients. A TCP client initiates a connection request to a TCP server to… Read More
In this article, we will discuss about the verify.verify() method in the Verify Class of the crypto module in NodeJS. The verify class utility is… Read More
In this article, we will discuss about the sign.update() method in the sign class of the crypto module in NodeJS. This method updates the sign… Read More
The verify.update() method is an inbuilt method in verify class within the crypto module in NodeJs. This method verifies the content within the given data.… Read More
The cipher.getAuthTag() method returns a buffer containing the authentication tag that has been computed from the given data. This method should be called after using… Read More
The cipher.setAAD() method is used in Node.js to set the additional authenticated data (AAD) for an encrypt/decrypt stream. The AAD is a chunk of data… Read More
Node.js is a cross-platform, open-source back-end JavaScript runtime environment that uses the V8 engine to execute JavaScript code outside of a web browser. Node.js allows… Read More
The tracker.calls() method is used to keep track of the number of times a function is executed. It returns a wrapper function that should be… Read More
Node.js is a cross-platform, open-source back-end JavaScript runtime environment that uses the V8 engine to execute JavaScript code outside of a web browser. Node.js allows… Read More
The assert.doesNotReject() method is used to check if the given promise is not rejected. If the provided parameter is a Promise, it is awaited; if… Read More