What is NodeJS ?
Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.
What is NPM in NodeJS?
npm is the default package manager for the JavaScript runtime environment Node.js. It consists of a command line client, also called npm, and an online database of public and paid-for private packages, called the npm registry.
Some Important Commands for NPM:
- npm init - initialize the npm in project (you will get package.json file );
- npm install package name (npm install cli-color) - you will get cli-color module
- npm install - (after delete module folder ) Install all package (module folder)
what is IIFE function in JavaScript?
and in NPM module like this IIFE Function Decleare :-
How to export NPM module in our project file ? :-
How to export local module in our project? :-
Export Two or more function from same local module :-
Next :- Notes in NodeJS Core Module
No comments:
Post a Comment