Level/community

Redisdown: how to create new `level-` libs?

fergiemcdowall opened this issue · 1 comments

Hi!

One of the many great things about the old level ecosystem were all of the *down libraries for connecting to different database backends.

Many of these (for example redisdown) no longer work on the new level@8 architecture.

Say that you, a random developer on the internet, want to create level-redis for level@8- where would you start? How would you go about doing this? Asking for a friend ;)

There's a few ways to go about this:

  1. Take an existing abstract-leveldown implementation and follow the upgrade guide of abstract-level. See also the FAQ.
  2. Start from scratch and read Private API For Implementors
  3. Use memory-level or other implementations as reference.

Naming-wise, prefer e.g. redis-level (i.e. *-level).