Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dataenv

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dataenv

DataENV is a cli tool that allows you to save data temporarily using your terminal.

  • 1.0.0-beta.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

DataEnv CLI

Instllation

npm install -g dataenv

Usage

Table of Contents

  • LocalStorage
  • npx dataenv save
  • npx dataenv show
  • npx dataenv del

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

Keywords

FAQs

Package last updated on 01 Feb 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc