1.0.0 • Published 3 years ago

fortune-seedable-memory v1.0.0

Weekly downloads
-
License
Unlicense
Repository
github
Last release
3 years ago

Fortune Seedable Memory Adapter NPM Version CI Status

In-memory adapter for Fortune that can be seeded with data stored in the JSON Lines format.

Usage

Install the fortune-seedable-memory package from npm:

$ npm install fortune-seedable-memory

Then use it with Fortune:

import fortune from 'fortune';
import seedableAdapter from 'fortune-seedable-memory';

const store = fortune({ ... }, {
  adapter: [seedableAdapter, {
    // Adapter options:
    dbPath: '/path/to/seeds',
  }],
});

Options

License

Public domain. For more information, please refer to unlicense.org or to this project's LICENSE file.

❤️🐷

1.0.0

3 years ago

0.2.1

3 years ago

0.1.0

3 years ago