Awesome
An open list of awesome Level modules and resources. Add yours!
Table of Contents
Click to expand
Core
Abstract class for a lexicographically sorted key-value database.
Storage
Modules that implement abstract-level.
Universal abstract-level database for Node.js and browsers. Main entry point for beginners.
An abstract-level database backed by LevelDB.
An abstract-level database for browsers, backed by IndexedDB.
In-memory abstract-level database for Node.js and browsers.
Encodings
// Example of a custom encoding
const { Level } = require('level')
const charwise = require('charwise')
const db = new Level('./db', {
keyEncoding: charwise
})
await db.put(['users', 2], 'example')
Protocol Buffers for Node.js. Compiled messages are valid as encodings.
Encode / decode with same encoded sort order as bytewise.
Binary serialization which sorts bytewise for arbitrarily complex data structures. NB. Use charwise if possible. Gives you almost everything bytewise does but much faster.
Wraps lexicographic-integer.
Streams
Node.js stream, Web Streams or pull-stream implementations for reading and writing data from/to databases.
Read from an abstract-level database using Node.js streams.
Read from an abstract-level database using Web Streams.
A basic writable stream for abstract-level databases, using Node.js core streams. Has not been updated for abstract-level 2 yet (to use the promise API).
Shared Access
Share an abstract-level database over the network or other kind of stream. Supersedes multileveldown and multilevel.
Use a LevelDB database from multiple processes with seamless failover. Supersedes level-party.
Processing
Modules for indexing, alternative forms of querying data, MapReduce models and other forms of data processing. This section has not been updated for abstract-level yet.
Automatic secondary indexing for levelup and subleveldown.
Query levelup with a MongoDB-like query API that returns streams.
A full MongoDB query language implementation with indexes for querying levelup.
Yet another indexing plugin for levelup. By providing only a low-level querying mechanism it gives you the power to build more complicated and optimized queries on top of it.
NB. Relies on bytewise and level-sublevel, both of which have caveats.
Create an inverted index for full-text search.
A MapReduce implementation on top of levelup. Allows you to define a map reduce query that will run on top of your db. The map reduces are incremental, and you can query the results in real-time.
Like map-reduce but simpler. Has a batch component that runs periodically, and a real-time component that fills in the gaps. Good for generating inverted indexes.
A generic pluggable query-engine system (that supports indexes) for levelup.
Triggers for levelup. Runs an async job when a key changes. All jobs will eventually run, even across restarts!
A light-weight full text search engine for levelup (Port of TJ's reds redis search engine).
Extends map-reduce and level-mapped-index to provide easy to setup chained MapReduce. An example use case is to find the top 10 values after a reduce.
Query levelup using a JavaScript property path array syntax with indexes.
Generic pluggable indexing system for levelup.
High-level API for creating secondary indexes.
Create and query secondary indexes.
Inverted index built upon levelup.
Remove the old indexes in the same batch as the new ones are inserted.
Range indexes for levelup.
Index properties of items that live in a tree of materialized paths.
SQL queries for levelup.
Store any string into levelup, and get a collision free hash of that value that you can use in an index (or similar).
Another high-level API for creating secondary indexes, using level-auto-index.
Generic indexer for levelup. Only stores document keys for space efficiency.
Lightweight indexing and querying with the LLCJ query language.
Index and filter level-sublevel databases and watch for future changes.
Relational foreign key associations (hasMany, belongsTo) for levelup.
Tree indexer for levelup.
Create indexes from a changes-feed. Provides a way to create a materialized view on top of an append-only log.
levelup interface that uses an abstract-leveldown store that writes to a changes-feed to store its state.
A wrapper for level that keeps inserted items ordered.
Databases
Complete Node.js databases built with Level.
Lets you build streaming data pipelines that can be shared and replicated by others.
PouchDB allows you to store and query data offline and then sync with CouchDB when online. For Node, browser and mobile.
A Graph database built on top of levelup with pattern-matching and join support.
Persistent database on top of levelup for Node.js/NW.js with MongoDB-style queries, Mongoose-like models and a map/reduce system.
Event-driven database based on pouchdb. Optimized for reactive programming with observables. Events and state is automatically shared between multiple browser tabs. Queries are defined by the mongoDB mango-standard.
A persistent full text search engine for browser and Node.js.
Data Structures
Modules that utilize a specific key/value scheme to provide a higher-level data structure.
Merkle DAG on top of LevelDB
Implementation of the modified merkle patricia tree as specified in Ethereum's yellow paper.
The array datatype inside levelup.
Add a set method to levelup for saving objects in a tree-like structure.
Add a push method to levelup for saving objects using level-set with auto-generated UUID.
Store and retrieve versioned data in levelup.
The queue datatype inside levelup.
Priority queuing for levelup.
A queue backed by levelup, durable and FIFO.
The TRIE data structure and search algorithm, on top of levelup.
Store key values pairs with lat/lon coordinates, and query using a radius.
Turn levelup into one huge object of arbitrary size! Efficiently and atomically update and read parts of it.
Store and retrieve places near a lat/long pair.