@keyv/sqlite
SQLite storage adapter for Keyv
Last updated a year 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

  • 2.0.1                                ...           latest (a year ago)

10 Versions

  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           2 years ago
  • 1.2.12                                ...           3 years ago
  • 1.2.11                                ...           3 years ago
  • 1.2.10                                ...           3 years ago
  • 1.2.9                                ...           3 years ago
  • 1.2.8                                ...           3 years ago
  • 1.2.7                                ...           3 years ago
  • 1.2.6                                ...           3 years ago
  • 1.2.5                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |