friend-db

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i friend-db

Weekly Downloads

4

Version

1.0.3

License

ISC

Unpacked Size

20.5 kB

Total Files

4

Last publish

Collaborators

  • lysol