1.0.3 • Published 5 years ago

friend-db v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

HAAANK

F·R·I·E·N·D

This is a persistent storage module ported from a python module that I made for an IRC bot that had to deal with a few hundred thousand records for various things I was storing. This is meant to have a simple interface, and should scale semi-linearly depending on the number of records, their composition, and how you configure the key chunking. There is no journal or other kind of incomplete write protection so you'll have to provide your own mechanism for that (handle SIGINT and finish writes before exiting, for example).

Think of it as a slightly faster way to store crap on your disk than a single giant json file.

Quickstart

Read the code for now, everything returns a promise

TODO

  • Write documentation
  • Import tests from another project I wrote this within