DataEnv CLI
Instllation
npm install -g dataenv
Usage
Table of Contents
Node-LocalStorage
We use node-lolcalstorage to store the data in the local storage in a folder called tmp/node-dataenv-localStorage
npx dataenv save
Save the data identified by the unique key.
Parameters
-
key
The Unique key to identify the data. -
value
The Value to save in the localStorage identified by the key.
Returns any The value saved along with the key.
npx dataenv show
Show the data identified by the unique key.
Parameters
-
key
The unique key to identify the data
Returns any The value saved in the localStorage identified by the key.
npx dataenv del
Delets a key from the localStorage
Parameters
-
key
The unique key to identify the data
Returns any The key deleted from the localStorage.
Install CLI locally
# (make sure you build before linking)
npm link
dataenv