fortune-nedb-uuid

1.0.7 • Public • Published

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-uuid

Then 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.

Package Sidebar

Install

npm i fortune-nedb-uuid

Weekly Downloads

1

Version

1.0.7

License

MIT

Last publish

Collaborators

  • cliffpyles