1.8.1 • Published 5 years ago

@loilo/nedb v1.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

NeDB with Promises

This is an extremly thin wrapper around the NeDB library, using Proxies with tapsig.

Usage

The API is almost exactly the same as in NeDB 1.8 with two key differences:

  • Obviously, the callback parameters are omitted.
  • Because callbacks are omitted, .find() and .count() need to always be followed up with .exec() to yield a result.

Installation

npm install --save @loilo/nedb
1.8.1

5 years ago

1.8.0

5 years ago