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

@qgisk/kv-cli

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

@qgisk/kv-cli

CLI for kv

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

@qgisk/kv-cli

npm version npm downloads

Install

npm i @qgisk/kv-cli

KV Cli

KV has a simple cli for most commands (everything but all)

Installation

npm i -g @qgisk/kv

Help

kv --help

For specific commands

kv get -h # or --help

Settings

Default settings

{
    "db": {
        "uri": "mongodb://localhost:27017/kv"
    },
    "namespace": "kv"
}

Updating settings

kv settings --uri <your uri: string> --namespace <namespace: string>

Setting a value

Supports multi word values

kv set [key] [value] --namespace <optional> --ttl [number (in ms)] <optional>

Getting a value

kv get [key] --namespace <optional>

Deleting a value

kv delete [key] --namespace <optional>

Clearing a namespace

kv clear --namespace <optional>

Coming soon / To do

  • Tests for the cli

MIT Demian

Keywords

FAQs

Package last updated on 05 Jan 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