0.0.10 • Published 8 years ago

level-in v0.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

A simple utility for writing to a leveldb via levelup

NPM version MIT License Build Status

Usage

Install globally with npm install -g level-in and then use like so:

  Usage: level-in <databaseName> [options]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -k, --key [value]    specify a key
    -m, --mode [value]   specify a mode, can be either "put" or "del"
    -v, --value [value]  specify a value

level-in is pipeable so you can stream data into it like so:

echo '{"key":"1",value:"one"}' | level-in myDB

...meaning you could dump the contents of a text file into a levelDB like so:

cat data.stream | level-in myDB

...or even replicate from another DB using level-out

level-out oldDB | level-in newDB
0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago