我爱编程

1. Install Node.js and npm

2017-04-05  本文已影响0人  LillianSiYin

Node.js Briefing

1. Installation
C:\Users\LillianSiYin>node -v
v6.9.5

npm

1. Check Installation
C:\Users\LillianSiYin>npm -v
3.10.10
2. Brief Intro

Npm is actually a package management tool of Node.js.

Why do we need a package management tool? Because we developed on Node.js, which may use a lot of other people's JavaScript codes, which already put into a unique package. If we want to use a particular package, each time by name search the official website, download the code, extract, and then use, very troublesome.

So a centralized management tool came into being: we put their development of the module into the npm official website as different packages, if you want to use one of them, you can directly use it by install the npm.

上一篇下一篇

猜你喜欢

热点阅读