fortune-fs

1.1.0 • Public • Published

Fortune File System Adapter

Build Status npm Version License

This is a file system adapter for Fortune.js.

$ npm install fortune-fs --save

Usage

const path = require('path')
const fortune = require('fortune')
const fsAdapter = require('fortune-fs')
 
const store = fortune(recordTypes, {
  adapter: [ fsAdapter, {
    // Absolute path to database directory.
    path: path.join(__dirname, 'db')
  } ]
})

License

This software is licensed under the MIT license.

Dependencies (3)

Dev Dependencies (4)

Package Sidebar

Install

npm i fortune-fs

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

8.9 kB

Total Files

6

Last publish

Collaborators

  • daliwali