Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2nthony/latest-version
Get the latest version of npm packages
https://github.com/2nthony/latest-version
current latest module npm package package-json version
Last synced: 12 days ago
JSON representation
Get the latest version of npm packages
- Host: GitHub
- URL: https://github.com/2nthony/latest-version
- Owner: 2nthony
- License: mit
- Created: 2019-06-15T06:36:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:26:51.000Z (about 1 year ago)
- Last Synced: 2024-12-14T04:33:37.675Z (19 days ago)
- Topics: current, latest, module, npm, package, package-json, version
- Language: JavaScript
- Size: 820 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# latest-version
> Get the latest version of npm packages
Please consider starring the project to show your ❤ and support.
[![NPM version](https://badgen.net/npm/v/@evillt/latest-version?icon=npm)](https://npmjs.com/package/@evillt/latest-version)
[![NPM download](https://badgen.net/npm/dm/@evillt/latest-version?icon=npm)](https://npmjs.com/package/@evillt/latest-version)
[![CircleCI](https://badgen.net/circleci/github/evillt/latest-version?icon=circleci)](https://circleci.com/gh/evillt/latest-version/tree/master)
[![License](https://badgen.net/npm/license/@evillt/latest-version)](./LICENSE)
[![donate](https://badgen.net/badge/support%20me/donate/f2a)](https://donate.evila.me)## Comparison [latest-version-cli](https://github.com/sindresorhus/latest-version-cli)
- Support multiple packages input
- Support specify registry
- Pretty output![image](https://unpkg.com/@evillt/media@latest/projects/latest-version/main.svg)
## Usage
One-off usage via `npx`:
```sh
$ npx @evillt/latest-version [...packages]# Example
$ npx @evillt/latest-version loading-screen poi
```Or using it globally:
```sh
$ npm i -g @evillt/latest-version# Or using yarn
$ yarn global add @evillt/latest-version$ latest-version vue react
```## CLI
`latest-version [...packages] [option]`
### `packages`
The packages.
### `options`
#### `-r, --registry `
Use the specified registry instead of npm registry.
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**latest-version** © [evillt](https://github.com/evillt), Released under the [MIT](./LICENSE) License.
Authored and maintained by **EVILLT** with help from contributors ([list](https://github.com/evillt/latest-version/contributors)).
> [evila.me](https://evila.me) · GitHub [@evillt](https://github.com/evillt) · Twitter [@evillt](https://twitter.com/evillt)