{"repo":"Level/abstract-level","free":true,"listed":false,"github":"https://github.com/Level/abstract-level","clone":"git clone https://github.com/Level/abstract-level.git","description":"Abstract class for a lexicographically sorted key-value database.","language":"JavaScript","stars":165,"topics":["nodejs","browsers","level","database","javascript"],"license":"MIT","category":"databases-storage","readme_excerpt":"abstract-level Abstract class for a lexicographically sorted key-value database. Provides encodings, sublevels, events and hooks. If you are upgrading, please see UPGRADING.md . :pushpin: Wondering what happened to levelup ? Visit Frequently Asked Questions. [![level badge][level-badge]](https://github.com/Level/awesome) Usage This module exports an abstract class. End users should instead use modules like level that export a concrete implementation. The purpose of the abstract class is to provide a common interface that looks like this: Usage from TypeScript requires generic type parameters. TypeScript example TypeScript users can benefit from the using keyword because abstract-level implements Symbol.asyncDispose on its resources. For example: Using example The equivalent in JavaScript would be: Install With npm do: Supported Platforms We aim to support Active LTS and Current Node.js releases, as well as evergreen browsers that are based on Chromium, Firefox or Webkit. Features that the runtime must support include queueMicrotask , Promise.allSettled() , globalThis and async generators. Supported runtimes may differ per implementation. Public API For Consumers This module has a public API for consumers of a database and a private API for concrete implementations. The public API, as documented in this section, offers a simple yet rich interface that is common between all implementations. Implementations may have additional options or methods. TypeScript type declarations are","default_branch":null,"files":null,"tree":[],"storefront":"/r/Level","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Level/abstract-level/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}