Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikeerickson/pkg-version-cli
CLI returning package.json version for current directory
https://github.com/mikeerickson/pkg-version-cli
Last synced: 15 days ago
JSON representation
CLI returning package.json version for current directory
- Host: GitHub
- URL: https://github.com/mikeerickson/pkg-version-cli
- Owner: mikeerickson
- License: mit
- Created: 2016-11-18T02:49:43.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-22T21:56:03.000Z (almost 8 years ago)
- Last Synced: 2024-02-18T09:53:42.193Z (9 months ago)
- Language: JavaScript
- Size: 45.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# pkg-version-cli
## Intro
Simple CLI to return package.json version information for current directory. In addition, you can supply a different filename (instead of default package.json)Install
```
$ npm i -g pkg-verison-cli
```Usage
```
$ package-version
Current Version: #.#.# <-- returns current version
```You can also supply an alternate json file (requires name and version properties)
```
$ package-version test.json
```## Credits
pkg-version-cli written by Mike Erickson
E-Mail: [[email protected]](mailto:[email protected])
Twitter: [@codedungeon](http://twitter.com/codedungeon)
Website: [codedungeon.org](http://codedungeon.org)