/chronodb

ChronoDB is a time-series local DB for Node.js powered by Google's LevelDB.

Primary LanguageTypeScriptMIT LicenseMIT

Build Status Coverage Status npm version

ChronoDB

ChronoDB is a time-series local DB for Node.js powered by Google's LevelDB.

Features

  • Easy to use - just put your data and query by start/end date
  • Small library - you can include it as a library in your project. No need to build/install a dedicated DB server.
  • Modern JS - put/get/query operations return Promise. For large data, stream operation is also supported
  • Definitely typed - type definition is included in the npm package
  • Blazingly fast - adding nearly no overhead to LevelDB

Getting started

Installation

npm install @bitr/chronodb

Example

...

Real-world example

R2 Bitcoin Arbitrager utilizes the library to persist data.

Interface

...