How to use the memdown.prototype function in memdown

To help you get started, we’ve selected a few memdown 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 toolness / jsondown / jsondown.js View on Github external
JsonDOWN.prototype._del = function(key, options, cb) {
  MemDOWN.prototype._del.call(this, key, options, noop);
  this._writeToDisk(cb);
};
github toolness / jsondown / jsondown.js View on Github external
JsonDOWN.prototype._put = function(key, value, options, cb) {
  MemDOWN.prototype._put.call(this, key, value, options, noop);
  if (!this._isLoadingFromFile) this._writeToDisk(cb);
};

memdown

An drop-in replacement for LevelDOWN that works in memory only

MIT
Latest version published 3 years ago

Package Health Score

58 / 100
Full package analysis