Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaid/package-field-cli
CLI that prints the value of a specified field from package.json.
https://github.com/jaid/package-field-cli
cli field node node-js nodejs npm package package-json pkg print util utility
Last synced: 8 days ago
JSON representation
CLI that prints the value of a specified field from package.json.
- Host: GitHub
- URL: https://github.com/jaid/package-field-cli
- Owner: Jaid
- License: mit
- Created: 2019-06-20T01:09:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T00:47:58.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T14:49:28.689Z (8 months ago)
- Topics: cli, field, node, node-js, nodejs, npm, package, package-json, pkg, print, util, utility
- Language: JavaScript
- Homepage: https://github.com/Jaid/package-field-cli
- Size: 2.43 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license.txt
Awesome Lists containing this project
README
# package-field-cli
**CLI that prints the value of a specified field from package.json.**
## Installation
```bash
npm install --global package-field-cli@^2.0.0
``````bash
yarn global add package-field-cli@^2.0.0
```## CLI Usage
After installing package `package-field-cli` globally, you can use its command line interface.
```bash
package-field-cli
```
For usage instructions:
```bash
package-field-cli --help
```## Development
Development hints for maintaining and improving package-field-cli
Setting up:
```bash
git clone [email protected]:jaid/package-field-cli.git
cd package-field-cli
npm install
```
Testing:
```bash
npm run test:dev
```
Testing in production environment:
```bash
npm run test
```## License
[MIT License](https://raw.githubusercontent.com/jaid/package-field-cli/master/license.txt)
Copyright © 2020, Jaid \ (https://github.com/jaid)