@keyv/postgres
Version:
PostgreSQL storage adapter for Keyv
86 lines • 2.21 kB
JSON
{
"name": "@keyv/postgres",
"version": "2.1.7",
"description": "PostgreSQL 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",
"import/extensions": "off",
"n/file-extension-in-import": "off",
"unicorn/prefer-event-target": "off",
"promise/prefer-await-to-then": "off",
"unicorn/prefer-module": "off",
"@typescript-eslint/use-unknown-in-catch-callback-variable": "off",
"unicorn/prefer-node-protocol": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unnecessary-type-arguments": "off"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/jaredwray/keyv.git"
},
"keywords": [
"postgres",
"postgresql",
"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": {
"pg": "^8.16.3"
},
"peerDependencies": {
"keyv": "^5.4.0"
},
"devDependencies": {
"@types/pg": "^8.15.4",
"@vitest/coverage-v8": "^3.2.4",
"rimraf": "^6.0.1",
"tsd": "^0.32.0",
"vitest": "^3.2.4",
"xo": "^1.2.1",
"@keyv/test-suite": "^2.0.9"
},
"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 --coverage",
"clean": "rimraf ./node_modules ./coverage ./dist"
}
}