1.0.7 • Published 10 years ago
fortune-nedb-uuid v1.0.7
Fortune NeDB Adapter (with UUID v4)
This is NeDB adapter for Fortune. This fork replaces ObjectId identifiers, with UUID (v4). Originally forked from NeDB
Usage
Install the fortune-nedb-uuid package from npm:
$ npm install fortune-nedb-uuidThen use it with Fortune:
import fortune from 'fortune'
import nedbAdapter from 'fortune-nedb-uuid'
const store = fortune.create({
adapter: { type: nedbAdapter }
})Options
All of the options are enumerated here. Here are adapter-specific options:
dbPath: Path to a directory where the database is persisted to disk. Optional.
Note that the filename option has no effect.
License
This software is licensed under the MIT License.