keyv-sqlite

SQLite storage adapter for Keyv

You should upgrade to keyv@2 and used the scoped SQLite adapter @keyv/sqlite
Last updated 3 years ago by lukechilds .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install keyv-sqlite 
SYNC missed versions from official npm registry.

keyv-sqlite keyv

SQLite storage adapter for Keyv

Build Status Coverage Status npm

SQLite storage adapter for Keyv.

Install

npm install --save keyv keyv-sqlite

Usage

const Keyv = require('keyv');

const keyv = new Keyv('sqlite://path/to/database.sqlite');
keyv.on('error', handleConnectionError);

You can specify the table and busyTimeout option.

e.g:

const keyv = new Keyv('sqlite://path/to/database.sqlite', {
  table: 'cache',
  busyTimeout: 10000
});

License

MIT © Luke Childs

Current Tags

  • 1.2.4                                ...           latest (3 years ago)

10 Versions

  • 1.2.4 [deprecated]           ...           3 years ago
  • 1.2.3 [deprecated]           ...           3 years ago
  • 1.2.2 [deprecated]           ...           3 years ago
  • 1.2.1 [deprecated]           ...           3 years ago
  • 1.2.0 [deprecated]           ...           3 years ago
  • 1.1.0 [deprecated]           ...           3 years ago
  • 1.0.0 [deprecated]           ...           3 years ago
  • 0.3.0 [deprecated]           ...           3 years ago
  • 0.2.0 [deprecated]           ...           3 years ago
  • 0.1.0 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |