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

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.
主站蜘蛛池模板: 梅州市| 岳阳市| 门头沟区| 四平市| 治多县| 霞浦县| 张掖市| 揭阳市| 贵德县| 通河县| 建阳市| 东兰县| 鹤庆县| 广宗县| 安达市| 红安县| 施甸县| 屯门区| 屯门区| 河东区| 黄浦区| 台前县| 通城县| 福州市| 上饶县| 巴中市| 陇川县| 赫章县| 宜都市| 夏河县| 宝清县| 榆树市| 凤翔县| 万宁市| 包头市| 边坝县| 扶绥县| 青冈县| 宁南县| 普兰店市| 莲花县|