Skip to content

Category Archives: Node.js

The fs.rename() method is used to asynchronously rename a file at the given old path to a given new path. It will overwrite the destination… Read More
The os.platform() method is an inbuilt application programming interface of the os module which is used to get the Operating system platform.  Syntax:   os.platform() Parameters:… Read More
The os.loadavg() method is an inbuilt application programming interface of the os module which is used to get load average. Load average is a measure… Read More
Node.js is an open source and cross-platform runtime environment for executing JavaScript code outside of the browser. It is widely used in developing APIs and… Read More
Cron Jobs: These are the tasks that run periodically by the operating system. Users can schedule commands the OS will run these commands automatically according… Read More
Need for External Modules: For a large JavaScript application, it becomes difficult and messy to write the whole code in just one JavaScript file. This… Read More
The path.normalize() method is used to normalize the given path. Normalization resolves the (.) and (..) segments of the path to their correct form. If… Read More
The util.types.isUint8Array() method of util module which is primarily designed to support the needs of Node.js own Internal APIs. It is used to check whether… Read More
The path.extname() method is used to get the extension portion of a file path. The extension string returned from the last occurrence of a period… Read More
The os.totalmem() method is an inbuilt application programming interface of the os module which is used to get amount of total system memory in bytes.… Read More
The path.isAbsolute() method is used to check whether the given path is an absolute path or not. An absolute path is defined as a path… Read More
The path.dirname() method is used to get the directory name of the given path. It ignores the respective platform’s trailing directory separators. Syntax: path.dirname( path… Read More
The path.parse() method is used to return an object whose properties represent the given path. This method returns the following properties: root (root name) dir… Read More
The util.types.isSet() method of util module is primarily designed to support the needs of Node.js own Internal APIs. It is used to check whether the… Read More
The util.types.isStringObject() method of the util module is primarily designed to support the needs of Node.js own Internal APIs. It is used to check whether… Read More

Start Your Coding Journey Now!