npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

config-storage-cli

v0.1.3

Published

CLI application to store key-value pairs in your computer

Downloads

2

Readme

Config Storage CLI

npm npm

The Config Storage CLI is a command-line tool that allows you to store and retrieve values locally on your computer. It provides a simple and convenient way to manage key-value pairs, making it ideal for storing and accessing configuration settings, temporary data, and other types of information that you need to persist locally.

Features:

  • Easy-to-use: The Config Storage CLI offers a user-friendly interface, allowing you to store and retrieve values with straightforward commands.
  • Key-Value Storage: It enables you to store data using key-value pairs, making it flexible for various use cases.
  • Secure Storage: Your values are stored locally on your computer, ensuring data privacy and security.

Whether you need a convenient way to store configuration settings, API keys, or any other type of data locally, Config Storage CLI simplifies the process and provides a reliable solution for managing your stored values.

This package is based on https://www.npmjs.com/package/config-storage.

Installation

npm i -g config-storage-cli

Usage

Note: You can also use csc instead of config-storage.

You can use the command config-storage to see all the available commands.

$ config-storage

Usage: config-storage [options] [command]

CLI util to store key-value pairs in your computer

Options:
  -V, --version  output the version number
  -h, --help     display help for command

Commands:
  set            Set a key-value pair in your computer
  get            Get a stored value using a key
  delete         Delete a stored value using a key
  clean          Clean all your stored data
  list           List all your stored keys
  help           display help for command

:arrow_right: set command

config-storage set <key> <value>
$ config-storage set hello world

The hello key was stored succesfully.

:arrow_right: get command

config-storage get <key>
$ config-storage get hello

world
$ config-storage get goodbye

The key 'goodbye' does not exist.

You can use the option -c to copy the stored value into your clipboard.

$ config-storage get -c hello

world

:arrow_right: delete command

$ config-storage delete hello

? Are you sure you want to delete your hello key? (y/N) y
The hello key was deleted succesfully.
$ config-storage delete goodbye

The key 'goodbye' does not exist.

:arrow_right: list command

$ config-storage list

Stored Keys:
token_one
token_two
username_web_one
username_web_two

:arrow_right: clean command

$ config-storage clean

? Are you sure you want to delete all your stored keys? Yes
All of your data was deleted succesfully.

License

MIT