Skip to content

Tag Archives: Node.js-Methods

The stringDecoder.write() method is used to return a decoded string from the given Buffer, TypedArray or DataView. This method also ensures that any incomplete multibyte… Read More
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
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 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 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.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