Basic of Node js
What is node js?
Why node js?
What can node js do ? and example
Global in node js
In node js it can be understood as the window in browser.what is defined globally for that we don't need to import any packages .
Example :- __dirname ,__filename,Process,Export,Import ,require
Module
What are modules ?
What is internal module ?
Like fs module ,url etc
Importing module
What is fs module ?
Package
npm init // while running in terminal it ask a bunch of questions
and you want to ignore those questions just type
npm init -y
Package.json
whenever we work on the node js ,it provide all the information about pacakges , version and script to run in terminal. etc
How to install packages ?
npm install pacakge-name
or
npm i pacakge-name
How to uninstall package?
npm uninstall pacakge-name
or
npm i pacakge-name
Hopefully you have learnt something and i would like listen from you any suge