1.0.55 ā€¢ Published 3 years ago

cli-json-parser v1.0.55

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

npm package template

Programmatic usage:

Installation

npm install --save cli-json-parser

Usage

import cliJsonParser from "cli-json-parser";

console.log(cliJsonParser("Hello, world!")[0]);

Command line usage:

Using without installation

npx cli-json-parser "Goodbye, world!"

Note: Use this method only if you plan to use cli-json-parser for one time, installing cli-json-parser globally (see-below) is recommended for multiple time usages.

Installation

npm install cli-json-parser -g

Note for Linux & MacOS users: DO NOT use sudo to install global packages! The correct way is to tell npm where to install its global packages: npm config set prefix ~/.local. Make sure ~/.local/bin is added to PATH.

Usage after installation

cli-json-parser "Hey!"

Screenshot

API

For CLI usage, see the help option:

npx cli-json-parser --help

For programmatic usage, use the default exported module. It takes any number of arguments and returns them all in the form of an array.

Author

šŸ‘¤ Rahil Kabani

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ā­ļø if this project helped you!

cli-json-parser

šŸ“ License

Copyright Ā© 2021 Rahil Kabani. This project is MIT licensed.