# npm update

更新所有依赖项。

```bash
$ npm update
```

更新单个依赖。

```bash
$ npm update xml2js
```

同时更新 package.json 里面每个依赖的版本号。

```bash
$ npm update --save
```