5.0.3 • Published 8 years ago

superlevel v5.0.3

Weekly downloads
2
License
BSD
Repository
github
Last release
8 years ago

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"}
5.0.3

8 years ago

5.0.2

8 years ago

5.0.1

8 years ago

5.0.0

8 years ago

4.0.1

9 years ago

4.0.0

9 years ago

3.0.3

10 years ago

3.0.2

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

1.0.0

10 years ago