sup

superlevel

a minimalist cli utility for leveldb databases

Showing:

Popularity

Downloads/wk

2

GitHub Stars

51

Maintenance

Last Commit

4yrs ago

Contributors

0

Package

Dependencies

5

Size (min+gzip)

13.2KB

License

BSD-2-Clause

Type Definitions

Tree-Shakeable

No?

Categories

Readme

superlevel

a minimalist cli utility for leveldb databases

NPM

if you want more features check out lev

usage

$ superlevel <path-to-leveldb> <command> <key> <value> --option

most arguments are applied directly to a levelup instance

examples

$ superlevel db put foo baz --createIfMissing=true # if the db doesnt exist yet
$ superlevel db/ get foo
baz
$ superlevel db/ put foo baz
$ superlevel db/ get foo
bar
$ superlevel db/ put zoo cow
$ superlevel db/ createReadStream
{"key":"foo","value":"bar"}
{"key":"zoo","value":"cow"}
$ superlevel db/ createReadStream --start=z
{"key":"zoo","value":"cow"}
$ superlevel db/ delete foo
$ superlevel db/ createReadStream
{"key":"zoo","value":"cow"}

streaming many gets and puts

$ cat cooldata.json | superlevel db/ createWriteStream
{"success":true,"key":"pizza"}
{"success":true,"key":"musubi"}
$ cat cooldata.json | jsonfilter key | superlevel db/ createGetStream
{"key":"pizza","value":"pineapple"}
{"key":"musubi","value":"spam"}

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial