eugeneware / msgpackup

Add msgpack as a levelup leveldb encoding
4 stars 0 forks source link

README.md with how to install and use? #1

Open coolaj86 opened 10 years ago

coolaj86 commented 10 years ago

'nuff said

eugeneware commented 10 years ago

@coolaj86 levelup now supports codecs, so you can just do something like:

var levelup = require('levelup'),
      msgpack = require('msgpack');
var db = levelup('/path/to/db', { valueEncoding: msgpack });