官术网_书友最值得收藏!

npm - the Node Package Manager

Writing applications with Node.js is really enjoyable when you realize the sheer wealth of information and tools at your disposal! Using Node.js's built-in package manager, npm, you can find literally tens of thousands of modules that can be installed and used within your application with just a few keystrokes! One of the biggest reasons for the success of Node.js is npm, which is one of the best package managers out there, with a very minute learning curve. If this is the first ever package manager that you are getting exposed to, you should consider yourself lucky!

On a regular month, npm handles more than a billion downloads, and it has around 150,000 packages currently available for you to download. You can view the library of available modules by visiting www.npmjs.com. Downloading and installing any module within your application is as simple as executing the following command:

npm install package 

Have you written a module that you want to share with the world? You can package it up using npm and upload it to the public registry at www.npmjs.org just as easily! If you are not sure how a module you installed works, the source code is right there in your project's node_modules/ folder waiting to be explored!

Package versions of modules in npm follow semantic versioning, such as major.minor.patch order.
主站蜘蛛池模板: 西畴县| 和静县| 东兴市| 通许县| 井冈山市| 苍溪县| 资源县| 武城县| 余江县| 连江县| 大渡口区| 肃北| 平谷区| 科技| 岳池县| 台南县| 佛冈县| 阿鲁科尔沁旗| 板桥市| 莒南县| 木里| 都昌县| 巫山县| 尚义县| 孟津县| 保靖县| 平利县| 尉氏县| 陆丰市| 金塔县| 新河县| 宁安市| 延津县| 泰安市| 环江| 南开区| 玛多县| 玉溪市| 靖州| 洛南县| 神农架林区|