DataENV is a cli tool that allows you to save data temporarily using your terminal.
npm install dataenvbash
npm install -g dataenv
`Usage
$3
* [LocalStorage][1]
* [npx dataenv save][2]
* [Parameters][3]
* [npx dataenv show][4]
* [Parameters][5]
* [npx dataenv del][6]
* [Parameters][7]
Node-LocalStorage
We use node-lolcalstorage to store the data in the local storage in a folder called
tmp/node-dataenv-localStoragenpx dataenv saveSave the data identified by the unique key.
$3
*
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 showShow the data identified by the unique key.
$3
*
key The unique key to identify the dataReturns any The value saved in the localStorage identified by the key.
npx dataenv delDelets a key from the localStorage
$3
*
key The unique key to identify the dataReturns any The key deleted from the localStorage.
[1]: #localstorage
[2]: #save
[3]: #parameters
[4]: #show
[5]: #parameters-1
[6]: #del
[7]: #parameters-2
$3
`bash
# (make sure you build before linking)
npm link
dataenv
``