any-queue-sqlite
v0.1.0
Published
SQLite persistence interface for any-queue
Downloads
5
Readme
any-queue-sqlite
SQLite persistence interface for any-queue
Install
$ npm install --save any-queue-sqlite
Usage
import { Queue } from "any-queue";
import anyQueueSqlite from "any-queue-sqlite";
const persistenceInterface = anyQueueSqlite({
uri: "sqlite://root:nt3yx7ao2e9@localhost/any-queue-demo"
});
const queue = Queue({ persistenceInterface, name: "foo" });
API
anyQueueSqlite({ uri, config })
Returns a sqlite connector.
uri
- db uriconfig
- dialectOptions, as described in sequelize docs
License
MIT © Gerardo Munguia