Node.js Module SystemNode.js has two module systems: CommonJS Modules: ECMAScript Modules (ESM): CommonJS Modules: This is the traditional module system in Node.js. Files with .cjs extension are treated as CommonJS modules. Files with .js extension are treated as ...2 min read·node-module.hashnode.devNov 25, 2024
Why there is no WIndow or Document in the Node.jsIn Node.js, there is no window or document object because Node.js operates in a server-side environment, not a browser environment. Here's why these objects are absent: Browser-Specific Objects: The window object represents the browser window and pr...2 min read·repl.hashnode.devNov 24, 2024
REPL in NodeREPL, which stand for Read Eval Print Loop, is an interactive programming enviroment that allows you to execute Javascript code in the real time time .1 min read·repl.hashnode.devNov 22, 2024
JWT (JSON Web Token )Learn about JWT, a compact token for secure, verifiable data exchange, used in web authentication to maintain efficient, scalable session management3 min read·jsonwebtoken.hashnode.devOct 21, 2024