Fast and simple storage. A Node.js wrapper for abstract-leveldown compliant stores, which follow the characteristics of LevelDB. LevelDB is a simple key-value store built by Google. It's used in Google Chrome and many other products. LevelDB supports arbitrary byte arrays as both keys and values, singular get, put and delete operations, batched put and delete, bi-directional iterators and simple compression using the very fast Snappy algorithm. LevelDB stores entries sorted lexicographically by keys. This makes the streaming interface of levelup - which exposes LevelDB iterators as Readable Streams, a very powerful query mechanism. The most common store is leveldown which provides a pure C++ binding to LevelDB. Many alternative stores are available such as level.js in the browser or memdown for an in-memory store. They typically support strings and Buffers for both keys and values. For a richer set of data types you can wrap the store with encoding-down.

Features

  • We aim to support Active LTS and Current Node.js releases as well as browsers
  • All operations are asynchronous
  • Calling levelup(db) will also open the underlying store
  • Get multiple values from the store by an array of keys
  • Stores like LevelDB are thread-safe but they are not suitable for accessing with multiple processes
  • You should only ever have a store open from a single Node.js process

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow levelup

levelup Web Site

Other Useful Business Software
Build on Google Cloud with $300 in Free Credit Icon
Build on Google Cloud with $300 in Free Credit

New to Google Cloud? Get $300 in free credit to explore Compute Engine, BigQuery, Cloud Run, Vertex AI, and 150+ other products.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query exabytes in BigQuery, or build AI apps with Vertex AI and Gemini. Once your credits are used, keep building with 20+ products with free monthly usage, including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. Sign up to start building right away.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of levelup!

Additional Project Details

Operating Systems

Apple iPhone, Linux

Programming Language

JavaScript

Related Categories

JavaScript Database Software

Registered

2022-02-09