How many packages are there in NPM?

Answer

 350,000 packages.

NPM is a package manager for Node.js packages, or modules if you like.A package in Node.js contains all the files you need for a module.Modules are JavaScript libraries you can include in your project.

 

Example-- 

var http = require('http');
var uc = require('upper-case');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type''text/html'});
  res.write(uc.upperCase("Hello World!"));
  res.end();
}).listen(8080);

 

 

 

 

All npm Questions

Ask your interview questions on npm

Write Your comment or Questions if you want the answers on npm from npm Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---