How to use the level-js.destroy function in level-js

To help you get started, we’ve selected a few level-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JamesKyburz / level-airplanedb / test / simple.js View on Github external
test('cleanup', function (t) {
    leveljs.destroy(name, function () {})
    t.end()
  })
}
github handshake-org / hsd / lib / db / level.js View on Github external
DB.destroy = function destroy(db, callback) {
  Level.destroy(db, callback);
};
github regular / ssb-cms / drafts.js View on Github external
destroy: function(cb) {
      require('level-js').destroy('drafts', cb)
    },

level-js

An abstract-leveldown compliant store on top of IndexedDB

MIT
Latest version published 3 years ago

Package Health Score

74 / 100
Full package analysis

Popular level-js functions