With abstract-level, there is no "down" or "up" anymore. For example, memdown does not have to be wrapped with levelup. This means level-mem could just do module.exports = require('memdown') to export (largely) the same functionality as before. Which begs the question, should we:
- Keep
memdown (as an abstract-level database); deprecate level-mem (as a levelup db)
- Deprecate
memdown (as an abstract-leveldown database); move code to level-mem (as an abstract-level db)
- Deprecate both and create a new
memory-level package (as well as leveldb-level, indexeddb-level, etc)
@Level/core thoughts?
With
abstract-level, there is no "down" or "up" anymore. For example,memdowndoes not have to be wrapped withlevelup. This meanslevel-memcould just domodule.exports = require('memdown')to export (largely) the same functionality as before. Which begs the question, should we:memdown(as anabstract-leveldatabase); deprecatelevel-mem(as alevelupdb)memdown(as anabstract-leveldowndatabase); move code tolevel-mem(as anabstract-leveldb)memory-levelpackage (as well asleveldb-level,indexeddb-level, etc)@Level/core thoughts?