1.8.1 • Published 5 years ago
@loilo/nedb v1.8.1
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