Created
May 21, 2015 12:34
-
-
Save sorribas/89e4c56e61ce3773cf87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mmm = require('multi-master-merge'); | |
var leveljs = require('level-js'); | |
var levelup = require('levelup'); | |
var lup = levelup('invoicer', { db: leveljs }); | |
var db = mmm(lup, {encoding: 'json'}); | |
db.put('a', {}, function() { | |
db.get('a', function(err, val) { | |
console.log(val); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment