keyv-mysql
MySQL/MariaDB storage adapter for Keyv
MySQL/MariaDB storage adapter for Keyv.
Install
npm install --save keyv keyv-mysql
Usage
const Keyv = require('keyv');
const keyv = new Keyv('mysql://user:pass@localhost:3306/dbname');
keyv.on('error', handleConnectionError);
You can specify the table
option.
e.g:
const keyv = new Keyv('mysql://user:pass@localhost:3306/dbname', { table: 'cache' });
License
MIT © Luke Childs