UNPKG

@keyv/sqlite

Version:

SQLite storage adapter for Keyv

81 lines 2.1 kB
{ "name": "@keyv/sqlite", "version": "4.0.2", "description": "SQLite storage adapter for Keyv", "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.js" } }, "xo": { "rules": { "import/no-named-as-default": "off", "unicorn/prefer-module": "off", "n/file-extension-in-import": "off", "unicorn/prefer-event-target": "off", "unicorn/prefer-node-protocol": "off", "promise/prefer-await-to-then": "off", "@typescript-eslint/use-unknown-in-catch-callback-variable": "off", "import/extensions": "off", "@typescript-eslint/no-unsafe-argument": "off", "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-call": "off", "@typescript-eslint/no-unsafe-return": "off", "import/no-extraneous-dependencies": "off", "unicorn/prevent-abbreviations": "off" } }, "repository": { "type": "git", "url": "git+https://github.com/jaredwray/keyv.git" }, "keywords": [ "sqlite", "sql", "keyv", "storage", "adapter", "key", "value", "store", "cache", "ttl" ], "author": "Jared Wray <me@jaredwray.com> (http://jaredwray.com)", "license": "MIT", "bugs": { "url": "https://github.com/jaredwray/keyv/issues" }, "homepage": "https://github.com/jaredwray/keyv", "dependencies": { "sqlite3": "^5.1.7", "keyv": "^5.3.2" }, "devDependencies": { "rimraf": "^6.0.1", "tsd": "^0.31.2", "xo": "^0.60.0", "@keyv/test-suite": "^2.0.5" }, "tsd": { "directory": "test" }, "engines": { "node": ">= 18" }, "files": [ "dist", "LICENSE" ], "scripts": { "build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean", "test": "xo --fix && vitest run --coverage", "test:ci": "xo && vitest --run --sequence.setupFiles=list", "clean": "rimraf ./node_modules ./coverage ./test/testdb.sqlite ./dist" } }