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

You Might Also Like
Employee monitoring software with screenshots Icon
Employee monitoring software with screenshots

Clear visibility and insights into how employees work. Even remotely.

Stay productive working at any distance from anywhere with Monitask.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of levelup!

Additional Project Details

Operating Systems

Linux, Apple iPhone

Programming Language

JavaScript

Related Categories

JavaScript Database Software

Registered

2022-02-09