level-is-empty
v1.0.0
Published
Find out if your levelDB is empty!
Downloads
2
Readme
level-is-empty
checks if your LevelDB is empty.
Usage
var isEmpty = require('level-is-empty');
isEmpty(myDB, function(err, empty) {
console.log('my db is ' + (empty ? 'empty' : 'not empty'));
});