Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@keyv/sqlite

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keyv/sqlite

SQLite storage adapter for Keyv

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.1K
increased by6.77%
Maintainers
2
Weekly downloads
 
Created
Source

@keyv/sqlite keyv

SQLite storage adapter for Keyv

build codecov 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 © Jared Wray & Luke Childs

Keywords

FAQs

Package last updated on 10 Jan 2022

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