updates/README.md

29 lines
1021 B
Markdown
Raw Permalink Normal View History

2017-12-03 11:15:02 +00:00
# updates
[![](https://img.shields.io/npm/v/updates.svg?style=flat)](https://www.npmjs.org/package/updates) [![](https://img.shields.io/npm/dm/updates.svg)](https://www.npmjs.org/package/updates) [![](https://api.travis-ci.org/silverwind/updates.svg?style=flat)](https://travis-ci.org/silverwind/updates)
2017-12-03 11:36:27 +00:00
> Fast npm dependency updating tool
2017-12-03 11:15:02 +00:00
2017-12-03 11:36:27 +00:00
`updates` is a lightweight CLI tool that checks for npm dependency updates and optionally automatically updates `package.json`. Unlike other similar tools, it has no dependency on any package manager but instead works directly with the npm registry.
2017-12-03 11:15:02 +00:00
2017-12-03 11:30:39 +00:00
## Install:
```sh
$ npm install -g updates
$ yarn global add updates
```
2017-12-03 11:15:02 +00:00
## Example:
```sh
2017-12-03 11:15:56 +00:00
$ updates
NAME OLD NEW
2017-12-03 11:15:56 +00:00
got ^8.0.1 ^8.0.1
semver ^5.4.1 ^5.4.1
eslint ^4.12.1 ^4.12.1
$ updates -u
package.json updated!
2017-12-03 11:27:51 +00:00
$ time updates
All packages are up to date.
updates 0.28s user 0.06s system 82% cpu 0.417 total
2017-12-03 11:15:02 +00:00
```
© [silverwind](https://github.com/silverwind), distributed under BSD licence