initial commit: working mqtt example

This commit is contained in:
2018-01-04 20:26:48 -07:00
commit b3c3f2bcce
13 changed files with 6150 additions and 0 deletions

12
dump.js Normal file
View File

@@ -0,0 +1,12 @@
const level = require('level');
const db = level('db');
db
.createReadStream()
.on('data', data => {
console.log(data.key, '=', data.value);
})
.on('end', () => {
console.log('--- DONE');
});