{"_id":"hafas-rest-api","_rev":"121-f9ccba01f0d38052cc35052e422b09d9","name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","dist-tags":{"next":"6.0.0-alpha.2","latest":"5.1.3","four":"4.1.3"},"versions":{"0.1.0-alpha.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.1","main":"index.js","files":["index.js","lib"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","vbb-logos":"github:derhuerst/vbb-logos#v2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.3","hsts":"^2.1.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"f84c8bea4a15a8b417c4bb7b4e5398d8ef67bd64","_id":"hafas-rest-api@0.1.0-alpha.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-qnU/b9GYqxtCNxkYX+2hm40ogwPxWMXhKs9XrY19FNNrKv0HUZoW9KUi+EbhDdAX6TDShEm/3S7XDfLvAhGgtQ==","shasum":"556ee17c9f96f642eb16e00de21968df958a7c2d","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+W3GjAG2qXDo/6e0rIN46MuqbIykPQ4HGHuaGTu6hDAiEAtHWGz28crzMoQ3XRzOSZON2wo0BC2IUplLsMp9hoMrs="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.1.tgz_1513410611642_0.17133249179460108"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.2","main":"index.js","files":["index.js","lib","logging.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","vbb-logos":"github:derhuerst/vbb-logos#v2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.3","hsts":"^2.1.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"f84c8bea4a15a8b417c4bb7b4e5398d8ef67bd64","_id":"hafas-rest-api@0.1.0-alpha.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-NAkZsreoGvceh+WOG+uSNP7pMMEzEoVqQBYg45/hzYLRMFoWqbv1f6fpssavcbnPxGsuDWXecwuyIL7OZbLMOQ==","shasum":"b37ddf21f3daff458a984eb6f910a4b80a32d87b","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/+YOWYk70eAMlIAjcdi7Kj9vtgeEqR60y3TxD5OvGjAIhAOUTN6MTfZPENIBXrV63+qi2RNyVs+y8b+3h8YLzxqoC"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.2.tgz_1513411649354_0.9705323667731136"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.3":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.3","main":"index.js","files":["index.js","lib","logging.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","vbb-logos":"github:derhuerst/vbb-logos#v2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.3","hsts":"^2.1.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"f84c8bea4a15a8b417c4bb7b4e5398d8ef67bd64","_id":"hafas-rest-api@0.1.0-alpha.3","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-oEPWFd51B+QtxVD1aN2EmwsNM39BF0PixalWJ3OY0qLT1FP2c/oyQLvN8DLY2IP5JGxqk5MRMY5JWAB+I3gmHg==","shasum":"00a7d81ed415d3c99ae393ead5a8a807783f05c4","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPL9v+dUX9U/jTsFl6jD9N9E2DY1Qk/Q56S5TLFOG0ZwIgAX32lOa7xe3NXsg12rTSWEPgiVL3H4V5962Xq4N3+L4="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.3.tgz_1513416184095_0.9732498745433986"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.4":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.4","main":"index.js","files":["index.js","lib","logging.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","vbb-logos":"github:derhuerst/vbb-logos#v2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.3","hsts":"^2.1.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"ddfbec1361ef975702f89f49fa9442750e3dfda2","_id":"hafas-rest-api@0.1.0-alpha.4","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-qwbRCt4+odjbHu5lx02GElYtpAqbpwMdIkOdbSQxYPXsfd7t5PyrpYW+LjoclUW9gujhdSSExdTUs9Md/NIZqQ==","shasum":"bc3336af39aab692844807292608f1a930e37f05","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIApe3r55/c777lbLxkf1PFG6KbbLoxvxuUYcJ/7vqzcOAiAOfEQwRL4x3hIlPBYSWxrnaHLZ3QVKyodp8kL5dUF2RQ=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.4.tgz_1513421446880_0.5110631603747606"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.5":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.5","main":"index.js","files":["index.js","lib","logging.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.6","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"ece24431188670b2875c53c2d0669d9e0c595e3b","_id":"hafas-rest-api@0.1.0-alpha.5","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-8j7Pzuq/z4Hs9sXZwRL+9kDXf4zevyJ0C1Z4hcOxefQSJ9Balbitq1vaBqRh8HpLG+erWexmAF88a5c/ijIjAg==","shasum":"ba96da50f684f18226c2b72e57bc5986ac860de5","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXQs9lJ0r8DHkBMw7F/lrOfTFvo11OAMpG77TN4bdfBgIgR0HeuXw4fS2RDkfsW6fmhl++57MtLv4Sgn/JJ4gg1dc="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.5.tgz_1515016689776_0.033347172662615776"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.6":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.6","main":"index.js","files":["index.js","lib","logging.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.6","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"64d9f997f55d71e0d362e5107e0f406fb4dd4ad7","_id":"hafas-rest-api@0.1.0-alpha.6","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-KakAM/jJd1RQL8Y2vaevlRCWTjKy0NNWa1VDQBAODeJG6vbc5Ul0AgnLSzYpp7NEeLg/wBJ0I0BvcZ8zD6+PIw==","shasum":"a0907c3dc889b0faed41f93d2808c4cff18b8877","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZWx37G5SxVUvICBI2oe6nkWaqVzhq5/aAmXFBHXXejAiBznPijojn7+pX7PZ429cqj1+js2wlF7J48jkvgndTL7g=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.6.tgz_1515017774617_0.9492255572695285"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.7":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.7","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.6","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"bcff7e0b3af6c57e306dbf466e8b0d6331cb699d","_id":"hafas-rest-api@0.1.0-alpha.7","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-2+UnL+aZRnXnG4jGzDY0NDRuHcazHsx4aNOAA/9s2ekj6pJQI4Ce5OpOa/4vCJwAS/Rg6/XpQmGFtTWe/Hi4+g==","shasum":"17f7791da36f613778f180e20fe168cffaca1d36","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYJspRzQgJLN+B7Wgy4TMQfaWIk0uiubSqWdr+FqHl5QIgO7LrFNpC2ZBYR6W7Z/Vlpbg/5fruk5l0hEKFALj2Mr8="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.7.tgz_1515018875084_0.2699282912071794"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.8":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.8","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.6","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"7100d952061748e8da5a85fd63b3bae15e5e50df","_id":"hafas-rest-api@0.1.0-alpha.8","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-n1eDx31/Z/rPZz+lB7WCypJyr82BPkfcJp/fmMsX8qkTp+eNm79EBJ25gte2Q6R+sDl34rxysj4u9JX2lFHnQw==","shasum":"a62c0ff0c4b01ca793c074636c542f3112310efe","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF0e1wQMStAFihvvwfI1J5Rmdg4pp+Ei1Ois99aiusPgIhAPpUOPbfASrlnnFfeNaenmfOKeIMP9YKnlFNKq72GHBm"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.8.tgz_1515021543901_0.5172409322112799"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.9":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.9","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.6","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"776c507a784fd38ce0d31449c016b068c554163c","_id":"hafas-rest-api@0.1.0-alpha.9","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-35r3ZoPDeLbCku9SFJKqIkvh2dEJERObpVj6oi0cMijCQfhdcn5DSYhSwyO+W1JzPYhRdV5qO8YHGu+Sfzg5YQ==","shasum":"e04e7168db5e376d25810d3a0918ae3497c8fd88","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcTEU6mK0HdJCFNTTw+8Ho7wwCaSKjvNqOFCqn+DCf7wIgCDrP7hrpeP5Po91PspVjkWLJiYaBRLybAgFnHY+o3eE="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.9.tgz_1515022588020_0.45613551838323474"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.10":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.10","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.0.0-alpha.6","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"gitHead":"05c139acd9034ca236c54caf21da0649dd9f3b2d","_id":"hafas-rest-api@0.1.0-alpha.10","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-wRCihoMl/gKMahGwdiewVIymakXPzuwXlJ2Edw5gb0SF3JAWiu7Z+jd51/yT6g/T1xvFyrNzTOJbd5G4OBEKZw==","shasum":"613ba0bcae5e39cbb554539293d72ff6b3dbd2c4","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyZesLdbC898pg+dpxuffpgKOeN24zmw5LRIWyy+NBUgIhAKhAsv8RsAejeM0+0NnbmsSoXoDeUhDxwhYiDyM0iTH5"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.10.tgz_1515073330710_0.34417233313433826"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.1.0-alpha.11":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.1.0-alpha.11","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.0.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"86f6b9fd99cd7a8462d9ad9434754791f7c1c5cc","_id":"hafas-rest-api@0.1.0-alpha.11","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-DCc97LcRYyW1EM6nESE/SUVQhIAPRX6zhBaft+kC0E3rEqQEhp+XfuK/ZJ564LVAMWIxYfPzUSQtfpC+ZZp1+g==","shasum":"aabc3573fc00c30c93ba8e3b0434bd2818d6af51","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.1.0-alpha.11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEis7vDFJXR2oXLCeCJcpMe/5MClnDcx5j0flA/Bru7oAiEAm2/r0ZLM6fmHa2lKIxbjoENYuRuq3ypfmiit8Y/cSpA="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.1.0-alpha.11.tgz_1515191288499_0.1410326159093529"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.2.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.2.0","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.1.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"abe556aebff57b2e233a4006f9f51ce7c2ce0083","_id":"hafas-rest-api@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-PogsrSP4XA5FSP2lcDRhooiafCvY4SP6EzMkq7FeC3Z0HlS61bv3FI8pz/DwqqV0q+fl6nIIZk46mWuzxMb69g==","shasum":"48d3862edee0460061b42017b3b6cc7e409a346e","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQPPs7/3CVe0HrF2fzvJYTxf57CL8KIz9B3VFHxkCZkAiBguuAmVZaqelkJT4YKrL8HkPEQkGJ9nlFLMDx7Dq9DNA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.2.0.tgz_1515717059915_0.46368567552417517"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.3.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.3.0","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.3.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"0a30cdcc21636b98872edbebf7c95bf94c319719","_id":"hafas-rest-api@0.3.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-kbE2SDmDYR3UvKv71yaRG1936wccqiNahsx/l81KaC5Xp0GK5VSA2Nq46VYjfvvcvzrKbHVhiwd2YMIw+/hKtQ==","shasum":"7687e70e64c41bbc5eec0cdc8cd293480cd3abff","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHzog6nejNgyj07Zrb+zJscj7yM4sQmUx6NQZRjlmx4ICIBUAO438hMF8ITlejPloR8wpTPeHU/no6iia7pMp5GnP"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.3.0.tgz_1517258731854_0.5145349502563477"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.3.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.3.1","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.3.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"8252bbbbbf7613d88a861cafb837449bfba0f2b9","_id":"hafas-rest-api@0.3.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-beTvfWl7ovkxZWWkqQpWAXwyjjCm9fDei12Rrh+Cbovt4x5V4zd844FvJ6txP3wCG7rZ6ocd9mBkHC3ok4iCIA==","shasum":"987d26bd7a7519cc0036881b4400074e3b45a288","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT2HzhY6uZVuhfvF4ekZ+nosYYZGcZCUE7gjvdXM9T4gIge76j0oYuYG9AB8ffKqDahrcfJ4i42JRxofB99X6pa6Q="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.3.1.tgz_1517329487426_0.36687912698835135"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.3.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.3.2","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.3.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"c4a4b36b2466aab3cff8769a1eef7f9765dc69c7","_id":"hafas-rest-api@0.3.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-Vcxpc6mlQ0P5QhXztBjo29ofOem4vzrwZ5d2DSenfT82KTElY3OOAoID9CvsQKjJFyX/pmQf2S6YWgUeXtJM9g==","shasum":"a5004c3e5704fdcc5642c56aad3f47d4f58f3afc","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.3.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBRAdMDXj6bKRR5w9EdGEcccT0oAJD11YI2CENaQ25v2AiEAgKPgt2OAyHtC/wKKhy8Dqsh0IrW+tNtnPFvpxNNSuWg="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.3.2.tgz_1517332203101_0.8705087744165212"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.3.3":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.3.3","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.1","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.1.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.3.0","serve-static":"^1.13.1","tap-min":"^1.2.2","tape":"^4.8.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"fec182e6f2d253d7539ec3958e5b6095b2486b47","_id":"hafas-rest-api@0.3.3","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-7O3NbulirBB7BdITNRCg7uHb9VPsqIpKGu146HlIRW24QiLHcrwtB43XZTxGbvEd+sZJJ4libP7IMHsL+okSMA==","shasum":"4c319d232241dced22f67678e7dbb102d6ded5e1","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.3.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAw3ZOUHoklhNt9myRT2WP2PWRmwgilEX+pq3BMNx2KmAiAXxOQiu834uOTt+M6RwIOEDoNDtyBxmQs0HpJaRY/h+A=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api-0.3.3.tgz_1517404205590_0.017942780163139105"},"directories":{},"deprecated":"Deprecated. Please use the latest version."},"0.3.4-alpha.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.3.4-alpha.1","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.2.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.3.2","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"readme":"# hafas-rest-api\n\n**Expose a HAFAS client via an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst hafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api'\n}\n\nconst client = hafas(dbProfile)\nconst api = createApi(client, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"4ead996c56eeb112b7686dc28332c63911030748","_id":"hafas-rest-api@0.3.4-alpha.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-xGLqX5vddCD+vFkxEe3sfRsnLw2J92cNBZZRIMUgLzNgRMy9o4TWHVe1QXhUPG7c7HWJk/uoefJiueffNMkMqw==","shasum":"0e71d0a68d4be1f8cd7b5ab29921bf102037fd20","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.3.4-alpha.1.tgz","fileCount":14,"unpackedSize":13248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRlIqh5Z7LkjxekhrUV7C1Uvn4vpd8U4Ap8IVoEEePigIgSdMsxJK3ZTEXsCmgqR2s8a21DMwit81yEzxG6Ay9zUk="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_0.3.4-alpha.1_1519488942801_0.5507946600717528"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"0.3.4":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.3.4","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.2.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.3.2","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"4ead996c56eeb112b7686dc28332c63911030748","_id":"hafas-rest-api@0.3.4","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-LMvEuXRvWtGYOofkoixpriCIXBSL4K6g9AosFvS9PoMHSeraSVYOF8kOHfl7s40Mrl/n54vBkN55KhzlLT4vWQ==","shasum":"5ec0dae6c1ad7d17eddc3dbcf0c4faa4f179c0a4","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.3.4.tgz","fileCount":14,"unpackedSize":13240,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDXXFuag4ABtjk3dTDL6TuhM5GNi4bLQYREwHJ6pLqDyAiBmR+cZFEAEUX4HuiW5jKpyd7Sue+uUnwiNIdGLg2jurg=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_0.3.4_1519489090134_0.04566141990529027"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"0.3.5":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.3.5","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.2.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2"},"devDependencies":{"hafas-client":"^2.3.2","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"b039d3d9f573698a275239197b8b12acfa969313","_id":"hafas-rest-api@0.3.5","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-S1bNV/Bqw82SfylLOXNyvTnbsBACeQujCfgT75pXQzksf8/b/3QX74cFW6MP27RkBwLDtKsZD8iYvcd52mYWiQ==","shasum":"1463ca842cdb02f0c1bdbf7c92aeae861de8bc68","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.3.5.tgz","fileCount":14,"unpackedSize":13233,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEiJIPz1m/eArhKVtu00iIvo9MThl2xIwIgKYXweYglwIhAOZy5dZDIAZ5plV21EsTvR3/ncpUiyYg881S7zKIx2RV"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_0.3.5_1519512051464_0.44302276923867767"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"0.4.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.4.0","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js","about-page.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.2.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^2.3.2","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"f82580b7219fa1c27a26601ff9bf3ca624b3310a","_id":"hafas-rest-api@0.4.0","_npmVersion":"5.7.1","_nodeVersion":"9.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-JLH50Msq0hRRmGiXq8Z3fW+FFN2FevkJEdwq1ziBUsEaqQn2DC2qYe0TscOBOjLs7dL6jOjdH+FHniYeI7G4vA==","shasum":"91d246d9b7d41d5be6e9d84260a540354c17d81c","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.4.0.tgz","fileCount":15,"unpackedSize":14208,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGn6VzF16JnQrxIpvmLlIEnGd11pcSIP1aepB9ZbWw2BAiBF0LLyM2nZ6jxUWHnmNg+MsxbxQpqKTeykXsuH6XBv8w=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_0.4.0_1520386031194_0.9182834394620367"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"0.4.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.4.1","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js","about-page.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.2.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^2.3.2","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"576f824c748cefd876d1d21122ad66d8ead59dde","_id":"hafas-rest-api@0.4.1","_npmVersion":"5.7.1","_nodeVersion":"9.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-p6ntP8iJmcMedAQPSivVuCHmxz0RBIHUiveWy2kGiGCSPMIdVWb5wgGTOaDZAupUqLU3ZGYbb+7b8pkQXEJC3g==","shasum":"c30db59e28d1a32150914a6032b9054d4eeff396","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.4.1.tgz","fileCount":15,"unpackedSize":14217,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDm4ltt93GgAxNqi7jad7+nAtcdjAL6EdGJfzpOKh6+kAiAkCyFUOVYEY9tOBZ6L08JCAfCki3eTpLA7lSjkgDuGsQ=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_0.4.1_1520424119653_0.46943221403031576"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"0.5.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.5.0","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js","about-page.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.2.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^2.3.2","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{},"gitHead":"a2745af4db0fd5d9d2c5a81c267e07ba8c629a43","_id":"hafas-rest-api@0.5.0","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-xVB17SCBGSUSFs2LRjxc3wXkDx7MRwOZHw5JwpC+jba6J4DQSS4OLJouZ9rLRtlmLEibeZqC1zHbRD/gWBwktw==","shasum":"8f885b1d9d29a651dd095edfef001de23223c3d3","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.5.0.tgz","fileCount":15,"unpackedSize":14563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4zLSCRA9TVsSAnZWagAAtKAP/iU73vCbseho4RmiIMdQ\nJ+8OT+sAKd62IWfwzlUwrRxBSLbWIS6DLN5EP/ogQ6TvhsZBf1CbWrQKNYS3\nR1TsXAZj+m7QF1FaiXd6U4t4oihWjxJhYpnizGEVDVhjYcn0s/37VDMOOWYI\n898Z1GJzI/xGXeCGrzWx57RE4RX0xnj2f+JNTD3d2P48vp2+RZujfX5THBiI\nrKOTUNYrh1WZVm3i92PO42DOv26arMT5ceCwaKU4a2HPg0nReSn9yPKugty6\ngGPFG/auqMPPlchJMuERnP4AYpUofOm7024tfF0z6+Xf84UBahYq9AjW3jtm\nJaSafIKJZAhuTzaFYgJRGkXAZEBG0Aqa38t7zHDIHwR4wVgWxLlxioK/4c/L\ntYwOyT0z6SgrEBf0qcWNGUm/KkgnZ7WvTJqLXmw2EVQwEsFSz5VU9QsYZQl9\nCUU2+DPV+V7eBXbJWVkATw2aPgfDfRJ5f+tZtC9eoTCdjTtDyPfuRtutNqq9\nh6cf2r1DC8X9GdxhFLmOgpoiIB5CdryKJ/bVnz/BvnYiGmHiHk1BL64tnv6P\nX+Hpg14DbnkMdIaaJE0c3fXj2YcrGSgPccxeeOY8/LOgYcjBxREHYkJ45N+y\nN+2/P9bGtBiPqXsuPPbr2fidgxLXpvVB+Cr8y05B28zX4JUpG3U8/IXl62Cu\ny0OK\r\n=OxG9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7t+bEUAE+5qWrOraBKOeMyZX0SsdXgeQrbFGWaM4MMAiAMhNVRVnYu+n4g/tMlYHX3FW06m0QDEZlCa4qxnBVAXg=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_0.5.0_1524839121612_0.7407768495664238"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"0.5.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.5.1","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js","about-page.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.2.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^2.3.2","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"c3192ad62e504dd78d0453e241b0fb43b9bcdb45","_id":"hafas-rest-api@0.5.1","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-+h9ehZPwdgnehOVIZjfToZhfXZMg0rqiMHHVlEEfg/CHykj8RIZ91DYmTd9icx+GvkfVc9kYRuZM52iEzJkU4Q==","shasum":"311b72ada288920775ce1bd82e6004d5ba465385","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.5.1.tgz","fileCount":15,"unpackedSize":14620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCxL+CRA9TVsSAnZWagAAhzgP+gKGKYGhEFoBBGiuNXyK\nogp998fux1VVVB9DGu6gax52XAMU2bCSYYRFMztAGkOESHr3LRCYrB9igSA4\nVVH7tK5BZjY9vIL0/5XGZLjOyKO1SnPbTh5HpN6ADAAdZOEMfe4vDliNa8uZ\nVyeI8hu6O4vX/qKzHeFQT+1a3J7vbznkQ/f4RwAeHxASthmnEqg1E9Hk9dfL\np/Pedw3uJitAIN9bpb6HtsXFoLv+XP4SAFELUb4rjYDg6jyzPRVTPn2WYkbY\n+10nlubC4EpV6Ck7LLh7PcXheuqUFxTd1rdQ6q2IL/L/D+tpfXuVaZkbyI3I\nhxzUJQ8/+Gu662TwYVrysJlfijGyQ7VjXmzLEHD9OSsf9XwIcL5ueykmxcl1\n5JPqvS5K6Ln98/O3RyLY56rmSuQnFni1Mvh3mt458WoOWiW8o4trEuUlEUCh\n8NMnAgcQUVPCtdqB3Te6XkvMbxGgI3knQmmVT1Ok6NW4ZxOUmTdU4GTJG2Bw\nBqZXv1ptV1W/ZLlkaiG/28oAWyaVbL65D/sco3dHGpdNSpTMWJTdX2IVUnBM\nBxrs3m7yuJQVgKiD7sQZETS29nAs+8dFAHG7YiZdmQVy7/FV2/uv1PnGvWFZ\nFTpgDWeNw84OBzzWLFRRmcQZSllUD6RQA1ZYbZEsqMLKfwW4XyF9vE4VANk+\ni1Ls\r\n=2+A6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8d2ktcSogWg72QhzV5mvpifwAjUBo5rJTDy5zewQqBAiBDE347G/1QIelHOOMqQkNq+Ex6EgNG/G/bKzDO63Y7GA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_0.5.1_1527452414095_0.7963506126691435"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"0.5.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"0.5.2","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js","about-page.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hafas-departures-in-direction":"^0.2.0","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^2.3.2","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min","prepublishOnly":"npm test"},"_resolved":"","_integrity":"","_from":"file:hafas-rest-api-0.5.2.tgz","_id":"hafas-rest-api@0.5.2","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-f23KYrrkcIASA6hYn+OeFXdd83njLDRtANvZSTAPQZkcYx6ac0BXjX7nxYWRXScpMTU5o7cn/ncIhXAfXTzyww==","shasum":"c6c9b215cc95fce7512cb23d9189d25bed8225eb","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-0.5.2.tgz","fileCount":15,"unpackedSize":14670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbS5fcCRA9TVsSAnZWagAABwcP/3bciPvZA8C1DS+awSs0\n4NQ5ZzMvzndttIpSCidwgNsVFz6eVG8I3p/LZc8pDieHQdKzRlUDJGrnVjjI\nKzq2CUPz3/YyhXjMInPyJZLzJrS0kulQJ9jnIIf5r9EdvRabu2WgZ4oPoJhl\nEXVjLBzUdv5r0sO5Ny2ZE/y7sMAJoQMtYuAQqdUHzt/S0Ey8Q7kstLGEN2V2\nENi0jL+fb6vHI9GrvABraxvXPgBqwkdX83FWJ9w16bhWhE2JlLyjEXV9W6gG\nq761PTl36J82mrEJkF8+zbYnlBCwiKELfJEKv8noi+qod2VBeROYYGHZRP1i\nvq8ePYkW1+yYGhGWObRGKvU54MG5OwZLV8rcJ/FRmG+IXvqKrvxAZDo7OD9v\n7yYj7wmFZFtyIT3BoqGvlmpz3pbw0nton5jFfzKLxFzectshdnOtIIdABW3L\nytQLrq22Xgm9a3Kl2V63bwOgbm13s/S7/0c7jOe46wUVZ9kY7T/Pc3Up8hyD\nX6X26OPdx7M40Jm4GhyNzJKOP0j6hTpZ4h9gQQ4jtTZYBUBDIQB5JCmz/TPU\nALdAr6snELchHCjpfCR520LtuaeLvKfykWkrBa/MhsSMhIkZxqnn57HtIWFm\n7Z0kKqtyqg64iiTGpY77LT2FZK4g7v345tPHHRjnxYpym/4A90EKSp0jux77\nmqLK\r\n=R/RH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhkNyXD6gg9ToPJRw/59jC7s4Z4264aBhUS7iXX48xFAiEArkDNJCfbhOxfafAJwTIITfvV8FIkuDshInyCL30pqiQ="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_0.5.2_1531680732394_0.7884049922997642"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.0.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.0.0","main":"index.js","files":["index.js","routes","logging.js","cors.js","handle-errors.js","about-page.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"cli-native":"^1.0.0","compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^3.0.0-alpha.19","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"38dabcae887835784a1f1d087d7ab49c56013525","_id":"hafas-rest-api@1.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.6.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-M6eeWyLIwQB4M17s8lwKzipBC5zLdeLlDlvFDRJawRkbH3m6peY1DlPT4cuHcxkT6Jip5LHiYW4tdsDTaVoh3A==","shasum":"eddd7e35416827fb8a8faf804793e87e4d065fe1","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.0.0.tgz","fileCount":15,"unpackedSize":14074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXh06CRA9TVsSAnZWagAAlN0P/0jby/zN2gI6qtPZgc1A\n3T4ejvpdxz1n02C8CoaBmbfKiZ558euUsaODc6k43XbM5iIr3kxPSY60WAmf\n1vV5Y0fgoJcAy94u6MmpkpHpegywnvwPqXfYMwnqhg7RZ/wH+s5yDLPfddyi\n4Q/1qWwxs8jXR19mx5OyEqodPHza2a3r7EB3wI+AqbsG8tZLW0+fCi8EqpUS\nVQOx8fhVEdfnGLg0bvluW3V83slJD1gipkXZbb7K2rE7IuM0qgCFDQYWtrCC\ndX9+OygGpdwCm7OKZqF3eZWOme+J+Oho6rwZLYbBbo1Li9vH6Pyhxtwqflim\nw8WJhDgHseiB2wahoS3fXrMX9Ke+yLFXXsAo8lSkSQkRCZsU27CMfx84362B\ndeaGQKd2BMeqOE0c9SMA9ZqhaBx5bwezw1YzQZ9AZbdgFgVYv79OTsc2wC0J\nw55fMaJW9jq5fT8ZKURhKpe4KdT39W0FVjs21Y4E1XzTnl1w+47DSDBjFXRN\nHoROaxg9NbsAXJ8VvHB5Vd6nXr+lXMsv3fwUwOtYUugpUquiWX1i4J0QUt9K\nH2wdLKZvLtFRAizvyKjkKV/llDB/h/7brT1e0DZ/7ddtdNUCx7t7J6g28xY1\nbIxEVJqWZgP9CYoaoqdlFi2+tDjd9dxHH06aJkRgcv05K6sKMa5mDccdDS3G\nuYjw\r\n=WrND\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAq8iaT4qBur1r11PysZjvAccrEn4Q1y/mUGH8dJ4RyvAiBYlXlnnx2AeLbdeCydutgZeZANJ+zD93mOeKaXHx3jeQ=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.0.0_1532894521992_0.8885590278136104"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.0.0-alpha.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.0.0-alpha.1","main":"index.js","files":["index.js","routes","lib","logging.js","cors.js","handle-errors.js","about-page.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^3.0.0-alpha.19","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"1810a3701992f64b7026ede0a80d05cd8ee43bc7","_id":"hafas-rest-api@1.0.0-alpha.1","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-adz9Vr7DGlaDATblSABDxQCucmFMVcYtF30sUxAQ5Z8+tQNSOptU2my3pQlSZvr5IkF9t/e4EyC7TTi/UaFKMg==","shasum":"bdba52055830ebd5bbe32a5b6f331580fcbfa5cb","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.0.0-alpha.1.tgz","fileCount":17,"unpackedSize":16137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaH2rCRA9TVsSAnZWagAAFksP/2pbYcSWiAETArnb99xG\nfRS1Ohn4bE/fFRLWGbULJAOC4o8TRKbuGCV4s3y/jE3W1s0+dXpSwKqUe1Ae\ne+PW0xU3zxs2gV4iqZ83GutQN3EpqpBp/nwtki8ChADDYCQOsbxeOEunDA6f\nvg/D7qblf6QRKaWCSXyLY5UTfDnrmE/P4hlRxR7g24AmQWm4p5nOnq00xYCp\nZ6gdD1jBRzFf4HhiaxXnCWmBnfNj1fugFvpyuk5ZNYiU4BQQQZLwld9LvcI6\nkgRJ1vKV42uTF0NroWQwaX9tbdzYk6kbZpXxz/ShSHMJ01d5WfdXeKCJ4Ooy\nJE5kddq27GxR6OBK/GkprEAC4JzNzB24epE+HzxxXhKiPKY/Ja25b3yoAjm0\nTgkoWDXjou7Tu/2t67h2CBbX49Lgkvy5xt28//YW6JRz/iaKji9thMMvMNUL\nDclLWHdc6Apigz678my5ULtVXACBs4sG1mSvYc/FPotzudW2BCncFlXqz6Fl\nhfIpovpr9i5Ruiy+GbazJN7Rn7pjbVX7G5Z8heIOI+1DE2vrgykeBZR666RG\nmCsbYnXQAsbQiH4JK3MbzeW0NYq0q+yVBHd4NOE6oLh11isVEKdXtrrR8sPE\nr9Dulg2YecUB5NqBel4TlHzhWPLDtwykEtC9vqmc8NbM2OA/k5Gi7we+gyXy\nv0Ej\r\n=OC0M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/80keWOaE0OENTc583U8PnjykeJbTK6myF0SZQgOl2wIhAMyor+b+f1TA2Im7YxjAUwwALzvqWTMWYrbHEZCbe1e4"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.0.0-alpha.1_1533574570873_0.7849812614013973"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.0.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.0.1","main":"index.js","files":["index.js","routes","lib","logging.js","cors.js","handle-errors.js","about-page.js"],"keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^3.0.0-alpha.19","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"1810a3701992f64b7026ede0a80d05cd8ee43bc7","_id":"hafas-rest-api@1.0.1","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-DiTXgMIkSMj06eJ6KJiBNlyd/+A7Mj8ALX1PZpVE23OoZxgxedtgOHRayCMB6//7w6+Gtj+5XylZ6rzTRcyAZQ==","shasum":"8a553bc291d7a63c9fd661de46da09f6866188b9","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.0.1.tgz","fileCount":17,"unpackedSize":16129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaIlzCRA9TVsSAnZWagAAOtMP/Rse7xeb67BgtqXwO38S\nuWacM/sZU0KJ+cLX8cLtLIppqPBqKt6ZUFmXFXwKwFzmkKU6+Yq5ORRYK+PN\ndlcAJ0SVvcdGNJJjEb+mI9MfUj+257GBY+MG5is75t0SpWj+8mKIXuwf2Okm\np7KmVaSQ5M+OD0F060VnOrXWz3TdaGFW/pY9Tvsg9ySNFUejpxKuWYLDDK7U\nt+5o2rMpDCzPK0K6N3OZjJS/TybjNLZkyWhdI1BW7PbWe4qxv14kvfobtyCR\n4MTn9V5R9O827LGbgGqUDewVaabwdFt3O1w82MYDd1q3ZciRNysdTUkfDYp8\nmCTNZL+oMC3/sCUirypyy/lvDE5VjnqT5vxvfeUSubHG3Zq/pk3qOQdo3LZS\n3cjUvkkjQdZjTfkNQhM+Du+J1fVtN3+mfcZsiUH1FEnOKjsmUdNLfZR8hk+n\nzUJhEqxvrJ3ouPKqFngCv3b6oib+bR8e88o3rAEwdSVXpkDsoimSvwfip2v6\nluezFetHSnKWorKKS+4gj8AB9E0uepwXr7XzqFhd+6RbUY3mrZcs53Vtj63A\nSAGRk8t3TrfW3uWwxcSIVuxE1UrhlGL/TvTlTDRmsPW7Q/ccEocMs6HFnBzy\n4cKFlzXKoSfRtS331JVqi+rCeMMWkQ/s4eDzsWOZUscdvSZheKhWF/yjFJ0H\naZjg\r\n=jqSt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+/jAHwgbYoDXHgQYey8ufAwskeAQDnGmC81y3VdYcjAiB/GGvKs6AP6sgdY1164c4tUNRxfVjHB/EY1IDUeLEa8g=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.0.1_1533577586605_0.007290110843019004"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.0.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.0.2","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"9bb927bbd2b67a8eadc083a38893c5782abeb751","_id":"hafas-rest-api@1.0.2","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-QzvxM4bR2tQ2pJoJoMvY0Kxxba/uusfYGL/squaCA+h9T9KqXrBImNjEmFHbe5he22KJwj505RXBgzhBUl9D4g==","shasum":"2229c23590a88796dd34ab4b5e9bce52c87dcba2","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.0.2.tgz","fileCount":18,"unpackedSize":17132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhc21CRA9TVsSAnZWagAAnwsP/35qmpdFprcjV8H7IfcV\nu6lKu9MzuLSOUyRHe3On1Aba3q5TsKOERC/QbL0Gd5n2CNoB5LEhxfkdU5Rr\naYq+mKyaz3iGT0M+/XzZSxrGWb2K7bc5m10byUHY1Y6ytvjecssRwxlnfWCN\nnawens9+BdpmU9o6evb5qyercytpRiPCmhjSJG3F619eCzxbm3oAA+wqJ1ir\nn+wYGoAj8itGHQ2IQIAuj4mp3FYCoJHu2DZlFg0HGGiuKNE/RdVdZPdPQzPQ\nnaCiOuW2Fd1ev4EY8YwkLc/PpgW4q9Cd/K037jM8cPlyHdi+XReu7MJ5BpQm\nCHSfNng0Xc++jswYjRwz18KiAhwqpL76k7w+w+pEw2z875i6B37H7ovJdqJL\nEbVTrpHixz5jENHJ1Ubi0yNgVfGegnbIyjdvnOMdjltpJV4ltrMrNQjQjBfp\n9wE7MF8bpV6xOUQtXQyLvN7nCjJzWPN0zeTdhJTXrENyJy2iflx/5e0SrDWE\n3fepKhl77QYSjvI0NYkgft6RQ7SdCbR5UU2kztkrrgWh55/LcNLfqhHC4WRE\nYUS/JAJwyiDErQiM+dYa0n9SEcd39QL2TQOYSFR/fNBcBSgevd89dk1dWCXH\n5LR55QDnx1UZkcv86fc44qvSKvXiAKHCTBfezcTES9gO1MBQ2bGMlQBRjtRV\npFBD\r\n=Xgln\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpJaUBRFDYmiCaGOuIe8CD0XdLCw+B2x6/6tXNXtPmVAIhAL6ahVJ/cj/AygKD0Dvd8YOkCyhfSH3Nj1h1RG3Wub1M"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.0.2_1535495605039_0.4698628067922648"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.0.3":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.0.3","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"23fb64d37b3ddf8b2aae6155a1a631aa0ffbf7ea","_id":"hafas-rest-api@1.0.3","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-COve9hvDTWRGgMji+/HwW2RJ+llxp+VDIyfwu2WGHv0kV1QJSpEhz9XrDrAfMw77pbexc3QWDB6AO/vf72PRZg==","shasum":"e7d9957fd450a7902ce608233f2ac426f17551e9","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.0.3.tgz","fileCount":18,"unpackedSize":17272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiAR7CRA9TVsSAnZWagAA3N4P/jWR7PgHnze9e7wHuHZo\nhk5YvICz9ojq+IYY8X6GEUyxnIQVRHi6AEWj3uyHqf88lAqpkUgn1f3e3DlH\n837O43X2mjuMK+107GLlEbRgZVWdxBm+mIQOu1/Hk9LjZ102+ZBktsyMAQ6W\nUSrk7boKdB9DuFx93YVwXSWRRAn5DSqBYa6HEIz+ArbPH7iCFGcyFJ7WF+mg\nORrLv0ToAy54LkoC6mbV46rAopF/IzpRLClom6v07b8jK3fNU5mNYbiHdG/W\n+wnmSqG1lGixwKNupUQNHfYjyMd2LzhSriMTPJeypbDlluL8/VtLDBCDMIb9\nU5yePg94t0d9xtiOuF6SuFyG4pLtxyLYfdmoeQALYyUW/+Itoa1QAzNizv5M\nagaF5eLCSJopOLKyhLL6PW7+EQJPDsd/Bbhbq7GDhVmLbzIsu+O4SoI/TUC6\nmhCBxgg3dXJZL/I1s+YmscVww8O1BHerAt4ARHtwO1ya4vQCnp+lEauuHt5b\nO2HkeZaC38vcdhxd5zSeC1n62H4rjfiYRDcYEvIrov+UdueZ/tBivrsReJZi\nYS7IEeRwJbkAGmTiDhq6DBFpuVSonBcrPteE0nLZu2DaBOvCWLwDVd3z4ZyO\nW3GG+Fi1ZcrzslWd9MwcVSAGEISQCZfj2ywUx/eQe8S05qzjgZlsdKZcd1MH\nHFvE\r\n=C8t4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2d9v9LFxNsU608/1QHqYksQ1qQH/PJB/e6BC3P1OxTAiEA6KdD1i9kCy2rn72cY3qTX7lYMRkqUf/xzbRmnyWWWTw="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.0.3_1535640698406_0.0024113671779577572"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.0.4":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.0.4","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","corser":"^2.0.1","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"edbb11f6f971985a744a1daaa67baddf421d5989","_id":"hafas-rest-api@1.0.4","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-nYc0QBiM1Gwc79jOg5ATLx0+bPqDG05WDDbxGL4YqpPEIuuNXl/c8PKjM3XOQ/K+5/bSLSnA4jpnr5pxJV/uGQ==","shasum":"5d2033651a1a31772388ebaccb566c96fbfe3de6","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.0.4.tgz","fileCount":18,"unpackedSize":17272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblm9nCRA9TVsSAnZWagAA6YEP/jwOJAU41yw2VQMd9cp0\nYH27FGegLRncSS++Su997QCCHQwFfASySQEfHEy5a12vtLvoqcLRrLdCuYEw\nKrqrEhOJHlxma5nYN6Tf6cdDMOlRKzdZ7uer9E5IfGuO3gUU6MbgeSMTghzV\nsNbxVGmEAX88Lu0Syaalq3P4BaS+tjeU+Aw4JctIzuncTRYm83vIutHxKKnt\nk1QXCa0sYFDOuKAtgtpFVNZ2LZU53pIGEKhAExCViRIL2zzOxiwJiWN2AAr8\n6soZPdyE9n2dDFqrRRnKg/yJXyRv0e+YCOjDWdLi3UgfFu8jjOslcqb+Njeq\nREvMNGMr28qXzWWC/PTzLkq3vFKBfj9Et/ApENAy/PClmc01MU0GVUfTUlAK\n+R/GF522qEQqmXTfS8P1CK/F2Ox7t7aci/xvDrJ+hqdJgsBQtRNqWLY8cLMC\n95Z9qM4/0xONJhtYtC/4yuR1TXnhf/MPeFhn592x5fFyfHKZmFIrL9UjfYXZ\nqzKHWUIg0/dSe3ONlVgjblgmy8iCAUki1Whsha3FfTOH0vFsCj5+yPpOJzvX\nsjZrUnAGOteXojt51xNE1TQXcTljjnNdpm+n0x1He/KOJ7dwnryQ6IvF6LqQ\nLbrpB03XYQKQuuvcE+bI5FdTFKrYz5tAnI/Ckc28uMtId5araXz87x4Me6WR\n8L/Y\r\n=F+QQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAbnJAdnlV8krNjF//K0Gg+/wSL8sikzqyf3Njwi+BQzAiAR1vpahyNitADHuJ15mzIhnxQ+ByHunl8bCrBETLEIWw=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.0.4_1536585575155_0.9684042759805311"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.1.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.1.0","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test.js | tap-min"},"gitHead":"9a44dc7fbb13c034c0eeecfb6bf86938cdbaa2a4","readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | –\n`port` | The port to listen on. | ✔︎ | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`morgan`](https://npmjs.com/package/morgan)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`description` | Used for the about page. | ✗ | –\n`docsLink` | Used for the about page. | ✗ | –\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","_id":"hafas-rest-api@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-hGo9qumKa/DQsn3e5MRQzASmzjI8BbC3E5D3JFGsNo3Mo/WwpNGYNMPL+d+ECs+qWc4/lgYJu3Nmj/V+L/l/nw==","shasum":"8f96a051f25b513d8c989171844e9b6ccb2fcd23","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.1.0.tgz","fileCount":18,"unpackedSize":19831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0huKCRA9TVsSAnZWagAAHb4QAIFYIzWkXeaD1iT8+4B1\nT4hPTy4GlOC0VY3JQRQb8kT1/PfD8S9Q1AIl5i2+TpWMsKkEezzdUJe38NeO\nxzlMPbcS/1nhbsGIpvhYhSu3tjBf9IKaJgU2ur3vwhEIJIPbLTTFHJ36hl1f\np2S8fZLlml0HvZiqFuz5MHd68cMjMdQBgrAO711cruaA5AFCk2bGHmKYLzem\nDnAILgWRIvbVLYF4GMvq4OMrbrirIGSQasgYwZTa1fsyUU3deA0USJsfpd0j\nwXBZvmWPxPeOSX/NLmebfZ+6uxz7KMmoIHfP0sAdz59Qc2KIQjcdClUONFa+\nFiBNysFq9zmXMv7IRxuRkDR+/qaikOTQSfZg5a9SDWZ4n/bw0yOZVY/smJoh\nyH5rbtlJcFr+z2QOYpcgOSUpoygo4OlLknUrydGYFGkriW+fZZZgAhKn7dLW\njL3ngVzVQobdhPy/ej+kYqc0zrPzDiSBk4plMlPBwyJ3LqJ2aAUgdJOoqaHA\nOeEJvgHTHT4Kzvka47DEIBAzk19nUxX7Z5ZqF1y+gEfYc7mfJ9leLUc9FvvU\nvEZHYYnzZDsNFWaK20acnd/FYVZitFDzCBkl57Yr1mfOk6zH+uh/3qxKMA5p\nlGSWoUaV3hk3daJBbMaTLrNB1mc6Vd+SfkT8sFGzbwOyvRFaeNBf5MgSPRpQ\nmj9U\r\n=U5OX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIPX7quaY0Oipe5KKzY2eT4lUEUcjwLoh6RxsXuoQkMAiEAoV8CPzP5FDuJpdzugQPjYop2uAuFC7nANZx5HsvpSKU="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.1.0_1540496265273_0.135905957030098"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.1.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.1.1","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | –\n`port` | The port to listen on. | ✔︎ | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`morgan`](https://npmjs.com/package/morgan)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`description` | Used for the about page. | ✗ | –\n`docsLink` | Used for the about page. | ✗ | –\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"da95b3c49e3fb7a0a463069f16cee616a4734d26","_id":"hafas-rest-api@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-dPW8R5WJOmd+CJyaAfFvJl73EQtSKcXE98QAeEKQw125903/gn3Hpojo+01BhynHKFYLvC0cbbtCoG4yBzTKVQ==","shasum":"990bd2836f0e08c5e2ca3bbe97a43aad5674787b","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.1.1.tgz","fileCount":18,"unpackedSize":19947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9HmGCRA9TVsSAnZWagAACNYQAJFCIN/GpgHuA+rsNaXD\nmnP/haTyzi7+3u+1Nmlqqp9w5Nq2PL/vCNpN0pZ9syV8ErZG+SxwRmkx7tKa\n4WCD915lwsHHv24LACj5QBIxB9p4ZmEqYGmmHjAA79c2KfHibnh9lTvvGKow\nkz3T13+UiXoi72Mj5jM3WVzVpHW19Ie9klFdfGQ5K+HqT9BaHxj+uDy9fktT\n/BM6VZ4xCGmCvcmi1KVPHH7RczWebsPhD9K36icpREn+sUuPh3Jo/FsKwRrE\n9HCq27IMU1RIzm/pT/3evFuRwTT+2TCSn82IXRGWlwwwY3l2zd8pwr7WyaQr\nRv1vI5fq7m7LtN4CY9fB0E8harC+GbzpBOyr6OynEgfTyoVuEHc3LQo+wOwx\nmONEEf2IXMz6rGZV5XcUYQDnSb+oSKTmR1lwQ0uaAVNPJxmRa25jTtfndeNg\nU3maV5n1LRv8Ld8XST/wNL9V/0sjDuOMWGnItat6jLn8wTUcpRFW0c0kXxqy\np/xbMtKPavi/acI0H/rlY2TAPv5kAgaXoZTh0zSoDXvy6O7P05wlrUOtvNBu\nAkbxVk0GEGbdz1e7CLrMc4T2FTAXeGR4KnDyveWlD/oI5TQEpC62lpvoIkiC\nyQSXEhIFG1CrnHWtF/iuW8zftkLhQz0R+8aLw4RnBo6p1xaDofd3ueAv0X84\nleKc\r\n=TwSk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEatKsWfrssU6FrK2xxJl2KWHKSPpmDio2g9cvV3K4bwAiEA/chxId4qwkw/HSyUkIMJmYR+uOf2kvFWgQnbDmw5iow="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.1.1_1542748549455_0.27704916190645434"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.1.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.1.2","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"6c3609cae1647fa782cd08e36091b28ad5e43057","_id":"hafas-rest-api@1.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-MiTF2ms7PIMnlJjfNhjVQ9JOkFQZs6xhZkyIJDgJIv56oxcs8ULgUbiFRkkAmXI/Y6emZO7SYHXzHaPpDSgY3Q==","shasum":"7260a4292ce65a5d77921977c36124bfdaa2c06f","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.1.2.tgz","fileCount":18,"unpackedSize":20102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDlJDCRA9TVsSAnZWagAA0yQP/2QA1m+LcfFwySsCAeVD\ngXAQZT184A39XhxA0klvWnBcgxMTbEPb5Uj+llgggiv81wF/sMROzat4XfpB\nFEesaM5OTs+Z644B0JvH6YcbiQ5yfmldZyYrdwTs29ldfTI27U/zO3zTEz2f\nskaN3GLHrKy5wpzCSrueTgCJLaiGq+fmmLhH6PeCjSJzA7Dgb3YJR5f51wd6\nTL3qUQdGtGSqXmVBbrHvjhd6UcyVynAKFSx0LRvq9rX1npKDh759xJ5aSoUh\ncwVQ1GevNTp6rryFS5GlgUYiV6x2q3Imz97fV8KACs23dscnXvP8YZuXU8Gc\nkH5w1daq27WjAItyq46akPKbWTZkiCPVy6kGZ5xPNHrAhnub14hddQs4pn9Y\nCOy02z+ly/tdD3gODetP9to/hDJ7zYjz975lHgs09I4ANdv7a45r0By9iRds\nrBFQOZD5mye8TwpLtnbQ9RqKZbtc5AdgM9higUr6Q+7ZoJ0iHdt/o9ZXyzzV\nTk9MdWIP2TjBrtosQE0MmkhXECjqoRiRgRRflXJyxAIGnYWEzk1GvKzhWJY1\nXIy+Pw4mp3pndDciDSqZEqkA82g3jMPIbpadiWjfNZa5vJPNf/FhoOT2ZYTt\n93EXv2xQF2xSGcrTpfiSiK9PQwZdTaug+RM3VVYKc+1xpyxP57GZSzp+VUzG\nJV1E\r\n=Vyw8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/Agn+IabiJ4eEY7/3Wy1pWKiSHhdOM+QlHrmxYrqFVAiEA4yHlBzkL2ruw+Yf6pS+cOxhXUW4OoBU0Fx7H/ItEGZA="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.1.2_1544442430997_0.16038811290767763"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.1.3":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.1.3","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","hsts":"^2.1.0","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"5ee39df78cdaee54b0e395ffd85b64f1176e9875","_id":"hafas-rest-api@1.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-xGf70gW+ZpUGEwTuaQBYNkgpOZzTMv1HJ3lTCTXdlAz+wfGVWEr2RSm4Y371YDHk/+emf4KHWUZhq01X+0R96w==","shasum":"e798b7f104cecc6b8cf78c240b2cba3e3a7e6638","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.1.3.tgz","fileCount":18,"unpackedSize":20097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRdr+CRA9TVsSAnZWagAA+HYP/3waIxYtNnLTfKRoMmhy\nuquY0NPVV6H2MJfpBeU3dxYtbhtMez+/g47YIe5McSIyEC2mS7YAGh4tNDT7\nXqXJLFe902aoL4ApjZitBz+kJz5qq13Hv1XTlr4wbt4nTnzW0PglZ7A808w9\ncS/P/NbdLlNDImaEND9fPDVjTXZkwUhiDEVdKB3juAtOg64oXS0tHdiTyOvD\no0emEF05iXQwYAcwDuysGMzCZfLuyJn0SITF6TyUPXsy6ks1H4mN7Y8XSRc0\n5Y5OK+nJt8lD8YGrZRobe/dnTDjgyrBm+7mw2ciLcU2AR6tKerw1I/TwhWIP\nr9o+dkmjUTzW2LfUqW/UMguAF1e1gf/CztWV8Rx9K1YrvaizWnBKzEV2n85a\npn88tHBxqboy/JEoHNYaHjgoo9LXt6nB3gK/V0O0qr6Et92VzP2IyPXVS7Gb\nFjqwDmuqk+St1+6Se+wSUIPrv7l8cLXSwjR004BXlc2qnN4/E92JxLZOf2WZ\n8k5l5/HkSoqT6oE8adXZkxUV3UIdIPrhpqN6VFWMuhjrqUR0qHE/QxtBhjg9\n3Lj3uOseI57E6jb1Jab3C2AnF/z+1uz5g5ZxRRYMHYdEu6HusBcNloPH8q/a\nxYTlus9RHSfTAl3SSRhn+7mirHBUa2kj1wmBokuD1tEh8ERWHEZb6xDQ9pOh\ntrJf\r\n=iLZ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuFF84u7F7x0ChA1Y66pEYa2zCTpRc77qxHQoe+OWLkAIhAL4cLbsP3JQTr/308s0yBMOjAk95OcMUvfcjzGs4nNlj"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.1.3_1548081917932_0.9979424313442564"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.2.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.2.0","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","hsts":"^2.1.0","markdown-it":"^8.4.2","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"9d31cd69f4620c42da150564d74e63c1cb6274c1","_id":"hafas-rest-api@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-lLYTGkT2sjw+pR6LXXqZc2eraN9+ahUFopjDc24pCitEtAMuXZZ62/7oPolxnRnW4RGn2cYwEvgpZ9p0WaXy0w==","shasum":"1ab99a16e1d15cfa0afa23e452afbb4b9e1cd00f","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.2.0.tgz","fileCount":18,"unpackedSize":20223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWFR8CRA9TVsSAnZWagAALBQP/2O2kQWYeVr3IpBK2mYA\n2ZB5rZ9pGtmQhh+4gC1UaRm5ZTd8dSaHOPPkaLzBYCyaDLLBBfRqSA6Mdztp\nWgmoysx5x+qo9JKN1q8Uy+TLMnwWGga6pbvhTwaHKGTUoeqap5O+WmYRHEiY\nJLN+TtjB0k4dGEg+mUWpt35BsSEGw+ipFAYMu16WuJswUJEdBZ+4Jewi7+Pm\nfNgj23+QWQqXpHrpO2DYGd8kgecxyFoTI2D+1572lu8R2c0xr6WUByJHFpbW\n9r7Vz22es0+h6+i7OPRbTsNnkjsGMhOjJCbCAU0shTnPHf5GFjZuJ92U3IPm\nMpsiU1CRTQnSF/v6qqfOgkBJQHdpnM5m82oPhMX0qEJXqMN6uw1fAW1sEoHj\niXB8xQwKB5pTmy8Pm7YdEbrhXR72kkmXsJGtPfPT/awYt19Y8NQY3eydworg\nFOqAJRsCARK36uUMJh0BozEPVDbyYAgqk5iSF6iVMgi0XVZSi7FVmYgJ4cNc\nqmpnVn8JgTFtxGCNilUnBkgjCZ1z0Wf1RLL8QdBnx+mw5BHB9AXAY94mOcbk\nCAkcwrW4MPRhCCwYtVzMhyjvSgKq4My6+HUkjtDcX/w4I4K2r1MRTfUOIDE8\n+rMjBSu9wbCr876MYHgeI0Kko8hri4Vy268DzAQjLnATVpHweudr8In+qk4A\n5M9O\r\n=VRk1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUPa/pVH6+GS8DH0knERaulRzzKEMi4Eabp6txxoysDgIhAN2H5TMKY2ElE6wFd6+dpVgCMMtjgRa6tQ38BjBaW6X+"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.2.0_1549292667457_0.01623554769855473"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"1.2.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"1.2.1","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","hsts":"^2.1.0","markdown-it":"^8.4.2","morgan":"^1.9.0","nocache":"^2.0.0","parse-messy-time":"^2.1.0","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^3.0.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"e3dff99c6f96c4d5029c253837f41d6ad9545902","_id":"hafas-rest-api@1.2.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-HXj3qGf+M8yoc4mUNXXuSYYqb00jk0zjBmehFebi84vF02QINjdUjaqGr99LPTJC0kqSEc8uZYZeWsQKkhBI5w==","shasum":"cba0596c36aa28e35908b20ecfbcebb261e4e23b","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-1.2.1.tgz","fileCount":19,"unpackedSize":20793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWFXmCRA9TVsSAnZWagAAmPcP/19pG/2S9qEe/6Rtx+Wg\nWq55XjuuMU5MLp0g4EpxcngUY3LEXWb+/ErBduVYze7DVqmQnX5SagpMrrgL\neKOizz+9gYa2c5NAUi0BujJD1Xzi9iGCQfYMPBK76Cu/pIY4mXjKo69rd0Dt\n0zMhANWS7QayOBy80g25HW0RVqJOT50MAGGkIujm+Y2DmQISs6iKcELTit0r\nivPh7m2KoN9BOqV8U0GTcQKgdi7pWvMeOAJfEF2x4745rRZTG24l6wRmiCz9\nsjVa12NOxenI4ZNaANT4KVQFuEN83X6S0/Nbt97msLdd1B0WNkDD4eYMqfQv\n2wHRqjucGkSnqAGoBSAwcglZPJmNkRBrcM5a7vhG1JShB6tZQ6xrcEHBh3ge\ndL3O91eAP9SG/ApldPUu+Zjtbtey1Z1VAmrsq2zYBMya8wBVZwUKXuGbFaSd\nLG7/QgOGzDllIMbA/+RdJPUTZhXuOCTB1v6k2YVLHPi2lPAZ/OGfhCg22Zgs\nDxJi9gGRZCcT0WvDXs6reRatVYepuqI72VoJUEIb7CgwtOmc2u0FRJv7KaHo\nMUjpR35wvyHp8C1Z6wOdJyf6itqhHhJ4oBCRya6WxfxCU7wFyZXY4aDVB4ft\nodk3cLI4nuyMaKL44zzLWYKVcmUHOf+CbVHdFGJ4W//Nem039Gd70ZjysEWc\njuwb\r\n=x7h+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1aV6xghtu4TE6kGpeAzuiBnehGRW6CwW2K/zmrbDG5QIhAPJ1bPqp9AH4ACgi1aENAC0Hdfk660YIkM2E36clp/a4"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_1.2.1_1549293030377_0.16424155002419294"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.0.0-alpha.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.0.0-alpha.1","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","markdown-it":"^8.4.2","nocache":"^2.0.0","parse-messy-time":"^2.1.0","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^3.0.0","pino-pretty":"^2.5.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client`](https://github.com/public-transport/hafas-client/tree/0466e570ad3fcdc952dc99da1ef30a084ab79f13) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | –\n`port` | The port to listen on. | ✔︎ | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`pino`](https://npmjs.com/package/pino)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`description` | Used for the about page. | ✗ | –\n`docsLink` | Used for the about page. | ✗ | –\n\n*Pro Tip:* Use [`hafas-client-health-check`](https://github.com/derhuerst/hafas-client-health-check) for `config.healthCheck`.\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"eff2ecce9e02b29e57286cd17096a25ac1e12659","_id":"hafas-rest-api@2.0.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-5D/4QZl6KvXmrVgcbLNMdtIq+K3dcoEviYIOCsHPtX/Pt3wRWBk8H1Ir28XzfZOXp8A2Dv/R+yxLdAya6HWu+w==","shasum":"dd2abd7402a060d0db2c604abecf4624b10faaa0","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.0.0-alpha.1.tgz","fileCount":19,"unpackedSize":21324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclT9CCRA9TVsSAnZWagAAT7gP/2NlQNy6/t8KDWMGbw14\nkCqAa6gFOm7dPFwW9vxX+zK8QZ3HWJbEQVs53YRZYdNUOLG+jaQInIny6wJB\nNGxLWHxOFCXpr1rpwOPe62sPaWhJlMqvegZAVb+8ZAAaqekrspkr62LhAHP/\n+z9Av8bmzkEKt+IqGpmcfhpi4/m3Rg83McsktdYp+/S81D+xQN5ufDFzKMus\nxlDAa11pnXTSBUkByFB8Xo92e2D7KI19qGeaBjxX37gM7yZmcU6YUvjajlG+\nvGAU150RfUDIEuMkeyQycGDSeyvMogHcqiRzxBaS+B4nvNXCaRWd0VYSyZN/\nOBuiEgRDxILHWr7Prz75ehw+1zsCKi0kPvVyR5gOQKVkfLZEtCS+Z/BQcw5L\ncEUGPCEMki5iUmc2gY/zpXrn7e6qXaAT/1PphNmrcKJR8InOajqSBzPzDuO6\nLadfP9LCkZtlPLI3pxZBOasJn79I4QWZtbUtm8DbqbvHvme7rel+YmC1T5/b\naixERpuG/g9ipx4XsWCFs4Dp3VftpeUfdka0PnbHZ2oPl/+iKa9emm0aM1eC\nU1uf9WcHofeIlXuUTsb3V2mJyZrGxaG8g2iFUV73Hyuj/vn2BeSasWcBiara\nzhHsWIDWnypHSvMIJH2OmqMR5Cy2kkcvQqKS0mKuN3KhNqQqGl8wLwFtxk9r\n1JlX\r\n=/9Hi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBDRL//8UFzpXqyptSXhAZzRCdHIWbQIG5KKXe793rxAAiBk8iCBg8cggjynbXrdTcMrVV0rCG40XyrTiC5keAXQcQ=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.0.0-alpha.1_1553284930205_0.0076166700064588255"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.0.0-alpha.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.0.0-alpha.2","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=6"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","markdown-it":"^8.4.2","nocache":"^2.0.0","parse-messy-time":"^2.1.0","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^1.3.1"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^4.0.1","pino-pretty":"^2.5.0","serve-static":"^1.13.2","tap-min":"^1.2.2","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client@4`](https://github.com/public-transport/hafas-client/tree/4) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/derhuerst/hafas-rest-api.svg?branch=master)](https://travis-ci.org/derhuerst/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/hafas-rest-api.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tport: 3000,\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0'\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(config.port, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | –\n`port` | The port to listen on. | ✔︎ | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`pino`](https://npmjs.com/package/pino)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`description` | Used for the about page. | ✗ | –\n`docsLink` | Used for the about page. | ✗ | –\n\n*Pro Tip:* Use [`hafas-client-health-check`](https://github.com/derhuerst/hafas-client-health-check) for `config.healthCheck`.\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"5c06dcdde5a8884ea444928de688d30f3e401c56","_id":"hafas-rest-api@2.0.0-alpha.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-OJBdRNgxKtUHn7sYnO/c5wgsK1bbItQakFJKSPBzX4XJ6HSiEq/Ccz+2PM+swkX0tIAXXDYxYtP+T+K0bbzRng==","shasum":"3093bedd868602378266b51b95dbd2d4750ae597","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.0.0-alpha.2.tgz","fileCount":19,"unpackedSize":21196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclUNsCRA9TVsSAnZWagAAjLsP/jB4jNSduTPCD6B1xzAZ\nw/A0ABFXfm/AFctnQ5lBcoMOuq0h3jnNLZpVyl0/bCrBqRLTEwQTtdD0Jimz\nK6E35pUM9CA4dz6W1f8rQwrBPRdcHmzO2eBsGSWQqQwjjL+B+vhALLAbepNS\nSVNK03gQJxUCu9o+l7pjag0k1cyPamOLi6rbfkg+94cerNoYwzL7MoHOsbcZ\nPHBhrRrLHcGjMItsiTylChPCbDWOxY/Q10bdMxi4ig2n966wsTQZXl6AvKxN\nGe9q/lHSutLhVosiXTHmB4Zcsn2CMrWL+7GNH4q56yLXRHWCjWyulRqN4Xb+\nxz7ZyoXb+GVF3Gohr9NuUdZf70POZkLEZLrK2Zg6KEoHk4qGuTshi+UMB1cO\nfXJoagkAnG3kiKp2oal7Wo0h9Zuu9BwoRMl/GaCmB/tMRKv9N4pafiA45Ckq\nWGBP9aOIlBvtZECw9N+gtGLL07JUEYNnFXHo9EbLEiVi7LR3HHy7YGaPyzXW\nUaV4EwbzEgcSQkEP/j43Vpqz51bgKJBL0SBF/0W2t4jjRzlx1SclsIrHqnDV\nODmYJoUBS9Kql2E+VSOQJSj4eoo7bLUEMsJkzGKrGQknluZG0Gurg1YsNapD\nTXt6iIDHabgTmmPRej5Pq5CGAVIVe2m89D949krXUzdD1/q9BSXSZO7saNhS\n9e71\r\n=AX7C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8kVsPmQKLmH5f4xX39I586+xQa3Di55zLJiXXOMQUfAiBKG7BPA+ZtniPvSMXROLs6Xm2w/aXxM4WEiqdKbKbBYA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.0.0-alpha.2_1553285994804_0.9126228892664892"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.0.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.0.0","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=8"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","markdown-it":"^8.4.2","nocache":"^2.0.0","parse-messy-time":"^2.1.0","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^2.0.0"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^4.0.1","pino-pretty":"^2.5.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"27a05f3dce12a2521a03142eebec3e596ed3afcd","_id":"hafas-rest-api@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-EKL2/i1B2p1/9SWD2CWeZ3Vwp0hUqCkY500jGSMCzsQCfP96DQEFnJoR2tR1qw4J1EpvMsJx88r85a6LwsaGXw==","shasum":"ab3e4c6703eea7fe76e823ab10e82260c9075a4e","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.0.0.tgz","fileCount":19,"unpackedSize":21188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmMrHCRA9TVsSAnZWagAANccQAImCONo4Sm0sI5TXY8l9\nkWWTXtMLiHTt+1DMfjDbBECfPKYQBvE0Z0fJ/DEavKA8TB0qKJHzNQJrc5Rn\nolg63zupqoX0d4cWwIqHF6ol//x3WFha/N5nb5PhPWg4XqizKi4txw0c8SoZ\nXDHwh97xVy6hE++BHMQ5TxZADRpvZDgUGuD79uRmQUfPKsXvuEnrj7JJO8PW\nHWdJxalWhVuH6RFlTnpu/5cjz1WXFy5RFUpjMkbgV+mjz2szKkVsrTgAKPFm\n3VjhXyPSGv/+yqhDpn+kNb2tZ9XQ99kS1ACDAiac62lgtxZEd896pIOZem3Q\nPaSDIl1ZMnL+H4fOYV9yHsTlInyVxExW67IsVm/7FDV9P4wKaFll0e1K+6gE\nZbJHcgdBMLb7IA2UU+v29F1NQRNslsnlLAbXb4/p3VUOlBxOAEtKyn7Y+3Xw\n1MVzLrIXe3TtGKTKuZb1QzodxWrSliLcSvg9qiB4/ZvhAI4CMACOtQjxOej6\nvBiYurhduqvMjl9/pdjzJqA/ZgaFdvSETCF1ObdYVYOV/zyMdp/8nnMUVdPv\ntH0Bw/qGjUaeIlcIIKylOUZXI8sebnPXf6UtQ2xeVG4iyHvjOTrr6hSIHFl8\nZyI7Yu8DHtfBf97Da5jWrxox9/O3viwLb09o5j86Q7u4/zLZ9Dwd07daTU+T\nDDP4\r\n=71tB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZPLHdrMf4xm/3ypZFz6Lx6fR+CykVr3UDDj0Ii8rSuAIgXvQGZXRwJKYr4PWwM+wuLA3pauXYl+nidDZVdJBDxdc="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.0.0_1553517254458_0.5077341683635594"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.0.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.0.1","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=8"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","markdown-it":"^8.4.2","nocache":"^2.0.0","parse-messy-time":"^2.1.0","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^2.0.0"},"devDependencies":{"axios":"^0.18.0","get-port":"^4.0.0","hafas-client":"^4.0.1","pino-pretty":"^2.5.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"7e5cd3424dbefaa5780743c2cfffef7f1b4aa247","_id":"hafas-rest-api@2.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.2","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-ikvQfhp8xKVGT3q0MAzG3Fc3/dSw0g7FpKeuzofZJsSXFstoCTKxyrbAuG+icSj9NMS1j3bj0uhgtTdhmtVLyQ==","shasum":"2162fa85b47091610ec289a67000cb63ef829fbc","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.0.1.tgz","fileCount":19,"unpackedSize":21188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm1r1CRA9TVsSAnZWagAARz4P/2thx3hU9NDPd5NGWovv\n0NcUs35o0d4v1Wt4OetM1NvdpWrvMeS5Xr/Om41+rta6OU5Ml4ENKwMzDBOL\ntlHtXaK2bZiXcxfECt5ZCSeLPcd/vWELeUN+ZXt++vUFHFlARBPoCWkK+QJX\nKrqx62jDjeYAEiDy5a6UeckgXysRVku86zfUB3ArBG/z6Ybn+hr2IEtCzyH/\nvniFErbSq5h/PbJ7gVIAj+z6FbRcQFMBf6QGl6SaWb1DGu3GY+gD+I3vCAun\n9p9mEZt5fdj0IaD7JJ9tMsA4He/XA2gOvseXhMY6rg7hkiH1oax2dbGMHuYC\nH0r20+un8R5OuHAB6m7MIodjYyICVEH8rD3dE4Vf6iscrqIxAkOelygLXOAE\ngKbVh6NKZIWNX+QV+L9Tn4gakK0wvly2E/x7HVDsLxYsk0Rn2fxZCYmD0td5\nnw8U4GpV8W2DfYEXCd2p9WBmzn3kFSrxuUZNOFUNTaX3dgCNw4z8L/s9mXay\nIyVTIRWWIW4pzA/YF1n0Tfp+drfVwI0UUF4o62Pp78R8/NXrgnw4DIF7CQiK\nnnob4UYebi/zBFzJjON4DlXTeruhSj2QEoWC2+ri6ZNDy39M9bxzqLoyj9kl\nEEdxYtcRSxQ6ezwLQEVBCm5jefLThLmnpKxYOdq7GMwBXRqcdL6xrYJV8S99\nkf/I\r\n=BqhE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWcyK7NptEAO1NM1PAcP2NheSbrk8wEsuUgNRozU0qCgIgVkWSyw1uX0E91DwMxJbel/pwW/jOk/M6dtpmlAwNZoU="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.0.1_1553685236409_0.6878599453648129"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.1.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.1.0","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=8"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","markdown-it":"^9.0.1","nocache":"^2.0.0","parse-messy-time":"^2.1.0","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^2.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^4.0.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"698418f8b4608bd5e34f0c1b5676010e96b38ca5","_id":"hafas-rest-api@2.1.0","_nodeVersion":"12.7.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-Fjv/2Ef6dnee3qNPBVh9F8FH5H1rLYX90tzMuhkHw89WlrRtXFmLNti0CZtsObwSaqTiK2IegyeKVQfeu9Obuw==","shasum":"444cc3d8afd38e53965d06e43f0df85b98bec2fb","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.1.0.tgz","fileCount":19,"unpackedSize":21370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWtuKCRA9TVsSAnZWagAABbcP/RMD4ZqxULNOKFQcmcYA\ngYiihd7BO9A/fZp+MfMHAFSJpNCgJ3/5/kaWP8uvIf1v3BjgOoByqMuljsKI\n/iZLXS5IwudTC3hIKPHyFEWlkIrD3yyKRogwy7LAl6PsmTQ0OyKcDd3w6tTf\nW9Cij6oynMrWrGQNGxqYqSTRBQ37R1ZaINooeA0ns2QMhCByZJKZiU8uRn2r\nDtx81FbU8pKlfEKf756VqbaeF0XwhMOmWIBb/JvU7SzYXO3+K5gJ8m5PPDSA\ny8+8Fqwj27ykUpAHwYUpC6f6p6U8rSdCpIL2PywJNa/XsPF37XWSmxvpSx2A\nwaFjimBiUVsqwf9O+10mWlYQBZQv75DwP+Y6YG6E8zS6p6T09O97elD44qFu\nzxfYgjurWyekXskawhXCC8dMLaZ9mCYz3agzLEux+nRXJaHH6FDbRh77tgEI\nZT0AgfhbvzlSt0vII4jQ3fiRrqGWEnpH61kJyZVKRaS97MBEWd/eZ7hINWx/\noqIrmtOvaE2/FjtaSh1ffoiSFnj6seH3Qw0Nau6wZyl7XeZKVNPT7AbyvLh6\nf3QmsY+m69STgs3w+Grhwbcy3/qRxSa0/rS8M4S6Ufo1I/cehy1IXa17JuIR\ne2EZ9ibZ/C94mg9YX9swBarAirA9uVlNRCjUkK5pIYdeDzSN4kLlkkbVDj6F\n6JcG\r\n=Hktu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDSw271Ky2lE7ob7fYb+zKqlGBARSkrBADHSD5+Va2BwIhAIZPrGizv1/S1BNhDUZHPjEblCtLcp4vhdSVxm4gLRVW"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.1.0_1566235529888_0.2017999502739658"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.1.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.1.1","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=8"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","markdown-it":"^9.0.1","nocache":"^2.0.0","parse-messy-time":"^2.1.0","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^2.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^4.0.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"06e441565a8157ef972f3894a80a7ed238af521c","_id":"hafas-rest-api@2.1.1","_nodeVersion":"12.10.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-pmWNVihyOrBfuTwZCJcycqlBeVxPwIbVqx8HdYKW3IWh2pn55YumdIdC2IgzGkm9D96WuIK+tmH24bJoWFux1g==","shasum":"18d422dec503b1f2a91e699f4bf52c4fe8a859e8","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.1.1.tgz","fileCount":19,"unpackedSize":21372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdusPvCRA9TVsSAnZWagAArvQQAKRpytguDwnqsOXfk3uz\nYZ7rR/OjytiDTP6rhBs2DE80id6V6fhLXCdgjl+HY7pvorLmydzr+Gwx0B8h\nGAjtGFFQ2CYAB+L40A8DQVuFHTN2tOCmOB4oC6/J0YgPlSUUbb+msifvXkpE\nUAku/dODfofKhKEwuD3Fw8jlH4jlMLjRunmULvui9Sxo9dmN4/MV8rKEzD+U\ndz8p29JWsfbp+2hklJZNlc5P+UZgRejj9UWndMH2yXrP8PFL+UsYlvos5trb\nvMvFhq2cWHk3KTWL/XiGcFM3oYiODJGeG7nujgab6/Uf/uY+eC/PqlntlPOe\nJNqNZHfMHbLcbdd4ifXnlzNRGY/u0UGoQTlXU3BGHJ8/lQF5d7VlOu7e1QHP\nwU4IyGXABQ1aVVPqYPJOOxLnjV0QdoUjC307pb2W18Ykb9uEqsgf+1uhfYRT\noVWCYCXRQ9h3CdhrM4fCzuAvwjUFjsCw80UpFHHVfdLCRfKodhxvJRsoDKmt\n878aoQZegoX8wMi7X0SljlkJIXQ1L0MbT+1LEBa2WXWnbFtLV8BPAdqAipBd\n16iTfDcMzHuLpjObZ8Z7zn9TXr+cAMK6i2l01Eby7IIXInAOwkWJmt8AUUYo\nWULmgxOADsWyaRCjyYOGmptoYtfHgKzj4JBrTuLdwYTMYd2Br1icpgDvuNfp\n6f6z\r\n=5D6p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlkC1ccFfKRys8dPX0xn1qeVSJVsKYqW6QiGyttmAR6AiEAvu6LfxyMcNMrGlu/64KYs/7/EKim9aKeX2tw1YL2H6o="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.1.1_1572520943141_0.9834030937172846"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.1.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.1.2","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=8"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","markdown-it":"^9.0.1","nocache":"^2.0.0","parse-messy-time":"^2.1.0","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^2.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^4.0.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"2d8010847a8c4e0ebfdb1d10b13e679451a68ba8","_id":"hafas-rest-api@2.1.2","_nodeVersion":"12.10.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-NabXcOw/E9pWZAW99llbRwbORZ6Zfs2zl0F3ClLZGowf674ZvbuiKwvg5Ins/sEl4SrLnPousA6lsQUQolrdsA==","shasum":"dc2eb302190aefc09070fcc2f98801d27b134618","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.1.2.tgz","fileCount":19,"unpackedSize":21372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvG+ICRA9TVsSAnZWagAApbQP/R9WNHbtxMUl/ULodQIV\nx/W7M9691kE4CnhdjspHBhMKuHM3bvcnAzjoVRHK5w0L2HqHOILGqcJ7SazK\nbgy+3KRKVlD+zt7HoYxtWb+8kvwvTSwGzuX4E57VQOYvDaMTFOSGVn93/+oP\nEpSpV0SBhm0g08RfzUOb0PDSAx7O/SA2Tnq4z4nNjdlqafE2x/jQ7Wr8tOB3\nHu6dUCRuPcuQ/AhS3eeb0aXW6W1bzuJI/OvcUisT7bje91Bqq6eB964Fidiw\ncRTCiI+ZIG+5Y7t1OjNXNNBAMjA8aUccRVsQI66kqN8dj4bFwhaSKbWQ3/wP\nnbER666tVrntsyflEXufXb4c0Hs4VwZpJI102gWlTD37Mp4szsUBBefcutfv\nQ8r+ddUP5+5GCZmdI5pyflaFTFmkP36MEdU0tcPzdFvVXGGxrvlVOAWu/GmE\nm5H1UccnL21Yfd1fkzUbMXlKJITSaudRTL1iP94m2yhyI/XkUR9M+/RMD0z0\nCFj2tRqXWfQ4awziulzlAypC6euohoo6HjIdB3BVBsaT/L86lzHjMVTuKP5p\nchewZfbgcJTMaWaEben8PtBqB0DE8hp3QwnJyUDxOb5C3KMLSscsDBhQSVxr\nY1eyeB91yO52YdV58JaiRev6iWgosRWB5/nB3cRLXG3BPzTT1YbFZlQFjkc5\nEuha\r\n=+iDE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEzb55sONkI0cVqS1ORPbimpBBfNT9V92aJoyxV10m/6AiAYG7o89/psvaOARnZ01xpPnXWVhzdcTEhhOOZnj3Gw8w=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.1.2_1572630408235_0.38710882916980527"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.1.3":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.1.3","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=8"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","luxon":"^1.21.1","markdown-it":"^9.0.1","nocache":"^2.0.0","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^2.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^4.0.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"ff95845db147b8048b61a0d988fa985870f072cc","_id":"hafas-rest-api@2.1.3","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-gk8GJawigHRc5kyhsJuSvcE13kiOCy1hlqgbiOLifkcJPa3x7GVMbpxRzatVqr8vzQSV4l8gnGWRI+1siBZcnQ==","shasum":"c9844f9f2fd33c42c7e20d9a45210b935c2ff13c","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.1.3.tgz","fileCount":19,"unpackedSize":21692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0BAACRA9TVsSAnZWagAAGTcP/2U0k4X36jKU9ZwVHt7x\n4tnsYD6EaT4t6kFIxlYgbjDlOYDNeePOHeahI4pnrtZAzhOHYTcZek56YY4s\n6FhYkWHASJuwLb0KFX84sd3RRHa+osbxkdlFnDdmoTffnJaQwT1aoOVlpfHe\nlBBbNWoAeBxlmA2i+yg8g//6TmfMsb33+WNwqC4502lmWOYLcFMXkuygZsgl\nl+HyjQ7ccoaiB4YLIzbZhQqfH9V2EDcoOwda6ZwDIGhBiFZyr0xABnJNYiiT\nHHk/LhFp6o1Y3Qj3Jxgu8aOhR1mFqG9oDlPlLU4SDLShysttiLJ5GFaMliqk\nMm4zGeMHP9FOpoy4rFMO5J0IwbX/rnCd/fhKBSlu5SFggeN9TFRwO88EbN4O\nMCZ91vp8iXIHroiTpYnjarRGCmJs7tNsI8YMTHxQXDBwuKAtsloQgu1qKCKi\nwoMXAs2DJGYMhA27pcF8vW4TpzLAmgLvm+nXYeYw9JpCDKqW0Hc1f4VPU0nU\nDNkAcywsjOics5ZI1MRT3f0hz/rzkA1b38O4X5IPqP+NowwIpitGgQYGlVrd\nNKdN5hKJ7ns2RXf8Km4sL42G6yyby48VIM0pLspE/79gz4jIh9jNW6QsFGcY\nXYJNEOV+/iACN8MeSf5foXv565YrVuIObc6HcgW/uK9Om+UCQuZaoO9oLzuI\njhP+\r\n=kye7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKbITZ5E7305F+0GElHcQrB8lk5PfS6FwsPtazd+gRtgIhAO3Dl/suMKfxCLxLJPPh2Z0RHtsQ1HxTHbaQINtGHuSx"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.1.3_1573916672113_0.08396878269098695"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"2.1.4":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"2.1.4","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=8"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","luxon":"^1.21.1","markdown-it":"^10.0.0","nocache":"^2.0.0","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^2.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^4.0.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"d9c329ee8ea1c6c8233ab269652dfb90abb180db","_id":"hafas-rest-api@2.1.4","_nodeVersion":"13.8.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-JlkWt0oOGiLP6xME01/ks5jopvyQZjv+GvCv1MgV10fBMxSNOJoPfInhAKXKqErFcacytJMpP3AgeImEjO4X4g==","shasum":"bace46b4dd5995355ab312434a2f18cb2c1e6c5e","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-2.1.4.tgz","fileCount":19,"unpackedSize":21730,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSeN/CRA9TVsSAnZWagAA+84P/0e+7zynit1Hvo1hMsoS\noOvXQL+8GW9FS35WJs0ilYYmdClDs5JsVStSP28BLmGs56ts2mBf/CcNm+E7\ne5qpSL1g2rcOFFMqJQDZGOAA6AyuT4RkEUofyE6v3ec0P7oyDUt6ctUQ61tH\n996NCBRjwwCZ06LXeMqBi2/+1gvQg0ZI/OQkXcBy9T+S+6V7aIKRy8sE+4dn\nb0HYKkTMthROu0OPv/S8xBJm+cBEwp2DVvEqiOCLMj+mAIKQQG6yw1HThsYo\n8Q1wmNAZcOdcBNXaDxjzUYXxd/HY9BlwkjlpTWsuKp0H0dpzVXkOuEBR8aiD\nX9ogpqs17jzJipYd31sYDnyJgATbIMrW47XmeBo8+KrpM/rfGDnYV5wqhXj5\ncXj1iMgtZ3+/bEtMWNOs2PWt9tFeoCMLAxd46aEzHnMtyoTCoBVebh199/69\nnowxu9r9rMeITt/Jyk/uFRVzWH8pTQ3lYiplL0yJsn/108iiyuW1yA8KWnNi\nMiB6/gr/xQjaQSyve5Wwh17cGnhRVMRzLZPnBIGvvCoeABVfncXaFQErTJ1S\nePAbgEBW4PnDiyuuKi33t/kjwjTzFEj7nUtDGXEXMN4Ccy1e2o1HhRrq2xTq\nA6R/F2DMN08MfVmCowAgZkZT9/0CriCA/t/cDMgwI90HJhjl2BIddH9GWmRG\nOmfA\r\n=RG3e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4mr0oAD5b39Mss3aNj7cxQFv2HMGYLXBaG/BdmxAjHwIhALxqDG2s+58t1g8uTmiXF+XKm9V4hc29E68EC4olyqWr"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_2.1.4_1581900670920_0.6586729917442276"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Please use the latest version."},"3.0.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.0.0","main":"index.js","keywords":["hafas","public","transport","transit","api","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","luxon":"^1.21.1","markdown-it":"^10.0.0","nocache":"^2.0.0","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"b5fcf04ae11ecfb60e4ca9cfc1bc099280631c84","_id":"hafas-rest-api@3.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-bQLi/QB3krYaTxjXWwK3Q6bvWH3YvG7pIUR6lkFfdE+/TgzuepGQ3l4dNMhCGRTBKWKdRs4JX2p8Ls05Ngipmg==","shasum":"01289db25ff899b4786e256f60e4e356fcba875d","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.0.0.tgz","fileCount":19,"unpackedSize":23148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeWBGCRA9TVsSAnZWagAAQBIP/2RZpOMSxzMsSCVMGEGD\n3gM4xzpq4CNo6Yd5gbMdmI2Ffatk1y7j8N2ld19iAoueYQ5BKD2KpIuGEaj5\n8kFakNvYBiX39j8b8quxopFLFodT/siraQZakt2T6yQQR40Hj8+IEffxpW/n\nMLXH1hGBt4hpxNI5ALUlKFph21f/S7v7ZhCfSsaqzdzExiKw4/hvEJ6cc6iB\n/25HuCj13b78JN7Dp7tiV5NALCoPGlWwGs0GTqrOGhfNCKv65BdXEwevvNEN\nB5SPaB4T0waWuV1X4/50aVXmBM4k2HBLIDGdnzrGE1bTy12iug9Uxs/97mXJ\nqNtmVZ+88ThWTP//7dGOyi/hZ/GGU2TX0RBq9ZgU/baFUNCVhcP+ctGihcCw\nRFsHyAhtO21BsJtdAmkgw8OGHbIUPxCEPVJATpzwTxPDu4XiYs3SXqfaYg/T\n1NjIaEpnebM8dAGQ4LWQhRx98VSn3MHiuYPT9y6aOnaI4Y0gbIgw5xxIpPEA\nBaU+MFp4P+IlG1Xo9TVwiyVj6+ILwTntkjaoZrg32K1avYp/YWpdK0gdz58U\n/GO7UrGGHIP/ZblT88tFXFu+A606TXHZImpnWbcoGuznaO6EJarOYPxQRQoE\nlkqZjaxqbsztykB3pwXdELAnBlEj1x0htdFpHDAR0DvLhaqN6UCgvLC7fO4T\nlRnT\r\n=XIs1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6o1wK6tXCfgcm9QWm8rrMTF/ZUE6j5BcD+YtnjjHMuAiEAr69q1Xd1ygoS1zXeuhAj0fqomaHDuNiQajfLAD6D6zU="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.0.0_1585012806126_0.418602797015178"},"_hasShrinkwrap":false},"3.0.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.0.1","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/derhuerst/hafas-rest-api.git"},"bugs":{"url":"https://github.com/derhuerst/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","luxon":"^1.21.1","markdown-it":"^10.0.0","nocache":"^2.0.0","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"d2649845efe96bd43164c95c777ba3fc828cf555","_id":"hafas-rest-api@3.0.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-lx+1lLTk/2FeNbZsN2Wo7NbFj/wAzyxgjWCVIKCcC/jRC9r1JnagS2pyc3YWxja8IS+PcEwdSp7x9IM7TF9iQw==","shasum":"68b03aed2a62091b02e1cff64189ad46593ffc8e","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.0.1.tgz","fileCount":19,"unpackedSize":23300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekJkWCRA9TVsSAnZWagAAqHkP/RNww4fRpmhSOiq6O7p+\nDbT8ktvgruzhdh9xb+e0px9QB9OrOddckM9r58muBPWyWRdyESFW/148WZJX\nZUTjDq0lLDfmm/FQaXuFCKZoP1LKjWmAAI5ABH5/Qg1VTBno6VoX1/Fd/0ZP\nmBMHZTur+P+ChrjxGcq7zv9Kvqt1aCWZZqaiH0ferOadarWGWNtGH1gCKVrQ\n/qbng/ZVJCySGIGcdoB0Tk7AOK9xJolUB41ftCoe60yp+AHUEkIL2sII0BdE\nyCHE+Hb4hgf5VNCuV+MRTznTR9N9XkeEBh0Va4EmsE7LdnxM/LJ3LW5nIlVn\nR1DVzXjvfinabmiz0RSDl6mxZtxsJp84me7en1EY7R4Rlzw5znDbs2hHONvh\nAZyjlj10etr0W78YD44OzQVHFSZr4aZNF2Id6J0xTHBf+wFw5JVsjDLdoZqW\nbmot+A5tTUNQ01dosRQWf9Bw5tdHLVFdJHrR1ooHbeHNV778r3/a+vQgEooY\nyzlurnfRKdnbqBHIRhB7BpqNO6QR11BCuS3ersVgBlnIiCLddmubJNZElFv9\nhe0kstZc6chDiMiRJqhEDLc4i+ealc856OMNvGljqWCohxPDfZUcDGWkmZUN\n0S2U9M931cvNB1sYfVlK5IoEDgWGDqxPrRs/OD3wobO4lKzN8f3zZjC857YD\nIfeV\r\n=sYlW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqh4pw6RlM1lKZApenpoy0OF3TkUTYxp+w53uNxFQI3gIhAImyULu/nfRvM5/gUtYzp31vvfMYmoKWU3HBcY64fHX9"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.0.1_1586534677802_0.6043516562883082"},"_hasShrinkwrap":false},"3.1.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.1.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","nocache":"^2.0.0","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"bbbfb0c6d1d68d40212d8dff721831cb4477f0cd","_id":"hafas-rest-api@3.1.0","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-3VK8UM9aJk6wgWltxTxMMKQoEc6Nk3G2MWf7LX43BTKYBb0DwHTmCzDFtGjxN0Npw5sjWLC1itCZsrRHBGi8Uw==","shasum":"33f3a2f38f8c3b4984b2cd167423d61533aa591a","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.1.0.tgz","fileCount":23,"unpackedSize":29194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepIcwCRA9TVsSAnZWagAANfcP/iiJp25auRPbcNMnPd47\nh0EnpEgtcWNCaWlx7jSXP4Zc9pjW1T+7MRq9mgqBAQAIbj1IqhTZ6QwiFxPt\n5fwZRBtSaSe/56j96mSJyCwQQvjZk/GkgnbhJu3ll33QX117aDSPqckUM3T9\nNBQKT5rAUzDkv2eA56hFWNO/3FSqelscW8B14qE4snWohXOGpaPpx6rvYmDE\n33A1uw3wsanE91QLm23d5QvY1hhpka3zeyVlZGuBUDtoQY2F0aNlynE5+sP/\nO61Oo8i3gUC6mNiqMX6T4QcadW79T8HrWuFfivnlTD0XpldMWsQZh6V2xek8\nu9zK5aahGmGf2nl3gkwcnWq2QMXU2SVM67045hxwDLoAODZvoqAx1eaKWs6P\nuXYQmETiHLRJidUE4XxnN7bHcctQhLxq7vWJOPf/LStap5g9kl+Ir38fgO+9\nozcfUw9BwzIrPcvPj5bwE6eHIGR5JGoOLub3xbL2yfiG09kvQEp+FX5e8+uX\nJdQnbtZ+TG7WUaYHIWts6B8bQAcbWay4XPGuUTogJ4okwSstgx0pMZu49a7b\n83eGDTXOHtC+xbRsw+nFQn9TiPAwW67dsSw8KgCFrYoYaRIjrsUORifBFWOJ\nAQVajfhjVx0Dl00Pu+KIA6nF0i+uUrjq5qoUmqcX7QglJ+drSBq4ZPcaKBE+\nz/yr\r\n=MUuS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICKMBXAAnGB9NZrUnNX4WwI+zATnqna2aVrV7Y6iAaOvAiEA1Phc6fxzJEwaQeBJdefC8cYfV2qA1XIJYgcQZ5oRnDQ="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.1.0_1587840815973_0.7206645678458234"},"_hasShrinkwrap":false},"3.2.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.2.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"bae4add547f370838ff05c7af48cbf7ae754d5b0","_id":"hafas-rest-api@3.2.0","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Pt0aod2oj2YeKeOCAUn06qim4nK5HWSXVmDhubXjpMuTedG5fG4sSG3dy19zhP0k0P4LSxF+t1+I23GdChUjrQ==","shasum":"fad8a0c660e4988d9046ecf92c25e6c0273555e9","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.2.0.tgz","fileCount":25,"unpackedSize":42373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqXHeCRA9TVsSAnZWagAABPEP/AypqhUrQeyoT1QseYPa\nvfHgUaJVX1D/rJmzJriNz818MW5blrElR1HvnWfscDZo0OtbvXBC4H6b11T4\nLRG02Fw6L+bKTVZKZXDSXRHmKLTLXx9NTyhUy38HjgQl0CNJ55q6SmmHSHjp\nWnF1C5oO+vrD1oxZm4ru+eFqiYbPgMDS18Oilo4D8vB3Vcbh7XK09/DDtpff\nFneNs6BfkBnQaDAAdoWe+Bx9EOqVbuR5ZN8qjIrVc9m8g3bIyYW3vkI1UOJ8\nuqOBWCHtNwcrAXDq0k7kWg1Sjp3aaOXdBb3Jn0EXBvf5bJsDjh92p9DLxsKs\nuw2SwxdIzvLWBLM4CbnQh/4B6ojAY0ad8j2KP0ZUZ7x62js0qZfJWINElznO\nsWHpybs5gZINPdBH7lV/a2YzuDRy/zygisI37Lp9EtM+kJDAtzc6brV9SbzM\nk6vKjKu5kkvTNI2JrN6meitVrRhJWJwBYiHlnyWT+6bb/G3N/xrWGCaFohvU\nZ7i1LXSeYr06tU0iIoR5FSHuEihM06MRXN5oz4SO96N7o4PIydrE5rizXyjS\nTbGC624A+sGO+t+BPdS6vn+dvP7t7ZM9SABNuWjojczhKWagZrjkpCrgOxYW\nqIfqMd6DWfh8IFEXJOkHFmYtnFu/rXEFHYn9EaE7OrXFHVJX4t8Pc07R90JG\n1mpk\r\n=a7u/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHI7CFYyBXt2sOCCZpoy62vMzaoJR6o9kKQtyxpVij7cAiEA2q+/Zu+SaU6zmyhA88Tu03LCeVIcoufX5kgvPxLbX08="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.2.0_1588163038104_0.09856283589413461"},"_hasShrinkwrap":false},"3.3.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.3.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^4.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"3da392c6e192506283c74a1c4788a0679f8db86a","_id":"hafas-rest-api@3.3.0","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-3VaDL0QFQsox9uIdg+jO1hzZNsXenXLEUUti1/hii4e2gQLoZZdE1f9liiex9juNxV85zmGPWNZmL4VdNt1NDg==","shasum":"b0070e41eef645796d933babcf5fcab82cd4597d","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.3.0.tgz","fileCount":25,"unpackedSize":42544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqaB3CRA9TVsSAnZWagAAyxkP/0R5SqDCGNtYt3hkKaqQ\n0D/nDMDA5nvlHv+kMzzrXhxqmR56glNmqiFMM75w/0wjzG3E5KeIp/jT2T/w\nNFPue7k1PYA0h5Yt4P4vuEjOsidQkUYvG1YRWgkX1I29oGSzo0ra0B9CspuV\nAoM49QCgqTEiZ6tZPy6zvtku/PV9eRWuKEv8kvJovNY+ydJ8oaBh1m3RPNjg\nBptIqjjEToXSyHlAiGVy1xh4JVpC7p+lUiJ5vm+/EUVoA3s2v3zuAzQ1LICj\nMp5lmTRMceWW2rLxjfDScpF3F1XPBN2SgDb0Lj4JwXAjTm77g7NJDCUcaBON\nqf+w+YwrEQTDJcgbanxdlzmtcTwL6vdFFWjYJ14aKYyGiuctjEl7fvYYqHG0\n1lEEDl/6vyhhEhECX9o92FCvERFHY8phO4SXJDV5wxXqMKWXMg2z4JAD3A4R\nzzgTUW+Vu3KPjheBkJR2SgY7tudCk7GT/aXnAUZWVXKiKsB/q4zyxJDeMBst\nndDd5/ydGjOKUc8xh0QkItfkiNF9Y9zIAp2KnMBYTM7Ql51BanmONG7yIGxe\niCXsHxHCUOGI5fBL6gH3Kd1DTw8j2ChSRzJoow5VG5TLO2zNWpF86WWFScdb\ny9PE41aw/Kj5cbu3QxoTWOHJMCzyH5iPQu3yHLjiQ5hAi8nboKG7alzIA7gu\n02+E\r\n=HuD9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmga/vqgRi7BpdYpyKzDPPKD3R3yAUi2TjU3q4Y68NBAiAVNu63MvbIRJQ4SL4LyPZKVU1HesTEN/CKG2uAEEErLw=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.3.0_1588174967315_0.057413600786158536"},"_hasShrinkwrap":false},"3.3.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.3.1","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^4.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","prepublishOnly":"npm test"},"gitHead":"4f4011b27cad424d860cf2e817f81aab6acabb95","_id":"hafas-rest-api@3.3.1","_nodeVersion":"14.1.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mYIjAA9FKtDfgwW9vJ50obYzVKXw8958LU97efrmLrmcDix3te0m03LoUVaHVZGLQ0hTK2hbXvqKFvLZtfPEFA==","shasum":"978bfe1f639cc88a8044b3a59f1f80f17f1542e6","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.3.1.tgz","fileCount":25,"unpackedSize":42282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerGYECRA9TVsSAnZWagAAJtUP+gLk892Xe6r7cZBd09r9\nIFCFgiOHdbDqxG5rPVX5Rad82qs2lLO8k58vpVTlhqlrTTm1sXQXwaM2O6SV\nf8BcehxnB+XU/YZG+TbiESO5Z2LK+a6za6K8V1uoYHVBWhSlfT5iS8QZb6Dp\nvuxHX2KIgGwr3pykqqQ2OdYAFR6oD28T17r1g1DxQXBLdzMaIHYz2GD4joH/\nks2tQOGFn41bbDi5j2b7cqYXg/sZLA3EfE9coO0NLG4ewtINCirtRGXlOAGa\ndfCnLaBxOASZ4RCbZxDqty79GYCCb5gsS5cTwx0j6W/ucODnE4msXK+T1o0b\nO7sM/1hH5Pi9ZS/ElglNGiwuLRq4/4tT6emqXT++GqtPFjdBbL8GIlSI0ZTb\n060MQAXRtgf/qyoGswkcvsgfU0T77sbQVtH2hzdygsgOkyaoczlDGPnJEjZf\nxjY9SRcD33OmQzaCVyZIoPNpKMRpP3yd2Vm6Ai6oYH1z4JGiC1RPPzIniWcS\ntwWDUjK7YhqTyyMd7bji8QvN31+G3jDfkwttoQDv9UxW0krcRhlOqakx+Z/O\nG7T9OiKVw7xk42wm7dtyVPnqfP9hcZn7lMKHNhBSBgr4Aj3jwfWh9Zq2EylO\n+hi4qxLUm5AoDI0sX9OZN6vi3A9BFt0dw45Y/noQvjaoebjtdNk2xDYTZ+4U\nAlBB\r\n=50Ff\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdIdYoQTnMfJoD1O/GxLsZaPAPDKwfiWq21JrMzM0uNAIhAPXDglswib3q5hXdCBdCNNeaZebvZYqhidC9OndRkBIK"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.3.1_1588356612194_0.37325605375349946"},"_hasShrinkwrap":false},"3.4.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.4.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^4.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.19.0","eslint":"^6.8.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^3.2.0","serve-static":"^1.13.2","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0","vbb-logos":"github:derhuerst/vbb-logos#v2"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"1c4dcc4c6b8b89a087440851088fbc2eb0b5b363","_id":"hafas-rest-api@3.4.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-jaB2nrrUTJCfbspNPSkAQ9MGiU8p96IFdbw60HpgIv15I6ICws8RErd5ttirLpjo6ypPwjdK0VY/apfWE1Ev1A==","shasum":"a7e29ba4af31e99e42495c4e77813fc77bb1889b","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.4.0.tgz","fileCount":26,"unpackedSize":44259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesDXkCRA9TVsSAnZWagAAsOEP/0k1vtG5QQ4kEpdLbdRE\n03WaYg34KqcKIx6yQ58vyi+FfRCt8MuT20AQaRbpEp+g2aDzc3VpxXs2GiXP\nhOW2RqgVyGxXMG1xkxhHlEcNrHSDhSRa2BuuCjWRkFYookiCY2/vestARKUZ\nC8gLG9pp0vTikxxGN6r7pC49+r8d0XKyBYOzxpPTJTkeUILU9BpvH0Ytjvtl\nCogHOgqvsbH4mBKB6YcWmqL22voeVJrnCdCslYE8c+InSIAVaOHvyTRI47JB\nUfK6qsRfFMeHl+4qbQFB0tw07aYUFyqwzc/0hMNSE+Zxbz/kMktq0PfgsYpj\nDXYfBMEw6dSur+855UHj1x4gAkhFZjpu/19RERIWQBRUxN+7FprCr/Zf57k4\njfZbteKZC7a57H1OrPd8CUK8zyRSsYJM0J5X2d5a8VSPzUxd1SbUnkYGnnFf\n1DdJS1klbXPRjipVXGSf8QdLEua3cWHReEgjQT6DvJLaeMkUpqIKgx5KU3EL\nsegoBfBmLfe1WuRzeRXawVcc2QsgTDRsrXWPqssvuf0GPZltE2cMIyiSgtNk\nKT8dj4Y4QaWQKsC4crfPeJFl1PhQoTzPj/gT3mgg18LjQyWLGQs1kl+M8QTg\nsNrDmPJNHXrEZXYSCsg1oYlY0hvEGMXjGxZ+rLa1VhSKJ5YNHTj+cTNEhzxG\nZTyM\r\n=kNl+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHCh6nHoTpLfkqtSxSnpgAyS1gvgOMcBj1MPKPspHWq7AiEAuBD3XNyQxQtFfBhV8BW5TXKHNQDgGghuerNxHKGWH8U="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.4.0_1588606436288_0.11323539095652846"},"_hasShrinkwrap":false},"3.5.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.5.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^4.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^2.0.2","pino":"^5.11.3","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.19.0","eslint":"^6.8.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^3.2.0","tap-min":"^2.0.0","tape":"^4.9.0","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"a2b74c1ad89d80a380ebed75bcb552fcf405e32d","_id":"hafas-rest-api@3.5.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-s+/YlUMalvy7b+CA8a9c5jTBYm1SO8NrhFLJ0SBntCCwU06imVDeMzuBtH7qnMP7b1cWA8AiTE4fExfmuX2RFw==","shasum":"1a00641e1aef59b146b943efff17b12c39c2e48f","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.5.0.tgz","fileCount":26,"unpackedSize":44185,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfea7XCRA9TVsSAnZWagAAXOIQAJ6wM/QLq5pAyKEqGdFA\nsyXoSIy3W3VuvYc8Rfr+OfMG6afQ9Nj/tpT60jkJGHRG5BV6+HMhDjZw/DCv\n8DlH11W+mYI8+6dmTzSHDzr2c5iF9rzKNNy9wdJjGOUL9LiCP7FYK7/uDTSz\neJXDmPFyAK/WmmHCY+POFZuofxRuxov5UGg3YUNJfjFnEXqa7Z+68CRfUwbI\nOlHHyqxV/qHZbZijDIy+pJhLiHPszdgWLM2sPT8maHDne6Xngk7qYNwRFjqg\nIecapnCecTdgrKgKy1ONkJS+DsL80oWgMPoK5G9MZbWi8IjkWczdb2OyJ5sH\nvKv0PcidwA9L9kuPob9vOQHBCHvCEswUKWhLW1oS6EeX/3VIjFjTZTiundjM\nP9JPjZdXJDIYNtH9OkFk3pqWLAhHuvIv5qsUeZy7zR6sA54w/fFLW18ZfsSE\n9tVBc2jW/KXXXlid/WwhmeP90FPXLqbRk6HA4RNXzMOot9GlpTS90LFr5J9W\n4AzPiD0389CoFm63ncCe0EoLkSih8HSHzq8+PSuaHe/340hyeRsBR35axXmN\nrISghWz833zyzVD5CiQ+F+2xXkQbwjdwrTayHpiddCfBXTbuVIPkA84lwes3\nB0R5ADXBiQXPKhJo6FgvIYIoQEDxO+0bGT5KJllyvYJYWS/Su9Wu63RUqYjp\nO3gH\r\n=dnUe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDK9JDnGn/WoBocu6Tyu5xeFL4vNmpZB8+hy7G05flMgAiBSww0WnxaPTcHTimvudRqfh+pR+YfFQX+uyPi5nYXpQA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.5.0_1601810135084_0.34701437006718416"},"_hasShrinkwrap":false},"3.5.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.5.1","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^6.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^2.0.2","pino":"^6.11.0","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.21.1","eslint":"^7.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^4.5.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"bc6534aa299b4648c3747127a3527d0c16673abb","_id":"hafas-rest-api@3.5.1","_nodeVersion":"15.6.0","_npmVersion":"7.4.0","dist":{"integrity":"sha512-F8qz9S5iI+NiG8i59PEnTMvzJ0qMkL0f2Z+ni8wh03QeoVY4DJNGKLR4zAOe4u7t3huxhJNlnbkqolIkGAm1lQ==","shasum":"a06d7daed050ea5d4f480edbb08615689d79d048","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.5.1.tgz","fileCount":26,"unpackedSize":44210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGx3ICRA9TVsSAnZWagAAQUQP/A7HXnTPF49NrcBHQOjL\nPBpJc+Un12EVuDIxC+XmzBUZhKT9z/+1mN0AkgVHm+IKlNgshrUB9jExNeAB\nleq5LhSFdiuKm/7/BMomW6QPYyIyYBup991RApC9DmJA0bRjJE6H2gwbiOYY\n7Pa9/ZNStX23QwRGDHHpXIYQIGVc8TrUE8X42mu3EoNbpNq3ME9OpBV5wZI8\nJxSIZ7quWBM2TyjrbohsU9OZM/wrn5aGHrahV31cCFwo8M2dlALbLdRnQuA+\nN5lPhlANkUM1QPqzx1hwAGNhyDaVu+kO49IddWivftWlhdz1+Y0oZqGRZ93D\nYHhRLTa4Qwu2nC7FzntEP6bn6/Ah/7uVe7l9hRYe4YzL8h5ClSCr2NRGPu2M\narWoF6HUqh7n+wY05cqjCRxaNrKIBxaHicQzzsG1Zn0z+7I7/zlRTi2RFwFe\npKcJlHNguVSNeEFf2KyhIoUW+YnYIORq/Gm1NPmdXdtdT/gqYQV2BLZ92EEz\n5wdl+sgYWdXJ9M+RMDLKchuykw0fW32D6f5aaTdGEBBdbdk6yLlIp3xSgI1r\n/AgxHTZzaTU3IT/7gTFQJKXMch7XAwzjMFYiseWMyVSo1Vacy8xyqdgcBNMU\nMzmljhY4zyFRtXNvdDmpPk39CaR68qN4BGJFUjjpBwb3wNewjviyncxUM840\nFMtG\r\n=cIfp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFUoAtb1EAyCflK4xUcnEe6Bgks7p7P+oinfwi9JhqBwIhAKS4ccgoBw5wBtOszckzDSsiQTvrHmcCZpmxlvyrHdkh"}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.5.1_1612389831763_0.3793280931166374"},"_hasShrinkwrap":false},"3.6.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.6.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^6.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^2.0.2","pino":"^6.11.0","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.21.1","eslint":"^7.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^4.5.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"9a2eb4a59816af55bac1bb32990482f2a056441b","_id":"hafas-rest-api@3.6.0","_nodeVersion":"15.6.0","_npmVersion":"7.4.0","dist":{"integrity":"sha512-HbucvFgZmuliPqn7k/lx3QWNg+NeN7Gu6AcyYNR+7hKl3DwSvqXLKSZ7U47PjV3G5Nkr8LkZrYYUnr9TKWPqPw==","shasum":"14a7e97d19f29de263a8a88ee710fba9c3e1cc92","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.6.0.tgz","fileCount":28,"unpackedSize":59142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHDgqCRA9TVsSAnZWagAAGkYP/1v/6/ANwK5Ckm4/n/RB\nVKcu8G/1i962A+oIQL0ZmhublwkGhHH0GEshyZJevaFZ4gDu5fHD7mhi+9Tw\nvbpqnqfylyIWhkDXCflvmun5HreQshrCEQWNYRkIZfJXnq3vzewA6qryEpJR\nolHlWE0Li9pFb8CMzIx/uooWDZpVy2VPhhRRaIL0W+gxleUTgWWchMGqV6Y6\nRybZ2CCsfY+AK5Nagmly9sGGISs2rPLVtebxTatftXKS0eqFx8uyEEIQqUmK\nRx+QMQZijNb1zUvcbVedo7Sr4kyBluvaU77j9HOdpvOyezwTvjgFexA8Wa4G\nY+0/XUAaRbJzOe1KJeoi1KH0r8kIZfYSLAu1Z8dJ7F7v3bkdd6z6Mlc3Rkjg\nDMdx3topvcFGN5hqS3wYTGwROSGS9wSTCOZ/GwQYc0frmpTTuEsiDnGk39qP\n/pgwHkQ6ju0C4ojVW6cQycXqFBZ8fM7AW4H/QO4FOfCz1G4fmJXuLq2sGkUb\nhUYUEoCHUSflx0JFr5TmoyBDK0/hStAgjF1betT2pC5zRbXkXSqZEdsU0fJr\nQZRJGLDGMs2hcKr57dsod5rn/ye4X9CHOb+7hF2S5bwz9NFCLRFW3G4exv9r\nu0EJlK6InZhQ6bbhDpyT9O4oEfeDB7WsIWVcWz4G+/BgSpXbTI/bfal6IWkQ\n1FtB\r\n=Ho/r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZ2+eVxOQiswbLn/Y1Z899Ai0X7IKvz0WWPS4jSX04RAiEAkvA+lcNyIE+fGN0R1zww7UDMs7yYX5FJk89KgQxQ6qo="}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.6.0_1612462122297_0.12160684424118329"},"_hasShrinkwrap":false},"3.6.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.6.1","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^6.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^2.0.2","pino":"^6.11.0","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.21.1","eslint":"^7.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^4.5.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"58e29c279dfeb37c988a17c2dcf1cc7b7059ebdd","_id":"hafas-rest-api@3.6.1","_nodeVersion":"16.5.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-zEu0yhKAWdL/EYXhKYxVO5tBn19epDV+QC6Y0okKOEcQRvg8CfFYwlri63al+G9foKkm53CodCr8ZUFDqMqALQ==","shasum":"b5489c726feb06b32d323cd601f23090151f1172","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.6.1.tgz","fileCount":28,"unpackedSize":59151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhGq+RCRA9TVsSAnZWagAAstoQAIjmydLg7kjf6eRfJYZU\nSXMg75WzHqiuXeqfuKtUPB8m5aBQMK9+x2sFspnyZ1cIj7SOqZDg4hfe9DWi\nXfx09jItyIm7FmBms8ri36Kkxv0pYBeONLy1n7TYWeumYgb3RpKT80IrzeES\no9HkFgfy+JkmMeCTUmpbXxQVxNQftksWaCGQj5qcUY26DaFbnuivsFRFpiuu\nwZLV1KBB6hoNrW1RXrA5On8sJ6M1RGpBcZnfshlCofR2kNmetaQg6CZkhDOK\nSlqXf8iIsLYXPn3rLCLHTpzx2CxQMp6sQZpxbaYDAQJLUWLDM+oLZzFAd88U\nzlHYhvKPXHyvFDE25Genzqlk/yHbxgRLy1cHInIPRwMZTcLASrEX/NXqJKjk\nU12wJ49xa2GLnLHjcMZYWpbreMYNZyms0zuZbB8bVzdwny+YiHmwhBKRi4ZW\nVGd48kLDCvh96Y9gk8foFFiBCsctXBe66vttJdsT5Zuu+gVEQIEsl7rTSjgO\nk8f7wpm59EkRMat25Q943HFlLUiHYFzvno5aA6NlsMitcM0MCojSoG4gP3Jl\nasFD0iybu7OBuxrxSpiO6J75mVeWvDWtK22le/iDiuM0hXLoyROXPmLkzc24\nTOZii53i7XsYVmvSvdfPUZzJY8oRbc7xOgcYWJUhsCgV0uVnOj3kkNIEnMom\nb6Zq\r\n=6Mjd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHw1S0Qlz7toinyuSHUkRXxY689UR8zvnGraNGPTkxH2AiBrBS9YseDC+d77z3AEEc58aujOSlANx6glO9Ei7uflPg=="}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.6.1_1629138832957_0.03180541354052724"},"_hasShrinkwrap":false},"3.7.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.7.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^6.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^2.0.2","pino":"^6.11.0","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.23.0","eslint":"^7.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^6.0.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"cd70e59479ddd18267594e5c3c2db1f52665faa6","_id":"hafas-rest-api@3.7.0","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"integrity":"sha512-bOj62muKqRbPT+Mtckcs5sfRPR1OIaK6y/i20qU+7sHr2YF4Z/T/sItWDrasvI+lZS/beJGaz/rjODK/sa+vJQ==","shasum":"b45c17dd5cd006b8a702ef4ea009236ccb551107","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.7.0.tgz","fileCount":29,"unpackedSize":62420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2s91CRA9TVsSAnZWagAA6YIQAJyRuZt+RuREzgfPPLGa\nB+Vu3f/SusD4U5i0hmOxI8PV9Mc/vASrVDkTy8CojIaBzycnXiEJ3D3HQuG3\nU6rS7XfZpMREg0SQYcZ7rhCSL+drnJAZ2VbCGDB3TMnNcOXx8I+J4s6h+kMW\n54RSOEeywsJ+Vp8BW6HJ8yw5y5ln6KfWCdDEjcdngNobL/AotHwxEjjzgkz3\nghM/5tgs8xMXJA1X2OVlrQ7G/+1/Z7tQbvb7cMcRQTFDwEbJNj2qmzrT1vuL\nWJnjUNc7/Hiuczp/Iv/2q/ef54pBeCNgjsc/G1m/b8W/uuQzS3SzXDn+OIor\ndY3GxXY8Id+NjYvTzqqMVcv3v5IRMp0Ido9xWKH8hKqFnC2vBouxZ+l0dsCV\npTXPhvqLu4Mp/DBSBJvDzGTW32Kwpd7oS2igIvCnkhqqUylT8l4NA6bj8sRE\n7l2OzDsJ0fnu1h72YK/xZHwPcdnDlZWDR6aG/qmUzV8BedZr3BdVcvtBzl0P\n9rA/aAUd11PY1ik0R/E6c6CPKCP3V3ecmNgXv793/25t/6Pddv0F1KZE5cZy\nG8JrEAs+O11gOZINMN/7QBy8i3y5CKebxvYJ9ddI2QPpy7pxmh3JVARAVjM7\nH3i+OB6+IthjAoo38ChzNTbSEmvqNQ55Bj23mnLHO0cNUVs7KS8nrTNcyOCA\nBP+T\r\n=H9Mh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChH2K9x8RI2/Hm0howezL1JAcKIXVxpmmMDzzDWyI/YAIhALuE6OgeM0QkC8fhQMAoeOvdN2IWqAllqYWDp/Cis9z7"}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.7.0_1634633968252_0.5139798785271281"},"_hasShrinkwrap":false},"4.0.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"4.0.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=16"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^7.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^2.0.2","markdown-it":"^12.2.0","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^7.0.2","shorthash":"0.0.2","stringify-entities":"^3.1.0"},"devDependencies":{"axios":"^0.26.1","cached-hafas-client":"^4.0.6","eslint":"^8.0.1","get-port":"^5.1.1","hafas-client":"^5.3.1","ioredis":"^4.28.5","pino-pretty":"^7.1.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"4b65116c04201d4ef6946fc4f31c8aff0e079927","_id":"hafas-rest-api@4.0.0","_nodeVersion":"17.5.0","_npmVersion":"8.4.1","dist":{"integrity":"sha512-rJwGk30x1oCoAcZ2RP5S1wyl/ZBKK3eh44Vo324/Ooh/joX6sHeYTwLiMYa5nOkKPxPppGfrvXZK4mhvtGsHwA==","shasum":"3d6c08d6e58830a6525bd2808ff7827cae6f2df7","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-4.0.0.tgz","fileCount":29,"unpackedSize":62557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOv0eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFNBAAovbjK4RFfICQ20n+GfzzLzv14ZFr4wru4yitwKB9Tj51BfSy\r\nwRwYGYxVs+vLFOScLmaW09lQZAS1uhKBvuTERV1LqEnV95Ewg8iKZOkkLEc6\r\nSz/OVC3pYzSApdC8dgiYnjVvzaLQWrZ/hiDddJUnUwq0ecKXa71jo4kaydnp\r\n3Mll0bgUjAVbaJw1izYUsL91GqnlZ8WxrkYV7ph6AaAgn1JjZ0LXn4clF+JQ\r\nQFs+5dUiUfYFhdBiW+/AiuwbXGGL7p4Wu86hMhO8N/myROFwy/TQkiIkyQJy\r\nBT8Zy1uo04aTe/NOhlZ983+5vMYnU0Yd6GioDYMWXB9OZhdCJV5xAF1hfi/3\r\nzGZX08or39qVIDrPQhg2ZKsqmfsVA8hnMtzrzkfJH10oG0zVdL4e0D7uPuGj\r\n2nAD2/h1cEnXkqDm+v4uu+gCkr4W9oC/fYabYbke9d9VAJSSyhggB8nrFnBf\r\nDCBU0i70vImanOol1+q05kFpuQt3+0O4s4E9M0VGXJ+EM5A5uyYUky0QXetg\r\n/aB7shdfTuA4KGyZbC5wIdSyvEhJv2zLmcY4PIJt2m+Rc9N1TyOq+48p7lLv\r\nMv/ejHRmqgr5Mn9tokAkFfGjyGlXHlLBlcNvaXYx0mTqwk4uwqVDiBQBkUm0\r\nhJ+ggH9cANAX1LZcPCdLH8mQQ4kn/9G50dY=\r\n=U1Tp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC08VaciFpsqDRNQfdhSS8Jrt+fWIeSfURd+yrsyNX+dAiBA822h4K6Rs1NF0h0gm47LTou1SvlevSN30nNH6Oon7A=="}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_4.0.0_1648033054285_0.004445457148555043"},"_hasShrinkwrap":false},"3.7.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.7.1","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^6.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^2.0.2","pino":"^6.11.0","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.23.0","eslint":"^7.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^6.0.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client@5`](https://github.com/public-transport/hafas-client/tree/5) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n[![build status](https://api.travis-ci.org/public-transport/hafas-rest-api.svg?branch=master)](https://travis-ci.org/public-transport/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/public-transport/hafas-rest-api.svg)\n[![support Jannis via GitHub Sponsors](https://img.shields.io/badge/support%20Jannis-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with Jannis on Twitter](https://img.shields.io/badge/chat%20with%20Jannis-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0',\n\taboutPage: false\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(3000, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | –\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`description` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`docsLink` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`etags` | [Express config](https://expressjs.com/en/4x/api.html#etag.options.table) for [`ETag` headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) | ✗ | `weak`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`pino`](https://npmjs.com/package/pino)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`openapiSpec` | Generate and serve an [OpenAPI spec](https://en.wikipedia.org/wiki/OpenAPI_Specification) of the API? | ✗ | `false`\n`addHafasOpts` | Computes additional `hafas-client` opts. `(opt, hafasClientMethod, httpReq) => additionaOpts` | ✗ | –\n`modifyRoutes` | Extend or modify the [default routes](routes/index.js). | ✗ | `routes => routes`\n\n*Pro Tip:* Use [`hafas-client-health-check`](https://github.com/public-transport/hafas-client-health-check) for `config.healthCheck`.\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/public-transport/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"84fd108aa89b1336155b9aded3f790f33a25c208","_id":"hafas-rest-api@3.7.1","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-+lM8z9hMYTgN2ahj7Jo9qU+LYdTptAsjqks52KpVSLISq9QeRKviG2aAJnY32Q3AE+AOYV8CzrIYJhVdwsd3AA==","shasum":"aaa8522628932d457a377a9bd569521fc5b66632","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.7.1.tgz","fileCount":29,"unpackedSize":62601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPfYaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmquIw//VbUYmeC/JhefMWgPPUrshsCjpMAy5gcLNRJwvONAuLr+fYJg\r\nMukSe9QtXDo1hWNtmZUJ5HMK4n8wM5wb9hj3HVGuqIY85xc5cviPX9GZsBdB\r\nOdK+obFITHn/LK/XWLJaAEhDoAlehc6mkMZvSUbg5pRco/bGVkawQvDx4X5v\r\n4wiC18xSGfzSmnKDuSRxadbnFdoDyT0/FlSrKLtvRshXscfV1Xy31ZdDNY8q\r\nh+jDnLRrM4kAa2zlfCy8g4O6x1mjV++Ob/bx6QnXQq1PabekUovu25m4u5jO\r\nO0mfTdKT2k1Hq+oI+ukwiqaJnvHxxFTK9ZqmF4tcZsjCAtOfUWRvHY1O1H0M\r\nWuwLwcJvm/iB+HEDHWCxK2LzAIjhf4qhwkZsMPFOrUf4mzgpTTckefMjHBpw\r\n3iWsZfXWxn3MzEXkv/xNRMLfkTb0p/iLGL+3a7THxwrpFdCOXVZLGe/XfGO/\r\nBxD2uKcjwXWHsarsk+jTLP7OlRVvDtf9q/FXQnnvVBQHW5gjPtV15iyPOVFf\r\nHgTj36MvpN4Cebd7z5Yg7g1+iRife0q/0HMivXPCMEpwI3ezhBId6Oie4M1K\r\n5cLfnjDQv/b6wdOrCLTmsV7nlBEuwvDP6xLQqaJGx92Y5cBQD49fplCagV8H\r\nTWhzzDycNTJChTkqAshLitFycuO3cPKmeZI=\r\n=TXQZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBoak175+SeWKTExJ5Ym3B21dCK0WBySu4Znhe6yS6D/AiEAjGbn9Q9EYDmBQKABmES/8YTZgbeiC3zixPtVy47RLao="}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.7.1_1648227866281_0.6034859872438316"},"_hasShrinkwrap":false},"4.1.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"4.1.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=16"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^7.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^2.0.2","markdown-it":"^12.2.0","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^7.0.2","shorthash":"0.0.2","stringify-entities":"^3.1.0"},"devDependencies":{"axios":"^0.26.1","cached-hafas-client":"^4.0.6","eslint":"^8.0.1","get-port":"^5.1.1","hafas-client":"^5.3.1","ioredis":"^4.28.5","pino-pretty":"^7.1.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"60335eacd8332d7f448da875a7498dd97934e360","_id":"hafas-rest-api@4.1.0","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-j+WdfDE+4FJv45Re+WEIUSas+rVwGEELgyBYNsyLtZ3ur0MuZAx9xhHa8uEqhGIT+3JSHrY/wzPh5y+ZooMqOw==","shasum":"f72f5636bacffe59de07a77b31a707aec809f30d","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-4.1.0.tgz","fileCount":29,"unpackedSize":63950,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGMswoFfRrIVqpxpWe8K4MNbumoesvGlyQ+JXIkBTRubAiARzNjKCDIPeL0Kv9jPEZMp0b7dFBkog/hRVVGr3S3kAA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSNnVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbdQ/+PAHhhVhOhGf3KFEf7InQ9VR8Uf5Fq7IdCS4GJ0HqhPzcNpK6\r\nvjqSyeLC4AokndSCA+lLGNPdPBO9qgulDlAG1tB/MMERZ17vvZdc+s/Dq+mj\r\nNXs9L+/Y3P9sAlii7u9cFcr3R3CKTSnT5OrdZ1yoI3t9abmUg3XDXAil94tJ\r\nPG5kP9pF5QM/yc9OYP7tUIFhTKGIeQLCGNZuKXQb5fcFD/cCcFtkqeW+Y/F/\r\nL7g1U7hikPTAgL9LMFx3Lu3Kogerr3iG3OXt54pA6KLTnDAv4GBOJ2unIFgC\r\nYYruKlQuKPq5b8Z9Sb9ka495IpeWUIv0XuMsPIxc3mk2YrR7yturZT2NteGK\r\niAYTJqUM1KbXPgH3gLtldAGD5kW+wIXofIbjykqtFQiiu5eAuc/TzDEG8f5c\r\nSx/W7eVkuTQvU2orel4y99pAOx+cOLUOdsg0sGlvFBNUBSTdMxY0cZEq07RL\r\n/kLRo9z5ProgtJQi2Re7IFKhqEXhDO0NNoxuovxjhwhnJbJ5R76eM6g2pVzX\r\n9T4TXDJDpwFrJklR7OYZHVlGVbScBAGnhnDE2XhD2e4i/SHJvFkEb8KOZ5Xl\r\nDjIrM6d0QbLc5Yqw5/lhzBlcrX8npwETaCGYK6k8GXt4hfAkIfn3eMmRAXM9\r\nLgJPeiwDo/g4dXnc03WxaDoYwwWdS+XGtEY=\r\n=dASV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_4.1.0_1648941525273_0.26409973641256634"},"_hasShrinkwrap":false},"3.8.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"3.8.0","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=10"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^6.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^1.21.1","markdown-it":"^10.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^2.0.2","pino":"^6.11.0","shorthash":"0.0.2","stringify-entities":"^3.0.0"},"devDependencies":{"axios":"^0.23.0","eslint":"^7.19.0","get-port":"^5.0.0","hafas-client":"^5.3.1","pino-pretty":"^6.0.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client@5`](https://github.com/public-transport/hafas-client/tree/5) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/public-transport/hafas-rest-api.svg)\n[![support Jannis via GitHub Sponsors](https://img.shields.io/badge/support%20Jannis-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with Jannis on Twitter](https://img.shields.io/badge/chat%20with%20Jannis-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0',\n\taboutPage: false\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(3000, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | –\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`description` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`docsLink` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`etags` | [Express config](https://expressjs.com/en/4x/api.html#etag.options.table) for [`ETag` headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) | ✗ | `weak`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`pino`](https://npmjs.com/package/pino)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`openapiSpec` | Generate and serve an [OpenAPI spec](https://en.wikipedia.org/wiki/OpenAPI_Specification) of the API? | ✗ | `false`\n`addHafasOpts` | Computes additional `hafas-client` opts. `(opt, hafasClientMethod, httpReq) => additionaOpts` | ✗ | –\n`modifyRoutes` | Extend or modify the [default routes](routes/index.js). | ✗ | `routes => routes`\n\n*Pro Tip:* Use [`hafas-client-health-check`](https://github.com/public-transport/hafas-client-health-check) for `config.healthCheck`.\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/public-transport/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"cf63b61813f2102a9c9e689f2176f3550242ede9","_id":"hafas-rest-api@3.8.0","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-D4o2e5vs9bqhxef1/SNHKtXbKWw1aHB+8ZCyf06qHYUfHsu27YJ/OPeuktoGX26gYP0Sc3Sjm1SuA7RVHv35uQ==","shasum":"77b9a88d3049d8a787e87936d13ca472ffda9f1c","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-3.8.0.tgz","fileCount":29,"unpackedSize":63813,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZQl5HdL4gEtw4WmEGZ+hmmXhwCLEQSDiVuYsq/NAa9AiEAtgLbIrVZUuhO1e1yosY0+S/I2a8A91RrCQbx5nl88xI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSN7CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeWQ/+MzcR4YuFtc5vXBFLGurs7qPIAk4GYur/QLcWASsOh7Dkg6AO\r\nG3eCAUHGjtz5B4T1p7YTFvYRJW6hgJBZEiz2APn9MbOwsNdZjxxD9O0HprGF\r\nkbsyPtlTBtaWJWygn8aFjfWWsl5EO7dtCRCV8KALlGUj5zOZzXXv2unuUsjL\r\nOQXIMpRjdF9co3jxjP3mGfO9GKJG7vHIwG5lGaM7do4p13tKSy/DdY93FkyQ\r\n5/wPtkpnUdLGk+2i5ufs8xgD0PoGgwsg09B1zeLp3P+u1/qXKhQ4PgIdP3Wi\r\nBOQ6PIP1jWgcrwGF7I0bpMh/FJnOdXmSSvd6fFPSE4GDNem/QBi2/7ARPj+O\r\nwI2s860CHFbKLu9r2vq1Ct/N0gj3oYyOJ8sC7w0965DlGO0NDOGrJ4ToyWDn\r\npyxpsWxaJRkkESw4jUCrOAPvCv5Ynd+AdVMXrwMYig2mRL7jDiqVbVRNcgCh\r\nfOEh5hkAVgpMFoIxa6UrbcyYKE8I+JKc2ZfXQ5cd0zTQ3CdacXbiF/f+fW12\r\ntRrPeXxLQY9/NFbDzyFh8ivgRNkFZQSkExf/b17fXsplsnIgWeLci16PAzj4\r\nZJOaoKRuyvx1Wob5e+DVX1kwkFp3cUCZ/YC/qCoiQ+mfO1vuxbm3brosyUwO\r\nwB4nDKO9VexuK3T5/8Dt4e0XOaEN/nm48ts=\r\n=Qm0+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_3.8.0_1648942786622_0.48804460407901695"},"_hasShrinkwrap":false},"4.1.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"4.1.1","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=16"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^7.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^2.0.2","markdown-it":"^12.2.0","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^7.0.2","shorthash":"0.0.2","stringify-entities":"^3.1.0"},"devDependencies":{"axios":"^0.26.1","cached-hafas-client":"^4.0.6","eslint":"^8.0.1","get-port":"^5.1.1","hafas-client":"^5.3.1","ioredis":"^4.28.5","pino-pretty":"^7.1.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"9817ff9ce9831c5fb5f041fbb5c3ef061daa6c11","_id":"hafas-rest-api@4.1.1","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-H93l9vdTVFQfGgPd0UBRyBVhKNa8AoTbmo2HSRSBV8dgRwC9vRbYbqJt6diu0fpnXty1HDOFBBV4MqTwmjuBGQ==","shasum":"d5b5e4de204a6d0f2f5aa9efdc55ba086694f87f","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-4.1.1.tgz","fileCount":29,"unpackedSize":63954,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHg//nU7bJvQ1HL1RSShlgldAI2dS/SpeeKGkK+sAsowIhANnQ+a4T3go6dbXfhvOBLyiWn6QIO/GxJeVCiUph43Wq"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSZhpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjSQ/9ENv7vp/q89krFpgTheQbycFgdBFSSRdaLy5MuQk9xUqnKKxI\r\nrC6r3jbGsCv1bJ/KQuBRa2vPCA02PX+HNk54DipDm/0XLPqxT1OFC/lxNo1N\r\n/F/Wr1Sbe8//mq8pI87MXHSqmTNygKCyEdAPMRj3+C6q96Z1VcioYVwnOUD0\r\nf+fkk/FvtTIi2M3gBiQRJUZcIx76wYXePGadH23W0fVCDX2BLqDYEst1reKy\r\nLSsAOE+ZXddjN60s8IZ7KgkHlLRFilx9IE4A8tOBEcNdPGzp70/I5JAcdvvo\r\nYiK63wVwWhPQ2Be1xdE36giyHVG74PVRZIPYUcBF/HowsT8PkztumdrAuRdQ\r\nEAweRhwjHnkPBibfM0nNjsLE5dg/QBEHRvoZR4Qx6gXk0o+Tj1Lct+nfylyX\r\nNpDA3VAjeCR4m6NfBt2kuWASeSfrTWxkiooTxwhlI/1WMx4V4N07M5/Ls6NK\r\n4FnIQmstBGumECeD4ieTGfjzjOsIPH2HeggnjlMx6FEEWAjl3bxd8yY+wrK9\r\nHC0kHCGsbKGiU+o0/6978owXiMcq2TOfklp0DKH7mo6Ftafa8OjltvUd1lVh\r\nh81VTYL+rEvtbbH0aj110AOMSBnIRH0tNEYdn8CrQPT8kZ7nPtpxnPeLhTFF\r\ncHVlun78khgShLZu1vt9QlJa2Lxyrv/iX8M=\r\n=jQBM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_4.1.1_1665767529495_0.28010628658676584"},"_hasShrinkwrap":false},"5.0.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"5.0.0","main":"index.js","type":"module","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=18"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","github-slugger":"^2.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^3.1.1","markdown-it":"^13.0.1","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^8.8.0","pino-http":"^8.2.1","shorthash":"0.0.2","stringify-entities":"^4.0.3"},"devDependencies":{"axios":"^0.27.2","cached-hafas-client":"^5.0.0","eslint":"^8.0.1","get-port":"^6.1.2","hafas-client":"^6.0.0","ioredis":"^5.2.4","pino-pretty":"^9.1.1","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^6"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"83cc3823ee615cdde52cc5d658034b00aeacfe95","_id":"hafas-rest-api@5.0.0","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-EX7/hpOkhP4hgDnyJ9Fyxibsgu/BPAJ2tJ2TscqU6NdfMW0neDvO66CjRWYTH0xUUJxJE4tTh1IA3a/EcoVzMA==","shasum":"b12b8b3241386e5a114f90622e21e03e3f1ff5df","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-5.0.0.tgz","fileCount":29,"unpackedSize":65197,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6N2RG3ytzld6uXpnRRjC56sf5hOxKhLV+TVVE+FXqEwIhALI8rYNxok9K3vLq3QM7aDZ0pUMNCCPpEg+MU4Ajc9de"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnJFLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqq6g/+K3STxu5Pwz1l1R2B+/K8KJmSVggmJVia/1AAh9TFwjEuqFrZ\r\nVoSgOSD+CAwUX6tiQZEh6dbpUSt7duTmzLR93fTgXBA4uhjFV4rphcmYOovj\r\nUDN/FRH4WSf4b++QVvvVyLbwSEoy3FcZpc1uMg8e/TbaiROvqs/ctuxowJlG\r\nCn9yBvthu3jTQLQK5A17ZJYG+XZXAgS7GljiAgC6EOPyUGXDce18+mwcGqIu\r\nq8+3M7cizAeSkQLOX92W5EIKnT7oLw8thSqjAspsnotS1ygSgOeedMKaMxgR\r\n35Ypg6cciQI4C8wPPiAfn+trAOLK/Yk+CHF4fXCRjpjSEE1R8S+4BrR+GiXc\r\nc/4gYUNFkesiOdGXsznvWnt0AzreBxufsSrxJIZe63aDVpRMcUpWzCPzpCw9\r\njSa4Y7MCyYLGZnxjHEi9CGZ7u/tkgr1Q0mKJeiZeJn67a8v2eBFoOElKQLFi\r\nzjWLRKY9UWKIV/881PNB3xCq5eEmwJYzdq2BrgrlslsdEa+DTKQGhFJFQtHQ\r\nJUzHWyzSIeUGyn6Sb70boS6iNBKlEy0QRgfIr/wKGGyQZLE+tzWldZQMxTJi\r\nmhIbt9wX9es61GHdxGnUkGQ2IBdSphXs3Ol7MwqMv1SUADx+4fISH1+Y17HF\r\nujAi4u8nUWfLi9Bxh2Q06vCViMfHFn0Rv5o=\r\n=rlEv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_5.0.0_1671205195443_0.08757726475547156"},"_hasShrinkwrap":false},"4.1.3":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"4.1.3","main":"index.js","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=16"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","express-pino-logger":"^7.0.0","github-slugger":"^1.3.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^2.0.2","markdown-it":"^12.2.0","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^7.0.2","shorthash":"0.0.2","stringify-entities":"^3.1.0"},"devDependencies":{"axios":"^0.26.1","cached-hafas-client":"^4.0.6","eslint":"^8.0.1","get-port":"^5.1.1","hafas-client":"^5.3.1","ioredis":"^4.28.5","pino-pretty":"^7.1.0","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^5"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client@5`](https://github.com/public-transport/hafas-client/tree/5) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/public-transport/hafas-rest-api.svg)\n[![support Jannis via GitHub Sponsors](https://img.shields.io/badge/support%20Jannis-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with Jannis on Twitter](https://img.shields.io/badge/chat%20with%20Jannis-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nconst createHafas = require('hafas-client')\nconst dbProfile = require('hafas-client/p/db')\n\nconst createApi = require('.')\n\nconst config = {\n\thostname: 'example.org',\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0',\n\taboutPage: false\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = createApi(hafas, config)\n\napi.listen(3000, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | –\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`description` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`docsLink` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`etags` | [Express config](https://expressjs.com/en/4x/api.html#etag.options.table) for [`ETag` headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) | ✗ | `weak`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`pino`](https://npmjs.com/package/pino)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`openapiSpec` | Generate and serve an [OpenAPI spec](https://en.wikipedia.org/wiki/OpenAPI_Specification) of the API? | ✗ | `false`\n`addHafasOpts` | Computes additional `hafas-client` opts. `(opt, hafasClientMethod, httpReq) => additionaOpts` | ✗ | –\n`modifyRoutes` | Extend or modify the [default routes](routes/index.js). | ✗ | `routes => routes`\n\n*Pro Tip:* Use [`hafas-client-health-check`](https://github.com/public-transport/hafas-client-health-check) for `config.healthCheck`.\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/public-transport/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"271820bf5f4950f908b18f09201859bc2940d3f3","_id":"hafas-rest-api@4.1.3","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-IgDZhka3KSHo8i0/ujxu9CF51fRxEH7H8rJ5P/eV2o5RzrU128MadTwrUp6+y7itzDmDNkeL7zoD4a/EKkC6nQ==","shasum":"18e8b3fc9a15a700c08d990bb47b4764ef9a3ee8","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-4.1.3.tgz","fileCount":29,"unpackedSize":64971,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9FI/HkLWhzd8/xPJ5tfXrO5Gu3J37iCdciuP1Uj/AZwIgLIv1Eq855XYwIvieTcV/n061/Brmknk2jeiN6U9rIgs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnKVWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqhQQ/+LRUHMVKqfAWq7qbpSUrAmkzwj2hFhSgWiK5fF3+S+ZkoYp7i\r\nTp2bDFP0oueLCJNVfYtaWnd1qQDyRRnJ+wsP3IKnPj7Z58ksyhuFjtcKa+4D\r\nqWtb9oIsGFOSU54O+15qVoCGUPdocY/jCU+8G9JP+UmSyOKLN9pFK83tVvbq\r\nA/iAuvs0R73RCxm7iF18FnGN1rr35mZZztkPc7hpYwwdG7SIV7jEjcQfGObz\r\n9PaLJFk1Xtj7+VXkxp7YsW5bwdD2FC7AwsVHkTsEX9LqCwVHjVzQcJHOsnfL\r\nLRcqZyPFu4DSFhhM52uhWUo9lppMH8RsEPcXw3xDaj3jH7y+2OeZTYMFUs6/\r\n6Pi1jmxfGjWYiGk36PLi9mPfWNnznbAn0xPmAvIrJrmMaI7Uc5o0qjvJdLOn\r\nhJRhEiR3pGYhFHDEX4j6ycHd207P3SBuYs914RfS0zfFat86zNHxkozqtRwR\r\n/y6mmuxsVy7QfmV4cLm4R9lte467vFPRkX05SnOgulaAy2HLfOOQuY/yLWMS\r\nUMUSVXKWZlEmGRz4IEdVmWygtNr6TVKZ5iEVZOH98X8r92NkhKDjPNnvTRkM\r\nFty5WAL/Z5RBQ/otSrBiB410SXm6QE9uT25+Qko8oxpfGcSETagsUs+4b4o8\r\nBDsw0kZkAr8nYUBbEabMDOBs7jKlX0DUrs8=\r\n=5zX6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_4.1.3_1671210326306_0.33938691853727954"},"_hasShrinkwrap":false},"5.0.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"5.0.1","main":"index.js","type":"module","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=18"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","github-slugger":"^2.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^3.1.1","markdown-it":"^13.0.1","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^8.8.0","pino-http":"^8.2.1","shorthash":"0.0.2","stringify-entities":"^4.0.3"},"devDependencies":{"axios":"^0.27.2","cached-hafas-client":"^5.0.0","eslint":"^8.0.1","get-port":"^6.1.2","hafas-client":"^6.0.0","ioredis":"^5.2.4","pino-pretty":"^9.1.1","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^6"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"dbde7f79a2d901aafd4c71271c1d38471a70d145","_id":"hafas-rest-api@5.0.1","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-6bPU5CgM9iWP/QOqqUe+LX2am3IgRyP3hysEW0AI9GBxt9xPVXKC0ybfhiY/gGZQx6mlmED/GJewcCKJ6S4XLQ==","shasum":"d69dc22cbcaf79ddf21f67a5cde4e135f5a95512","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-5.0.1.tgz","fileCount":29,"unpackedSize":66747,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcm2OMqtYpkC5aiMAtC5WtOjh70ogSee33kiWUpXzpFwIgUkjfdMki02Di2BSCJW5jA+zVpP+lj5sUCP+f73Sq/vg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnKhqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6aA//eMSJu4JkeFwMp49CuoRNhbtgQFkqQug9y+2/PmP9JfjbMV4W\r\nlFjeM7SMabyUmO0/VYpwNyJexVePqr/JXmtIsz6W9fqRX986aBPBNcnREk2v\r\nAOFzcu4A5m/CudL/kr6TZL4OH8ArmLa51KPf1hT4cXpTp3U3TzI/G+MCrrZ7\r\nVTyuQk0oSTuzP2SGNk9g+JnnuJdt0kZQVCCzXfWeL3hVL3T6qYRz5YY6ADY6\r\n8Qz4lqyOkmspX7GDPmMF7Sg8xXyV9Bb6nI7l0/iHOBOAAre6oCqupyBwCZYr\r\npyVsGyK7X9Xb3+2VAfrla0U13BmlwOU+7FSIWDfpHQFTxrxSS8t4P1SQEBYa\r\np00tpink+LzKSGGMMCpJaqwSB2Nej8Ppl9Xne5AXaMgP9I9+AuN60gaEWG9D\r\nfMuBBkqP0RX/tfSdVeNzDexZI6uPD+WkMedr5ismCbCd2WOnUDrYcafylxGx\r\nGM1qxVBqcv6khbiFQbgF0U0h4AUQA+EbqjCXuo0bBN+g7pTNL/22Yy8VY54p\r\nVqDs3a9g/aUXAB+YHa4v9F3EefVHRJ6YF/qLfdFXvOnvoMHm+Wm9VGGi35As\r\n4Yoxwwx9OHzNwMgGYOMhnBk/L7JMV2LluEdBqNHUKAix00CXzNyP0VvoAMHi\r\n3bev+Q045Lg4ZPtALWqN+w4wvsGLVw46NqU=\r\n=FnR9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_5.0.1_1671211114582_0.44632054747847727"},"_hasShrinkwrap":false},"5.1.0":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"5.1.0","main":"index.js","type":"module","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=18"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","github-slugger":"^2.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^3.1.1","markdown-it":"^13.0.1","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^8.8.0","pino-http":"^8.2.1","shorthash":"0.0.2","stringify-entities":"^4.0.3"},"devDependencies":{"axios":"^0.27.2","cached-hafas-client":"^5.0.0","eslint":"^8.0.1","get-port":"^6.1.2","hafas-client":"^6.0.0","ioredis":"^5.2.4","pino-pretty":"^9.1.1","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^6"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"e695c42e7d20ba812fc1c159b3b90d92f9c11e40","_id":"hafas-rest-api@5.1.0","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-rDr90lCVj/qOMwHX+G0DNax+lZ3K20JXzRHbwxV/WpuHkKrFvxTz9OCI2jWHLISkgW/kmBa9rNU70bhC2u+l1A==","shasum":"eaf4d905834aa9b24a9a62f49e9c86231aad8934","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-5.1.0.tgz","fileCount":30,"unpackedSize":71923,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE4svBgZzH6TpiKIIa5qhjpC996jGly311aGM7qF+/GFAiAXSHpgVkdeOC08Iaot0aEhC8tnS1UmPpI+GwEUnK4YRw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnKjGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQjw//QihpPZwFkjrsSFs/WT90wHBxVc7YxN/V4rCDQ9umGuxyLlzF\r\nm8mNqj52s0Slgy7mMouPBJDTl/jNIKLLEcBQ+W8uP2GUfHNxmPpfzO3RcnO2\r\nJSmnjXc1ThOMxRl4/bsQWaPsuzmk19F5DAJaKQsuhdRyXL1MdhD33ktW6OSC\r\n0nSPhuVrf29jTHL4VsJfXZrTNPlgDv5GmqQp5AixnojY8cWa+2DaSS1hZgQn\r\nPxJLLh+E/+Tcnv+xxmykoHEwW0WyIVBOlgT6tTNDE2jweC+ImW+fagRxbqNH\r\nMTDyVZLi13AF0OJwLcsTgEsTOGYBqP3h7TsGCedqKX3NuZCTfForsw6bsrbF\r\nBldF28jlSP9GAoKLlki+/Re57anrBRt4fzOJrDN3M08kv+jNVtUEWwO5VBtQ\r\nXzZislVSmeKkWdpqJRb+8OHcqu7JVX3iNJ9yNniIJmbvqU+enBCPaMVu7tQv\r\nowrPFKJvUuGOSd352wX4awF4qSGG8r923/BZ1oOEbn9bkxEpD4/C7RWm66Uo\r\nb1kQuhN0OP2jC4eP0FcjFblLjfe0PrEr1ym3WgR63t1wRxNmWNW8OiSw7D8B\r\n6TSBcPTV58onpe/jgeL+V2xt6a0hhblovgNEA6ccVKrBVx9tGjt9J47aBEuD\r\nbhn6gzqiv3GrEGOMfDlNJdF0zxCsyAXTQ48=\r\n=1K09\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_5.1.0_1671211206620_0.022521627756361795"},"_hasShrinkwrap":false},"5.1.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"5.1.1","main":"index.js","type":"module","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=18"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","github-slugger":"^2.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^3.1.1","markdown-it":"^13.0.1","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^8.8.0","pino-http":"^8.2.1","shorthash":"0.0.2","stringify-entities":"^4.0.3"},"devDependencies":{"axios":"^0.27.2","cached-hafas-client":"^5.0.0","eslint":"^8.0.1","get-port":"^6.1.2","hafas-client":"^6.0.0","ioredis":"^5.2.4","pino-pretty":"^9.1.1","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^6"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"aefa29f764118018786028fcee7045239bcc6db8","_id":"hafas-rest-api@5.1.1","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-bpv1FKlhmSitpPjWrk8pVJeniKd3IK1frvxKvQUZLd5/A2oBEzghAeyDWUjPE+vxo8rLssp7ATK9Iz0+3pVsgQ==","shasum":"3b8a2940b4a3e1c6fde209da568c2f8daf4e59fe","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-5.1.1.tgz","fileCount":30,"unpackedSize":72181,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi+fHtHeIko8fgAQHBlfwTpEp6nZuxT4fm8jBAnbO8gAiEAqKsAqMZDMqdRx0gaN06VBNZwHSj22r1XC+dbNvY05zc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj59trACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4FQ/9HLdj3CEKionajoPCXyn+z56A0kSaH36Ko6o9b5QyNbsLBdD/\r\nW1qc1ma/nlo5d3z3O+ww1XK8A3bHUUqw/LjSN2uiZYlh48PIyETL0W42WdRe\r\nJ4KnC4jU43MLRGO9rx6ETuo9N87tUaTWaJtlm19EajpZ4JBu3YKRSS4Gb/6+\r\n2d1+BsW1Uxsb+dBeK84bj3HusWMUlUbriZt9yyLN+MfNvfF77uv4KoxzugQN\r\nW5OUFTgSoxhWqfcedyyoaX1q1KS4Nca0PsCUajUDxaWxNW5BUKJkS91FJQaJ\r\nZoT8X06K3KJwRrydImPtIsOTGt18P4DCjuWOKHTn62n+pZTFykZmo1lr0nJ7\r\nA0nZeE/aW2VjWXcUlzH7WIXzWMDnBCa9KMMooMYeat3S7fHgHrddJSmqHZHG\r\nwQg2Y3+Z3phiM4We3JblFxjZ4xAj0gQ13ZUbBlX47sK1D2kU6wfmA9Putar9\r\nc/MtRdVwPh6a85/AeQArrP7Ot+MVU89N5cxhqajtrqiAwVQZtDJL4PEdhIT3\r\ngMitM5rO3bc8wB1k9aLU7PP8aBvJFkiURlEDVNWpbAEIp6mEVY+oh/XGqcdM\r\nXAX7EljZV0MZbPl5BqYqQjOZ/ElaClTSEoa+qseCOrKrW8PvZIGbsjyFLrsm\r\n+FI46TuTHUM4L0XspmL/fRNhx/0aBBYRy2s=\r\n=ByfS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_5.1.1_1676139371618_0.7339343718248861"},"_hasShrinkwrap":false},"5.1.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"5.1.2","main":"index.js","type":"module","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=18"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","github-slugger":"^2.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^3.1.1","markdown-it":"^13.0.1","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^8.8.0","pino-http":"^8.2.1","shorthash":"0.0.2","stringify-entities":"^4.0.3"},"devDependencies":{"axios":"^0.27.2","cached-hafas-client":"^5.0.0","eslint":"^8.0.1","get-port":"^6.1.2","hafas-client":"^6.0.0","ioredis":"^5.2.4","pino-pretty":"^9.1.1","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^6"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"d993cc44c84971cda21ade2b021f6ef8884f63db","_id":"hafas-rest-api@5.1.2","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-npqE/HFLRMP4VYx6cumekl5W10CjGAtFzn1SuzOf3mdUQPLUrFGisL3OUIZpCCrcjgtxZ8Gr/YvC7YOm0FTFEA==","shasum":"092ccc2c265ce0e8fde07ae77899d87bbfa54d50","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-5.1.2.tgz","fileCount":30,"unpackedSize":72260,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMXg8XSB3A8YKPyz3I1AWKCtEqo7VMDFYvs0f5wG7BAwIgDYPYmtTkcwgw613gOCdbUu8KSZ681eHfXjjEBRP5lCQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6n0AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5fBAAkf3iEETRXATYHoYqGmMaLPMUczZOjMsjQHqc1bbPlMxYuRrD\r\n9S3/tN/Yj2uy/vhV0Czt32HwGPRY1jWSEnschGAdVW0RO1aINU50Xd6hsurV\r\nA3qBLSurhyv/+cGAiziZgJZi+PZaxNIWjSh/UyVIVZb4amZQHEDN3SwLDl6v\r\nKhKk2ZOJgUPNNigCLQnd0uiNTf79c6BdmrC6QhUnDbJ22l6qGVzOjcS6GX7C\r\nM/FD2W56IEX9kERRZSMhX/YqYBbTbaJ+8y9dRViKf6ln3MMWb267oTFtY8mS\r\nEeGj9qBBp9wtx0WuD0NVSoBkCO22mLNejvV8RQWDv2Xq2DKuSfv3XvPuYeui\r\nsJqm9fFc0eLFGNDcbVD2cqmkNFKL+ff8eBLQbBQ9olrfxlCF0HY1WjfSrCk3\r\nYcJwlJuvalMW7IQyjrTYRDsJ+i6mMiVdPj/0u7K7012Hx+AvcOkUf45JP9/B\r\n/QhCuQ+6R6mBBDfsH7rD2jxPn9qP18xyo9bzmYinszAUX16+FFHyMlY+wtn9\r\nHvo0bML3YRLvxdgf9djO9mo9uHCdaTlp9IUpiQMSA57/mp6JFeXQIubgZOVP\r\ngHB9twzhrvY3ZjbciDzBuc2DCfjg4EAyWRv4uC0hsVgnfnrH9vSFeMMf4K+Z\r\nFfJjaZHmUsp+KcoNja47rMRZ+QvbAQHgWIo=\r\n=B4+8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_5.1.2_1676311808504_0.3952961602849894"},"_hasShrinkwrap":false},"5.1.3":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"5.1.3","main":"index.js","type":"module","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=18"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","github-slugger":"^2.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^3.1.1","markdown-it":"^13.0.1","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^8.8.0","pino-http":"^8.2.1","shorthash":"0.0.2","stringify-entities":"^4.0.3"},"devDependencies":{"axios":"^1.4.0","cached-hafas-client":"^5.0.0","eslint":"^8.0.1","get-port":"^7.0.0","hafas-client":"^6.0.0","ioredis":"^5.2.4","pino-pretty":"^10.0.1","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^6"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"gitHead":"2550e4e63f9223f3a2087c8a5a8687f89cf942e4","_id":"hafas-rest-api@5.1.3","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-YOpQtrcuHVV9BJUaKebzg/kp/dUkmHabStR7/eYFipC0aeTWj/XeOH0Hc2JzJVh+rfDRO7G23Wjhoctqh/isCQ==","shasum":"581b3a65f6e6ec1825e076e6a73d74e6c32874ee","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-5.1.3.tgz","fileCount":30,"unpackedSize":72372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBIMD8G5Pcwuhk4Ri9JXUZ5wKK/ZaqlGyeinU6TKla1AiA+DJrPFKYsG8RAvUUoF56PSTa3rnHeLsiVOPVQPU4rCA=="}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_5.1.3_1690394966326_0.07423334599371612"},"_hasShrinkwrap":false},"6.0.0-alpha.1":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"6.0.0-alpha.1","main":"index.js","type":"module","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=20"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","github-slugger":"^2.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^3.1.1","markdown-it":"^13.0.1","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^8.8.0","pino-http":"^8.2.1","shorthash":"0.0.2","stringify-entities":"^4.0.3"},"devDependencies":{"axios":"^1.4.0","cached-hafas-client":"^5.0.0","eslint":"^8.0.1","get-port":"^7.0.0","hafas-client":"^6.0.0","ioredis":"^5.2.4","pino-pretty":"^10.0.1","tap-min":"^2.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^6"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"readme":"# hafas-rest-api\n\n**Expose a [`hafas-client@6`](https://github.com/public-transport/hafas-client/tree/6) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/public-transport/hafas-rest-api.svg)\n[![support Jannis via GitHub Sponsors](https://img.shields.io/badge/support%20Jannis-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with Jannis on Twitter](https://img.shields.io/badge/chat%20with%20Jannis-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nimport {createClient as createHafas} from 'hafas-client'\nimport {profile as dbProfile} from 'hafas-client/p/db/index.js'\nimport {createHafasRestApi as createApi} from 'hafas-rest-api'\n\nconst config = {\n\thostname: 'example.org',\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0',\n\taboutPage: false\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = await createApi(hafas, config)\n\napi.listen(3000, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | –\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`description` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`docsLink` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`etags` | [Express config](https://expressjs.com/en/4x/api.html#etag.options.table) for [`ETag` headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) | ✗ | `weak`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`pino`](https://npmjs.com/package/pino)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`openapiSpec` | Generate and serve an [OpenAPI spec](https://en.wikipedia.org/wiki/OpenAPI_Specification) of the API? | ✗ | `false`\n`addHafasOpts` | Computes additional `hafas-client` opts. `(opt, hafasClientMethod, httpReq) => additionaOpts` | ✗ | –\n`modifyRoutes` | Extend or modify the [default routes](routes/index.js). | ✗ | `routes => routes`\n\n*Pro Tip:* Use [`hafas-client-health-check`](https://github.com/public-transport/hafas-client-health-check) for `config.healthCheck`.\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/public-transport/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"012ab3993e859089f0a7ee5b2f443c9dd8b57a0c","_id":"hafas-rest-api@6.0.0-alpha.1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-2hg4qI5tmE1SJ7O3mD1Q0FEL6nqG7A62o5K57VvoddkxY3jIofI1DopH80dsWo6DXQ5t+2eVH5Hg6FMH/tFacg==","shasum":"b4873afd5879ce3d03964127ffbf29889e667256","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-6.0.0-alpha.1.tgz","fileCount":32,"unpackedSize":75699,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBOHkH2cUBW2Q4BBoy/25mLixws8s8v/YTC1SYPZbPVFAiEA5ts90hBgxjMp7WDJsxK0Iv/WQ9lcbX3m3H5KM8Q9M+Y="}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_6.0.0-alpha.1_1690406677740_0.5063253414446827"},"_hasShrinkwrap":false},"6.0.0-alpha.2":{"name":"hafas-rest-api","description":"Expose a HAFAS client via an HTTP REST API.","version":"6.0.0-alpha.2","main":"index.js","type":"module","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/hafas-rest-api","repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","engines":{"node":">=20"},"dependencies":{"compression":"^1.7.2","cors":"^2.8.4","date-fns":"^2.12.0","express":"^4.16.2","github-slugger":"^2.0.0","hsts":"^2.1.0","http-link-header":"^1.0.2","lodash":"^4.17.15","luxon":"^3.1.1","markdown-it":"^14.0.0","on-headers":"^1.0.2","parse-human-relative-time":"^3.0.0","pino":"^8.8.0","pino-http":"^9.0.0","shorthash":"0.0.2","stringify-entities":"^4.0.3"},"devDependencies":{"axios":"^1.4.0","cached-hafas-client":"^5.0.0","eslint":"^8.0.1","get-port":"^7.0.0","hafas-client":"^6.0.0","ioredis":"^5.2.4","pino-pretty":"^10.0.1","tap-min":"^3.0.0","tape":"^5.1.1","tape-promise":"^4.0.0"},"peerDependencies":{"hafas-client":"^6"},"scripts":{"test":"node test/index.js | tap-min","lint":"eslint .","prepublishOnly":"npm test && npm run lint"},"_id":"hafas-rest-api@6.0.0-alpha.2","readme":"# hafas-rest-api\n\n**Expose a [`hafas-client@6`](https://github.com/public-transport/hafas-client/tree/6) instance as an HTTP REST API.**\n\n[![npm version](https://img.shields.io/npm/v/hafas-rest-api.svg)](https://www.npmjs.com/package/hafas-rest-api)\n![ISC-licensed](https://img.shields.io/github/license/public-transport/hafas-rest-api.svg)\n[![support Jannis via GitHub Sponsors](https://img.shields.io/badge/support%20Jannis-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with Jannis on Twitter](https://img.shields.io/badge/chat%20with%20Jannis-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install hafas-rest-api\n```\n\n\n## Usage\n\n```js\nimport {createClient as createHafas} from 'hafas-client'\nimport {profile as dbProfile} from 'hafas-client/p/db/index.js'\nimport {createHafasRestApi as createApi} from 'hafas-rest-api'\n\nconst config = {\n\thostname: 'example.org',\n\tname: 'my-hafas-rest-api',\n\thomepage: 'https://github.com/someone/my-hafas-rest-api',\n\tversion: '1.0.0',\n\taboutPage: false\n}\n\nconst hafas = createHafas(dbProfile, 'my-hafas-rest-api')\nconst api = await createApi(hafas, config)\n\napi.listen(3000, (err) => {\n\tif (err) console.error(err)\n})\n```\n\n### `config` keys\n\nkey | description | mandatory? | default value\n----|-------------|------------|--------------\n`hostname` | The public hostname of the API. | ✔︎ | [`os.hostname()`](https://nodejs.org/docs/latest-v18.x/api/os.html#oshostname)\n`name` | The name of the API. Used for the `X-Powered-By` header and the about page. | ✔︎ | –\n`description` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`docsLink` | Used for the about page. | ✔︎ (with `aboutPage: true`) | –\n`cors` | Enable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)? | ✗ | `true`\n`etags` | [Express config](https://expressjs.com/en/4x/api.html#etag.options.table) for [`ETag` headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) | ✗ | `weak`\n`csp` | The [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) sent as an HTTP header | ✗ | `default-src 'none'`\n`handleErrors` | Handle errors by sending `5**` codes and JSON. | ✗ | `true`\n`logging` | Log requests using [`pino`](https://npmjs.com/package/pino)? | ✗ | `false`\n`healthCheck` | A function that returning [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/promise) that resolve with `true` (for healthy) or `false`. | ✗ | –\n`version` | Used for the `X-Powered-By` and `X-API-Version` headers. | ✗ | –\n`homepage` | Used for the `X-Powered-By` header. | ✗ | –\n`aboutPage` | Enable the about page on `GET /`? | ✗ | `true`\n`openapiSpec` | Generate and serve an [OpenAPI spec](https://en.wikipedia.org/wiki/OpenAPI_Specification) of the API? | ✗ | `false`\n`addHafasOpts` | Computes additional `hafas-client` opts. `(opt, hafasClientMethod, httpReq) => additionaOpts` | ✗ | –\n`modifyRoutes` | Extend or modify the [default routes](routes/index.js). | ✗ | `routes => routes`\n\n*Pro Tip:* Use [`hafas-client-health-check`](https://github.com/public-transport/hafas-client-health-check) for `config.healthCheck`.\n\n\n## Contributing\n\nIf you have a question or have difficulties using `hafas-rest-api`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/public-transport/hafas-rest-api/issues).\n","readmeFilename":"readme.md","gitHead":"444bc576cb1c00f906caecfbc0ef4d15416a3135","_nodeVersion":"21.5.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-onbqp1uV49gL6GSLcvimLZtOAbGAT6XNJ7gXt0vsltQcLLIsJ4iJO37B5SFT9aVFkiDnljY+uZhmgrlV6cZTUQ==","shasum":"236753c7ab7a553c1b334d6dd03d4e56f274e77c","tarball":"https://registry.npmjs.org/hafas-rest-api/-/hafas-rest-api-6.0.0-alpha.2.tgz","fileCount":32,"unpackedSize":75925,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJg7uVxJOrHw7n9VVTtEwezh8RAm/MpsqjonXKSm97fAIhAPy+ze2OpSDx6VNc0BN6AnR6sU06xYCf0yhriJDm6fb2"}]},"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hafas-rest-api_6.0.0-alpha.2_1706481225924_0.5908972242351194"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"time":{"modified":"2024-01-28T22:33:46.253Z","created":"2017-12-16T07:50:12.588Z","0.1.0-alpha.1":"2017-12-16T07:50:12.588Z","0.1.0-alpha.2":"2017-12-16T08:07:30.320Z","0.1.0-alpha.3":"2017-12-16T09:23:05.042Z","0.1.0-alpha.4":"2017-12-16T10:50:46.976Z","0.1.0-alpha.5":"2018-01-03T21:58:10.694Z","0.1.0-alpha.6":"2018-01-03T22:16:15.529Z","0.1.0-alpha.7":"2018-01-03T22:34:35.986Z","0.1.0-alpha.8":"2018-01-03T23:19:04.744Z","0.1.0-alpha.9":"2018-01-03T23:36:28.099Z","0.1.0-alpha.10":"2018-01-04T13:42:11.521Z","0.1.0-alpha.11":"2018-01-05T22:28:09.424Z","0.2.0":"2018-01-12T00:31:01.084Z","0.3.0":"2018-01-29T20:45:32.775Z","0.3.1":"2018-01-30T16:24:48.314Z","0.3.2":"2018-01-30T17:10:04.566Z","0.3.3":"2018-01-31T13:10:07.075Z","0.3.4-alpha.1":"2018-02-24T16:15:42.850Z","0.3.4":"2018-02-24T16:18:10.198Z","0.3.5":"2018-02-24T22:40:51.612Z","0.4.0":"2018-03-07T01:27:11.284Z","0.4.1":"2018-03-07T12:01:59.725Z","0.5.0":"2018-04-27T14:25:21.790Z","0.5.1":"2018-05-27T20:20:14.155Z","0.5.2":"2018-07-15T18:52:12.456Z","1.0.0":"2018-07-29T20:02:02.089Z","1.0.0-alpha.1":"2018-08-06T16:56:10.954Z","1.0.1":"2018-08-06T17:46:26.698Z","1.0.2":"2018-08-28T22:33:25.248Z","1.0.3":"2018-08-30T14:51:38.659Z","1.0.4":"2018-09-10T13:19:35.316Z","1.1.0":"2018-10-25T19:37:45.470Z","1.1.1":"2018-11-20T21:15:49.665Z","1.1.2":"2018-12-10T11:47:14.934Z","1.1.3":"2019-01-21T14:45:18.013Z","1.2.0":"2019-02-04T15:04:27.546Z","1.2.1":"2019-02-04T15:10:30.499Z","2.0.0-alpha.1":"2019-03-22T20:02:10.362Z","2.0.0-alpha.2":"2019-03-22T20:19:54.934Z","2.0.0":"2019-03-25T12:34:14.624Z","2.0.1":"2019-03-27T11:13:56.603Z","2.1.0":"2019-08-19T17:25:30.063Z","2.1.1":"2019-10-31T11:22:23.279Z","2.1.2":"2019-11-01T17:46:48.372Z","2.1.3":"2019-11-16T15:04:32.274Z","2.1.4":"2020-02-17T00:51:11.060Z","3.0.0":"2020-03-24T01:20:06.273Z","3.0.1":"2020-04-10T16:04:37.897Z","3.1.0":"2020-04-25T18:53:36.143Z","3.2.0":"2020-04-29T12:23:58.291Z","3.3.0":"2020-04-29T15:42:47.418Z","3.3.1":"2020-05-01T18:10:12.318Z","3.4.0":"2020-05-04T15:33:56.418Z","3.5.0":"2020-10-04T11:15:35.274Z","3.5.1":"2021-02-03T22:03:51.922Z","3.6.0":"2021-02-04T18:08:42.454Z","3.6.1":"2021-08-16T18:33:53.085Z","3.7.0":"2021-10-19T08:59:28.456Z","4.0.0":"2022-03-23T10:57:34.435Z","3.7.1":"2022-03-25T17:04:26.431Z","4.1.0":"2022-04-02T23:18:45.457Z","3.8.0":"2022-04-02T23:39:46.780Z","4.1.1":"2022-10-14T17:12:09.724Z","5.0.0":"2022-12-16T15:39:55.625Z","4.1.3":"2022-12-16T17:05:26.474Z","5.0.1":"2022-12-16T17:18:34.758Z","5.1.0":"2022-12-16T17:20:06.776Z","5.1.1":"2023-02-11T18:16:11.782Z","5.1.2":"2023-02-13T18:10:08.750Z","5.1.3":"2023-07-26T18:09:26.498Z","6.0.0-alpha.1":"2023-07-26T21:24:37.988Z","6.0.0-alpha.2":"2024-01-28T22:33:46.100Z"},"homepage":"https://github.com/public-transport/hafas-rest-api","keywords":["hafas","hafas-client","public transport","transit","http","fptf"],"repository":{"type":"git","url":"git+https://github.com/public-transport/hafas-rest-api.git"},"author":{"name":"Jannis R","email":"mail@jannisr.de"},"bugs":{"url":"https://github.com/public-transport/hafas-rest-api/issues"},"license":"ISC","readmeFilename":""}