Giver Kdkgiver-node.hashnode.dev·Oct 31, 2023Node.js: Built-in ModulesOS Module This module provides information about the operating system and computer specifications. // Importing built-in os module const os = require('os'); console.log(os.type()); // Tells base kernel of OS console.log(os.version()); ...Builtin Modules
Saksham Aggarwalwebdv.hashnode.dev·Oct 5, 2023Reading File By Using Fs ModuleINTRODUCTION The 'Fs' module is a very versatile module of Javascript. It helps us to perform read, write, and append operations on the file. In this article we will see how to read a file, using the Fs module. READING FILE So for this article, we wi...37 readsfs module