Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

ez-args-json

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ez-args-json

```js const program = require("ez-args"); const cli = new program(); cli.use(require("ez-args-json")); //Save data to the home directory: cli.json.set("key","value"); //Get data cli.json.get("key"); //Check if data exists cli.json.has("key"); //

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source
const program = require("ez-args");
const cli = new program();
cli.use(require("ez-args-json"));
//Save data to the home directory:
cli.json.set("key","value");
//Get data
cli.json.get("key");
//Check if data exists
cli.json.has("key");
//Delete data
cli.json.delete("key")

Thank you :)

FAQs

Package last updated on 12 Jun 2020

Did you know?

Socket

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.

Install

Related posts