Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)