0.0.10 • Published 9 years ago

level-in v0.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
9 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

9 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago