Socket
Socket
Sign inDemoInstall

fortune-seedable-memory

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fortune-seedable-memory

Seedable in-memory adapter for Fortune.


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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.

❤️🐷

Keywords

FAQs

Package last updated on 05 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc