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

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.
主站蜘蛛池模板: 准格尔旗| 汪清县| 万盛区| 上林县| 临武县| 卢氏县| 晋州市| 平利县| 邹城市| 临泉县| 柏乡县| 衡东县| 镇宁| 玉林市| 屯留县| 施甸县| 祁门县| 张家界市| 孝义市| 洪雅县| 金秀| 塔河县| 修文县| 阳曲县| 堆龙德庆县| 遵义县| 九龙县| 洛浦县| 乌拉特前旗| 宁远县| 芦溪县| 昭平县| 彭泽县| 海兴县| 都兰县| 务川| 余江县| 扬州市| 阿拉善左旗| 襄樊市| 灌云县|