dataenv

1.0.0-beta.1 • Public • Published

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

/dataenv/

    Package Sidebar

    Install

    npm i dataenv

    Weekly Downloads

    2

    Version

    1.0.0-beta.1

    License

    Apache-2.0

    Unpacked Size

    5.34 kB

    Total Files

    5

    Last publish

    Collaborators

    • pgamerx