JSPM

level-is-empty

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q18922F
  • License MIT

Find out if your levelDB is empty!

Package Exports

  • level-is-empty

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (level-is-empty) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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'));
});