Skip to content

Category Archives: Node.js

The fs.lstat() method is similar to the fs.stat() method except that it is used to return information about the symbolic link that is being used… Read More
The crypto.createDiffieHellman() method is used to create a DiffieHellman key exchange object by using the stated prime and an optional specified generator.Syntax:   crypto.createDiffieHellman( prime, primeEncoding,… Read More
The crypto.generateKeyPair() method is an inbuilt application programming interface of crypto module which is used to generate a new asymmetric key pair of the specified… Read More
The os.getPriority() method is an inbuilt application programming interface of the os module which is used to get the scheduling priority of the process specified… Read More
The writable._write() method is an inbuilt application programming interface of Stream module which is used to implement a writable stream. The writable._write() method is affixed… Read More
The fs.symlinkSync() method is used to synchronously create a symlink to the specified path. This method creates a link making the path point to the… Read More
The zlib.gzipSync() method is an inbuilt application programming interface of the Zlib module which is used to compress a chunk of data with Gzip. Syntax:… Read More
The fs.realpathSync() method is used to synchronously compute the canonical pathname of a given path. It does so by resolving the ., .. and the… Read More
The fs.fstat() method is used to return information about the given file descriptor. The fs.Stat object returned has several fields and methods to get more… Read More
The fs.mkdtemp() method is used to create a unique temporary directory. The folder name is created by appending 6 randomly generated characters behind a prefix… Read More
The crypto.publicEncrypt() method is an inbuilt application programming interface of the crypto module which is used to encrypt the stated content of the buffer with… Read More
The crypto.generateKeyPairSync() method is an inbuilt application programming interface of crypto module which is used to generate a new asymmetric key pair of the specified… Read More
The fs.lstatSync() method is used to synchronously return information about the symbolic link that is being used to refer to a file or directory. The… Read More
The crypto.randomFillSync() method is an inbuilt application programming interface of crypto module which is used to return the object passed as buffer argument.Syntax:   crypto.randomFillSync( buffer,… Read More
The crypto.randomFill() method is same as crypto.randomBytes() method but the only difference is that here the first argument is buffer that will be filled and… Read More

Start Your Coding Journey Now!