What is nodejs
basics of nodejs and serverside javascript
Nodejs is oepn source
Package -- set the javascript file javascript code that we can download and use as it is. ( increase the reusablity
Benefit: save the development time and development cost
NPM - node package manager -- it do download packages from npm repositories path ( url of some server )
npm install anypackage -- i find that packangename to a server (by default npm.repository )
there is .npmrc config file where we can change the npm registry path ( url )-- that allow you to search your module (package)
.npmrc ( is present in your home folder )
There are 2 ways to install module
1) local --- npm install moduename
2) global -- npm install -g modulename
________________________________
how to create nodejs project ::::::::::::::::
____________________________
Modules / packages : 2 kind of -
1) buildin package like fs, os, child, http .........
2) external packages like expresjs, socketjs,
_____________________________________________
Read and write file using nodejs --- fs module
________________________________________________
http server using http module
learn more --
www.webxtutor.com
if you are looking for job -- apply here
https://webxtutor.com/job-hiring-for-...