New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rocksv

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

rocksv

RocksDB simple viewer tool

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

rocksv

RocksDB simple viewer tool

oclif Version Downloads/week License

  • Usage
  • Commands

Usage

$ npm install -g rocksv
$ rocksv COMMAND
running command...
$ rocksv (-v|--version|version)
rocksv/0.1.1 darwin-x64 node-v12.16.1
$ rocksv --help [COMMAND]
USAGE
  $ rocksv COMMAND
...

Commands

rocksv get DATAPATH KEY

Get single value by key

USAGE
  $ rocksv get DATAPATH KEY

ARGUMENTS
  DATAPATH  Path to the RocksDB folder

  KEY       Key to get from the database. Custom replacer h{}, b{}, i{}, d{} from hex, base64, number, bigint to binary
            representation can be used. (For integer, it is big endian)

OPTIONS
  -f, --format=hex|base64|string  [default: hex] Format of value to display.
  -h, --help                      show CLI help

EXAMPLE
  rsc get dataPath searchingKey

See code: src/commands/get.ts

rocksv get-all DATAPATH

Get rage of data

USAGE
  $ rocksv get-all DATAPATH

ARGUMENTS
  DATAPATH  Path to the RocksDB folder

OPTIONS
  -d, --delimiter=delimiter                   [default: :] Delimiter of the key

  -e, --end=end                               Key for the search to end with. Custom replacer h{}, b{}, i{}, d{} from
                                              hex, base64, number, bigint to binary representation can be used. (For
                                              integer, it is big endian)

  -f, --format=hex|base64|string              [default: hex] Format of value to display.

  -h, --help                                  show CLI help

  -l, --limit=limit                           Limit of the values to search

  -p, --prefix=prefix                         Prefix of keys to search

  -r, --reverse                               Show values in reverse order

  -s, --start=start                           Key for the search to start from. Custom replacer h{}, b{}, i{}, d{} from
                                              hex, base64, number, bigint to binary representation can be used. (For
                                              integer, it is big endian)

  --key-format=string|smart-hex|smart-base64  [default: smart-hex] Format of key to display. smart-hex and smart-base64
                                              will try to encode to hex or base64 with range of delimiter

EXAMPLE
  rsc get-all dataPath -l 100

See code: src/commands/get-all.ts

rocksv help [COMMAND]

display help for rocksv

USAGE
  $ rocksv help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Keywords

rocksdb

FAQs

Package last updated on 20 Jun 2020

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