Last active
May 6, 2018 11:39
-
-
Save ralphtheninja/95b17af5d990a5b658f043d5406b95b1 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
const level = require('level-browserify') | |
const db = level('./foo') | |
db.put('key', 'value', err => { | |
db.get('key', (err, value) => { | |
console.log('value=', value) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment