Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindresorhus/latest-version-cli
Get the latest version of an npm package
https://github.com/sindresorhus/latest-version-cli
Last synced: about 1 month ago
JSON representation
Get the latest version of an npm package
- Host: GitHub
- URL: https://github.com/sindresorhus/latest-version-cli
- Owner: sindresorhus
- License: mit
- Created: 2015-10-09T20:23:57.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T07:15:32.000Z (9 months ago)
- Last Synced: 2024-04-13T17:42:28.750Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 51
- Watchers: 8
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-npm - latest-version - Get the latest version of an npm package. (Packages / Registry)
- awesome-npm - latest-version - Get the latest version of an npm package. (Packages / Registry)
README
# latest-version-cli
> Get the latest version of an npm package
## Install
```
$ npm install --global latest-version-cli
```## Usage
```
$ latest-version --helpUsage
$ latest-versionOptions
--range Specify which semver range to use to find the latest versionExamples
$ latest-version ava
3.13.0
$ latest-version electron --range=beta
11.0.0-beta.11
```## Related
- [latest-version](https://github.com/sindresorhus/latest-version) - API for this module