Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
cli-json-parser
Advanced tools
Readme
npm package template
npm install --save cli-json-parser
import cliJsonParser from "cli-json-parser";
console.log(cliJsonParser("Hello, world!")[0]);
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.
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 toPATH
.
cli-json-parser "Hey!"
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.
👤 Rahil Kabani
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2021 Rahil Kabani.
This project is MIT licensed.
FAQs
cli json parser
The npm package cli-json-parser receives a total of 3 weekly downloads. As such, cli-json-parser popularity was classified as not popular.
We found that cli-json-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.