cached-hafas-client
Version:
Pass in a HAFAS client, cache data from it.
61 lines (60 loc) • 1.36 kB
JSON
{
"name": "cached-hafas-client",
"description": "Pass in a HAFAS client, cache data from it.",
"version": "5.1.8",
"main": "index.js",
"type": "module",
"files": [
"index.js",
"stores",
"no-results.js",
"with-metrics.js",
"example.js"
],
"keywords": [
"hafas",
"hafas-client",
"cache",
"storage"
],
"author": "Jannis R <mail@jannisr.de>",
"homepage": "https://github.com/public-transport/cached-hafas-client",
"repository": "public-transport/cached-hafas-client",
"bugs": "https://github.com/public-transport/cached-hafas-client/issues",
"license": "ISC",
"engines": {
"node": ">=16"
},
"dependencies": {
"common-prefix": "^1.1.0",
"debug": "^4.0.0",
"ioredis": "^5.2.4",
"lodash": "^4.17.10",
"quick-lru": "^6.1.1",
"shallow-clone": "^3.0.1"
},
"devDependencies": {
"deep-equal": "^2.2.1",
"eslint": "^8.29.0",
"luxon": "^3.1.1",
"p-retry": "^6.2.0",
"prom-client": "^15.1.0",
"sqlite3": "^5.0.0",
"tap-spec": "^5.0.0",
"tape": "^5.0.1",
"tape-promise": "^4.0.0",
"vbb-hafas": "^8.0.0"
},
"cached-hafas-client": {
"dataVersion": 4
},
"peerDependencies": {
"hafas-client": ">=6.0 <=6.3",
"prom-client": "^15.1.0"
},
"scripts": {
"lint": "eslint . && test/lint-lua-code.sh",
"test": "env NODE_ENV=dev node test/index.js | tap-spec",
"prepublishOnly": "npm run lint"
}
}