1.0.7 • Published 8 years ago

fortune-nedb-uuid v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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.

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago