{"_id":"vbb-hafas","_rev":"169-df95ec33f1a5ad41aaea3e65bd953df9","name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","dist-tags":{"latest":"8.0.1","logging":"3.2.0-alpha.4","next":"6.0.0-alpha.1","foo":"6.2.1"},"versions":{"0.4.0":{"name":"vbb-hafas","description":"A JavaScript client for Berlin & Brandenburg public transport HAFAS API.","version":"0.4.0","main":"src/index.js","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","fahrinfo","javascript"],"author":{"name":"Jannis R","email":"mail@jannisr.de","url":"http://jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"MIT","dependencies":{"extend":"^3.0.0","request":"^2.60.0","bluebird":"^2.9.34","q":"^1.4.1","vbb-util":"^0.3.0","vbb-stations-autocomplete":"^0.1.1"},"gitHead":"a61a9f90f29fb383cd8a4e0c4fbb133c8da38350","_id":"vbb-hafas@0.4.0","scripts":{},"_shasum":"2d431c4b99b28359603eb06012fd453abd09558c","_from":".","_npmVersion":"2.14.0","_nodeVersion":"0.12.7","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"2d431c4b99b28359603eb06012fd453abd09558c","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.4.0.tgz","integrity":"sha512-YS2rbsqenPW/opr7nvBq5cKBJWs7pTeqoqWh7nQwhWs2lHKTz+jXnM+J/qeyl7dt9BB2uqY4ePB57cfv98Hctw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYyww+YC1CvhW+auN8nE98UP1dG6LYt34bmd778Ouw2QIhAPDGa4DKaOdmlhOFJmwBzZbOMcOwu+Dc0fRr+vwfMii1"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"deprecated":"This version is not being maintained and most likely broken. Please upgrade to 2.x.","directories":{}},"0.5.0":{"name":"vbb-hafas","description":"A JavaScript client for Berlin & Brandenburg public transport HAFAS API.","version":"0.5.0","main":"src/index.js","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","fahrinfo","javascript"],"author":{"name":"Jannis R","email":"mail@jannisr.de","url":"http://jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"MIT","dependencies":{"extend":"^3.0.0","request":"^2.60.0","bluebird":"^2.9.34","q":"^1.4.1","vbb-util":"^0.3.0"},"gitHead":"58871a1fe4a7f7ea64783ffbf5795bac3298fa78","_id":"vbb-hafas@0.5.0","scripts":{},"_shasum":"7dfd4b901ad7f7531ebf4f33cbded27f48a5956c","_from":".","_npmVersion":"3.3.1","_nodeVersion":"0.12.7","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"7dfd4b901ad7f7531ebf4f33cbded27f48a5956c","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.5.0.tgz","integrity":"sha512-veP+ImwYLUpbDz6+ePg7/AM24pHUI4zvpF9XjoyeO75pUdkWEiLIi2tARzoBOIIySd2vY1oR6uh4SCPxkOqCVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAglp9CAcMWq3Njjp6SEPorzSxfk7HNMticCPQCiwLTRAiA+9I5D/iz3zQ47du3SXlyjRhaivJl09bgOadZyV17xYg=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.6.0":{"name":"vbb-hafas","description":"A JavaScript client for Berlin & Brandenburg public transport HAFAS API.","version":"0.6.0","main":"src/index.js","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","fahrinfo","javascript"],"author":{"name":"Jannis R","email":"mail@jannisr.de","url":"http://jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","dependencies":{"extend":"^3.0.0","request":"^2.67.0","bluebird":"^2.10.0","q":"^1.4.1","vbb-util":"^0.3.0"},"gitHead":"03946bb2d53424bfd0d2f68fbceace2d67e01ff3","_id":"vbb-hafas@0.6.0","scripts":{},"_shasum":"e6185ffc61fad0cf2dfc982bb8e36e14855cdcf4","_from":".","_npmVersion":"3.5.4","_nodeVersion":"5.4.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"e6185ffc61fad0cf2dfc982bb8e36e14855cdcf4","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.6.0.tgz","integrity":"sha512-+3goSVxyeyNAuTwBbP03WNbIy19NhRPypbYbcnuDMilEEn1wwgGGb7GuqN16Bs5S1MfHepKLC8IxFGnrO0zooA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3rU2ZqRSOh7fDZZahwsvBPuHcUR/wtBTXFS/Q8gMSlAiEA3AU/I02WE15StK6oBQqz1Krbip+mkhxjVOllUrDUNE0="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.7.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.7.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9","request-promise":"^2.0.1"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.6"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"901d53577322e72355ee1da9ed6245c6f74af211","_id":"vbb-hafas@0.7.0","_shasum":"ddad1980a081eded3cc44f3f0a85b9a3076d4273","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"ddad1980a081eded3cc44f3f0a85b9a3076d4273","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.7.0.tgz","integrity":"sha512-3+INpIPngK6CASMJiX5SXYcyHCOWJJHS/N4WdKXvSUOLodZ1pk6r8uk5ZZit/gEG2sRY7ZCWOCC5fS2jKKCozA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG+lbdm3JpzzCl/bcL87WmXX9WzMiAU797BzdZrP77dQIhAOXVnr9uzXUhmPIQjjtkaB0lKtbO2Y5u8xaomNgiSSqa"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.7.0.tgz_1459259389829_0.24868068471550941"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.7.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.7.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9","request-promise":"^2.0.1","vbb-parse-line":"^0.1.1"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.6"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"e68eefba6f112ccdd3ab005762b9a2a9981b796e","_id":"vbb-hafas@0.7.1","_shasum":"e0d2cf9b02aa49f22b2cb45d2452ac9acb657cfc","_from":".","_npmVersion":"3.8.7","_nodeVersion":"5.10.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"e0d2cf9b02aa49f22b2cb45d2452ac9acb657cfc","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.7.1.tgz","integrity":"sha512-xI9xdWlxRwEe/cYAp/KJVtK8IQRGcktAU5M5ELRTrTEtZrD43x7hX7+WFUfQu6WrkIXggP5JoL23JJTxsgqGQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvS/uASwTHkVotk6pko5zOkd17YLYrxH30Y47dl0ZaaAIgaI0aiKFcKJAa8SoSWm+YlAjMyp7ACFb4eaiOpNwNmGo="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.7.1.tgz_1460406330444_0.8236365697812289"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.7.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.7.2","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9","request-promise":"^2.0.1","vbb-parse-line":"^0.1.1"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.6"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"fbd7e2c3ae55cc51958a75ebee060723b5854ab1","_id":"vbb-hafas@0.7.2","_shasum":"6c8a31d6f3a45c8a898a402468263ceaca27ad8b","_from":".","_npmVersion":"3.8.7","_nodeVersion":"5.10.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"6c8a31d6f3a45c8a898a402468263ceaca27ad8b","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.7.2.tgz","integrity":"sha512-ZfuVwF4i41g4+Mp6DvK+4S8OVgcn53WhwQNcngnVRBYbGKio61W3Wt8pMHBhPruERELmdV4VSchGPn2LdwBiZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDu91kWx1Lu9qLm05G2z2v+Dqpjh8ajl4knbqlD725VQQIgATxcOOhP1/37G1c+pdiMkym9nZv+Ii1W01PceI/bQ08="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.7.2.tgz_1461540061428_0.44493669690564275"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.8.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.8.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9","request-promise":"^2.0.1","vbb-parse-line":"^0.1.1","co":"^4.6","shorthash":"^0.0.2","redis":"^2.4.2","then-redis":"^2"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.6"},"scripts":{"test":"./test.js","prepublish":"npm test","start":"./start-redis.js","stop":"./stop-redis.js","postinstall":"npm run start","preuninstall":"npm run stop"},"gitHead":"67282919f8c09769e2b2ae9382566aa44366585d","_id":"vbb-hafas@0.8.0","_shasum":"c00773bbd208c056400565d4d1078596fc8ae727","_from":".","_npmVersion":"3.8.8","_nodeVersion":"6.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"c00773bbd208c056400565d4d1078596fc8ae727","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.8.0.tgz","integrity":"sha512-delNzCF02TLbBI8KTRT/MP98WlwTpTWeU8tBkLRubOkj1A0hr1C0I3ghmnsTEsmSTchZpTf8Nq6wX9Ji+/1cUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3E1uRk9Nr2vTdA0u1sNgJF4rzEkGq7EDHHa5gKbwacAiEA553zlyRRAoWnisjmaoy4d9vJXnVv8JdmPhd0WP2RD4k="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.8.0.tgz_1462303974754_0.7972029526717961"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.8.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.8.1","main":"index.js","files":["index.js","lib/*","start-redis.js","stop-redis.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9","request-promise":"^2.0.1","vbb-parse-line":"^0.1.1","co":"^4.6","shorthash":"^0.0.2","redis":"^2.4.2","then-redis":"^2"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.6"},"scripts":{"test":"./test.js","prepublish":"npm test","start":"./start-redis.js","stop":"./stop-redis.js","postinstall":"npm run start","preuninstall":"npm run stop"},"gitHead":"65b55bf23abe06083e7d940b8b3ba0c08445ecef","_id":"vbb-hafas@0.8.1","_shasum":"8e77ff215eb341837120040630e5ec7b9ec40c8d","_from":".","_npmVersion":"3.8.8","_nodeVersion":"6.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"8e77ff215eb341837120040630e5ec7b9ec40c8d","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.8.1.tgz","integrity":"sha512-Z5Mkrm+Pi9YbRwtHNr9Dk0WTpWTOOuX/6pGMEukQpczR5t0xbFH9pKi1XspWyWa1qZ8sNmmSQlRsCPeAC9huKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5gK8Mik2a5lI8HHc3Cf2p01s5hJBMO5SMgY733yhVbAiBQOuAt5oKLfQdss5bOJ7rpxn0SdLH/86i6Nw87IAunEA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.8.1.tgz_1462304350933_0.48828033497557044"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"0.8.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.8.2","main":"index.js","files":["index.js","lib/*","start-redis.js","stop-redis.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9","request-promise":"^2.0.1","vbb-parse-line":"^0.1.1","co":"^4.6","shorthash":"^0.0.2","redis":"^2.4.2","then-redis":"^2"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.6"},"scripts":{"test":"./test.js","prepublish":"npm test","start":"./start-redis.js","stop":"./stop-redis.js","postinstall":"npm run start","preuninstall":"npm run stop"},"gitHead":"c1c2159b8a97c1941a3bd825d9edf72e5179e8c5","_id":"vbb-hafas@0.8.2","_shasum":"6adb6a665e8858a3e9780a3caa0d2de4692b32f8","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"6adb6a665e8858a3e9780a3caa0d2de4692b32f8","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.8.2.tgz","integrity":"sha512-EYKE0G9j5upKS7TZr8gSS5wwB4+3kYH5G9/1++YPGONDBR5lgve00Hk2MQfxogVSiIVGOi5kF5QnxsnRlsltpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm1Uwv1nhjz01nGn2g4KOUZW3srikyAdazw55+xBKOZgIgZ4Y/KcluYlNdMiug7J9iNKrqXsQtqw5iO6ope/LmQX0="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.8.2.tgz_1464013544570_0.667533932486549"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.9.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.9.0","main":"index.js","files":["index.js","lib/*","start-redis.js","stop-redis.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","berlin","brandenburg","public transport","api","open data","hafas","json","rest","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9","request-promise":"^3","vbb-parse-line":"^0.1.1","vbb-parse-ticket":"^0.1","co":"^4.6","shorthash":"^0.0.2","redis":"^2.4.2","then-redis":"^2"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.6"},"scripts":{"test":"./test.js","prepublish":"npm test","start":"./start-redis.js","stop":"./stop-redis.js","postinstall":"npm run start","preuninstall":"npm run stop"},"gitHead":"11e1156b30de1370fd15e6830b66ff34e22c2ec3","_id":"vbb-hafas@0.9.0","_shasum":"1c8eb35d8c406f8055d7e6a5b02d1c1807f81929","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"1c8eb35d8c406f8055d7e6a5b02d1c1807f81929","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.9.0.tgz","integrity":"sha512-s5hr0nbLMgiHyYKMVYYbSJt7EYLuvH6cZ7yXDEs0or8sf2K098mJB3oEsglwerCfjt6rITWL+UQDTBh1Hm1p/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxukhfmPDYeWQe8k//ojj44Sq08N8+qXP+Z40FQDBSTgIhAMELzAEGQyNkxVg5+joa/D/JMrZcagARj9jiOE04EC6E"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.9.0.tgz_1464120211854_0.08768825163133442"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.10.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.10.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9.3","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.8"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"3c7e631031c0a1a9d025b991041787c29557357a","_id":"vbb-hafas@0.10.0","_shasum":"137940bbdb79a17d771e58fb0fecb24eba36ce45","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"137940bbdb79a17d771e58fb0fecb24eba36ce45","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.10.0.tgz","integrity":"sha512-XTWxabnwJXvdDayFwR592daZgef1HbTgAAc4aLyhzwNvdl82kOH9MfqcDVoDe32xVLwMjLR4ScHeSVuuSfAmrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQXusT4fR1jhzFiaxHR3ToYvVwT5A6pCcIA3Dnse8e0AIhAKQQX96Hmx701KtWCpit9DhLXY/gvNryLr1CHxMI0eAs"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.10.0.tgz_1464397932904_0.6834960647393018"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.10.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.10.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9.3","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.8"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"fda729a07b1b6764984c247b06991cc6553b6165","_id":"vbb-hafas@0.10.1","_shasum":"b7314f7c963286af47ef5bdf2b2e1f36ad356b6f","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"b7314f7c963286af47ef5bdf2b2e1f36ad356b6f","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.10.1.tgz","integrity":"sha512-QTPnI/72FnoCQfHrYUPF+Hg7ug08uxyVV4hotnFAeBwvdyKWF9QdHvJYu/JBzu1rgxd0Z4Y4BqAPAJhsRcbZPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkxv3s4qMFUBH+I8M4RIWMQNAS1qgkl8746EQxWXsWXAIgApXb/P2pA8hACwbkckJP+trCTzrnjstY9fxGaxIJ9Gs="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.10.1.tgz_1464436199010_0.09053795482032001"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.10.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.10.2","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9.3","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.8"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"4fc6c24a9f589342463398c746eea177d3755e40","_id":"vbb-hafas@0.10.2","_shasum":"3f73edc2f2c3d8264d30db0deee8ec222024ac09","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"3f73edc2f2c3d8264d30db0deee8ec222024ac09","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.10.2.tgz","integrity":"sha512-in7BW1AOgAFAF1gBEaoT1sxEjtc/cis5vZwQDA+venJWuIS6ufq1dctWZKuOTMdKH7CDq1OYC8ZcAfOvC5YEeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjyV+f1/mcklvxSSc9Khopm+Aa6PhbEnTGyzNQiyC0pgIgT7QAEFldSd15MvFb35h1LT62AJe4yuC1fyPul2bPXXM="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.10.2.tgz_1464479423648_0.9655260969884694"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.11.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.11.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9.3","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.8"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"cc16e76f53b8b8c8fe6236ea59d67f5e1d5d6975","_id":"vbb-hafas@0.11.0","_shasum":"eb301d16ae6a69f9f506c20a729c2f74189e54aa","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"eb301d16ae6a69f9f506c20a729c2f74189e54aa","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.11.0.tgz","integrity":"sha512-PD00DskSKzH0EuZsk+xcF0lg+cmrz3jf6jcZYMrGaG58JXk9lJd4oylrTfzxnC7LNsr11PAVbVkZ6bEogD7H+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsdqtyyR/pXmd5WPYpNAu1mQW410pQ5IN4MovDdebk1AiAoHdpgKMARZwlAKl+jrkIuLuBwMPQ47RRKGVqZTnmxbw=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.11.0.tgz_1464796794241_0.6090923056472093"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.12.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.12.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9.3","vbb-short-station-name":"^0.1","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.8","floordate":"^2"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"9a8b94cc4cf65ac33b978629c7a8f9978c3efca6","_id":"vbb-hafas@0.12.0","_shasum":"e365f5c7d16a834d149f9de46f0cafbebd3f05bd","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"e365f5c7d16a834d149f9de46f0cafbebd3f05bd","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.12.0.tgz","integrity":"sha512-GX4DF1X5CS74O7nupGND9fFxcGhg6WY5w4075dzMZvtKpRFRR4czqX0eiwrDZOsUrpcj+ChdsdbLuC+mLpr2xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDr+SyrffF76BNW5Q9gAfZSS/dww/iAeP+cA0MCMGjcNAiBcvrVP1+XWbgueffQfiYmf81EER3/+nRVXGYWfdVsAzQ=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.12.0.tgz_1465241106892_0.48484474583528936"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.12.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.12.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9.3","vbb-short-station-name":"^0.1","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.8","floordate":"^2"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"8c64aabee3c7d935f31bdf5298c30d5f988f2050","_id":"vbb-hafas@0.12.1","_shasum":"8c046325bff4e8fd60257aea99b062a9b52ab85b","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"8c046325bff4e8fd60257aea99b062a9b52ab85b","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.12.1.tgz","integrity":"sha512-i9JGEF7eTfch31P2PT3tDr7JrCJk/oo5yHyofN/3N9oOToeIrbGFvCopGRHmUHNUec5RDPETeeuyNVzyx1GDIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcPLpipVlkxs5YwOeXZc7Qtin9eujlNevZhXh50u2KlAiEAl9FtNxcZa+grV5NumM8s78bh6cOnjCj32cS0KWFvcHk="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.12.1.tgz_1465339711412_0.7836151078809053"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.13.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.13.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.9.3","vbb-short-station-name":"^0.1","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.8","floordate":"^2"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"8c518c7efebeae056a7e610c097f20d333641069","_id":"vbb-hafas@0.13.0","_shasum":"6c72697a1574013aa27705557eb1ea58ef637caa","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"6c72697a1574013aa27705557eb1ea58ef637caa","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.13.0.tgz","integrity":"sha512-gUy+pyh6Oy+JMy8lzdO5mrgvjfHEajDSnsKtn9SsQ6HjA9O8SG3zjr74lG17tEwynaui5VBmggHhQOPRF0KKYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxhXuGH8Xh6K1fCZtTd0Dn/9O0uDO+SFWu8hYfljxKHQIhAMLlAFQPakpZvaOklO7JDr5yg4kIohfYK7cfMejpmwhv"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.13.0.tgz_1465565734032_0.45255920314230025"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.14.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.14.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.10","vbb-short-station-name":"^0.1","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.8","floordate":"^2"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"046067edf001a725feaa2da4f62aa845362394a5","_id":"vbb-hafas@0.14.0","_shasum":"9a364893fd5d20d3f7afefc3a67b7ec4c8471689","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"9a364893fd5d20d3f7afefc3a67b7ec4c8471689","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.14.0.tgz","integrity":"sha512-2ZvIy8j++lgfsJ+2YdktEEb3K6uFuI0Wq8+9Cj6CSWFI7KQNjVwupI3mw6W6C8SWUyQ/J/F19JYA6AroHjxh8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE5D45a5t4HsuddgdoGrt/y/jMIveMSptZA483Qi6WagIgfdWCuL8Mm2/JLWQKoMZLOeYoQS4rNksmjpA0nFafI2M="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.14.0.tgz_1465675269011_0.6265117428265512"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.15.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.15.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"vbb-util":"^0.10","vbb-short-station-name":"^0.1","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.9","floordate":"^2"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"0a9cec8494702eaba854fc51ac2f78274800df18","_id":"vbb-hafas@0.15.0","_shasum":"008eeb9784055c45aaf297d4aca4b0c79f16a809","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"008eeb9784055c45aaf297d4aca4b0c79f16a809","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.15.0.tgz","integrity":"sha512-MSzOhnESIzBC/p7JGqmVjSaiUdRMAAsrPffXpStkUWd1vjTF+ev4RpiRs2foTFKkoVhdLx5+OkrL/y/PNQF2rA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAa13MN/0vvWt4BigIS8JeTK2Rwe/40TrR4lf8/d70SQIhAIo+6s5sHKtj68KJJmutEa/uJLwTnuK6s9OE0jXrwC5n"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.15.0.tgz_1469047229196_0.9309780008625239"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.16.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.16.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"hafas-client":"^0.5","vbb-util":"^0.10","vbb-short-station-name":"^0.1","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.9","floordate":"^2"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"77ccdc947efaa33ae0ebc2a1757e71d72a1bf738","_id":"vbb-hafas@0.16.0","_shasum":"e885fd34554e404fd43fa5f9cc063fb0a92ec606","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"e885fd34554e404fd43fa5f9cc063fb0a92ec606","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.16.0.tgz","integrity":"sha512-+cAy7Ht59uoWBgG1dv+iiLqMh9DvE+HwqFYqs2lSNdlenkCHuFN3nwb7sqF+cGs8ynSBIHtIiZ2eDoMsnceQFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7esEb/dawz4XtMWf27Ox73YHfDUCTk3zWBhp2SAQc7gIhAOdPf1K6SIYr1qDdyUiMcC32p9AJS9Jxt/uBtnslZGy6"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.16.0.tgz_1469730064442_0.23737778211943805"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"0.17.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"0.17.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=4"},"dependencies":{"hafas-client":"^0.6.1","vbb-util":"^0.10","vbb-short-station-name":"^0.1","pad-right":"^0.2.2","got":"^6.3","moment-timezone":"^0.5.4","vbb-parse-line":"^0.2","lodash.omit":"^4.3"},"devDependencies":{"is-roughly-equal":"^0.1","vbb-stations-autocomplete":"^0.9","floordate":"^2"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"e473409c9a3a64cffb902fbbd0343d0bd134b8a5","_id":"vbb-hafas@0.17.0","_shasum":"485053a7c8f186b1f40ff13c075685324da09cb7","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"485053a7c8f186b1f40ff13c075685324da09cb7","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-0.17.0.tgz","integrity":"sha512-AuFmkUmmrvK2ASpay2HQN8uZqTwOKA1tdZHpQUFKypRrEYPRnFbY1Bo96uAPz/aZKyb3Z/Rv0wMksbsmCaZnRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjF/xR7wIhCHwnECR7+uNvzYJ3H7rwMjQKDcKHB3sngAIhAMkajzuabqGMIRjH5LNduFsi2Gws7fkbUXKgTqyFfY1f"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/vbb-hafas-0.17.0.tgz_1471128020293_0.6820658026263118"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"1.0.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"1.0.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^0.6.1","vbb-util":"^0.10.1","vbb-short-station-name":"^0.2.0","pad-right":"^0.2.2","got":"^6.6.3","moment-timezone":"^0.5.10","vbb-parse-line":"^0.2","lodash.omit":"^4.5","vbb-translate-ids":"^2.0.0"},"devDependencies":{"is-roughly-equal":"^0.1.0","vbb-stations-autocomplete":"^1.0.1","floordate":"^3.0.0"},"scripts":{"test":"./test.js","prepublish":"npm test"},"gitHead":"d164c679c70919246b3517dd05a19e5d395ea85f","_id":"vbb-hafas@1.0.0","_shasum":"2a67abab7341bfabac38387dd1e38ddff77b4331","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.2.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"2a67abab7341bfabac38387dd1e38ddff77b4331","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-1.0.0.tgz","integrity":"sha512-kPzhair7ngnfw6ss2J3iw5VGfpK400uYPVQWpg6FSx8qEy2rqM6dMqo4y9SkJ4addXZTNlQ7P36kzOXbrCaylg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDF/3BjcLQ4rmznD7lwRy6LDDrZM+PBtW1I8EgAzWuN8AiB4KVfTpbS1NQBYf1u/w/CyL3vcMQYl2vDxhr6o8cGzcA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-1.0.0.tgz_1481671938940_0.521614326396957"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"2.0.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"2.0.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^1.0.0","vbb-util":"^0.10.1","vbb-short-station-name":"^0.2.0","pad-right":"^0.2.2","got":"^6.6.3","moment-timezone":"^0.5.10","vbb-parse-line":"^0.2.2","lodash.omit":"^4.5","vbb-translate-ids":"^2.0.0","slugg":"^1.2.0","vbb-stations":"^5.2.0"},"devDependencies":{"is-roughly-equal":"^0.1.0","vbb-stations-autocomplete":"^2.3.0","floordate":"^3.0.0","tape":"^4.6.3","tap-min":"^1.2.1"},"scripts":{"test":"node test/index.js | tap-min","prepublish":"npm test"},"gitHead":"5e2ff5bdced7906a607565b2774d03adb0555e72","_id":"vbb-hafas@2.0.0","_shasum":"bc207c654ffbef419256ba2a00864b8926a26996","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.10.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"bc207c654ffbef419256ba2a00864b8926a26996","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-2.0.0.tgz","integrity":"sha512-qribNngkZcQ/qW/lbSvHnJNFFvaEpvVz4fnjO0csoMO8Y+qMkdzepv8zGv4dUqGR5EipVnkWO6mSZxkfDQpBsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHA5rWmDWf4wZc4wY2tU2sVU2zFwqtm3tznIQGOhXrWAiBs4ZHv1Kv72ODtO3VRsThPfgIHurfF76u6uqA8ML5VKg=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/vbb-hafas-2.0.0.tgz_1495106889336_0.45518361148424447"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"2.0.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"2.0.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^1.0.0","vbb-util":"^0.10.1","vbb-short-station-name":"^0.2.0","pad-right":"^0.2.2","got":"^6.6.3","moment-timezone":"^0.5.10","vbb-parse-line":"^0.2.2","lodash.omit":"^4.5","vbb-translate-ids":"^2.0.0","slugg":"^1.2.0","vbb-stations":"^5.2.0"},"devDependencies":{"is-roughly-equal":"^0.1.0","vbb-stations-autocomplete":"^2.3.0","floordate":"^3.0.0","tape":"^4.6.3","tap-min":"^1.2.1"},"scripts":{"test":"node test/index.js | tap-min","prepublish":"npm test"},"gitHead":"6b08c921f84241ec795edba64234514663b3adef","_id":"vbb-hafas@2.0.1","_shasum":"0e0a079649fec19a1f183eb8539f252fda41819d","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.10.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"0e0a079649fec19a1f183eb8539f252fda41819d","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-2.0.1.tgz","integrity":"sha512-ccDKyXq6OOF32COuyc9W+wkvaUArrwJ0T3CcIcd7iA9k6xiUdTB+aRnWPeBrnCE/dOGjAaGIwsa5LM8jGZsVUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG+6X8nvEeJBift1QlScTDmEevn1fnEkfOLTrThiLQXAIhALVQ5M1G33ocaFmuBv85w0BpsGWrg950G412oXmjwwmA"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-2.0.1.tgz_1495802920842_0.21861956687644124"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"2.1.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"2.1.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^1.0.2","vbb-util":"^0.10.1","vbb-short-station-name":"^0.2.0","pad-right":"^0.2.2","got":"^6.6.3","moment-timezone":"^0.5.10","vbb-parse-line":"^0.2.2","lodash.omit":"^4.5","vbb-translate-ids":"^2.0.0","slugg":"^1.2.0","vbb-stations":"^5.2.0"},"devDependencies":{"is-roughly-equal":"^0.1.0","vbb-stations-autocomplete":"^2.3.0","floordate":"^3.0.0","tape":"^4.6.3","tap-spec":"^4.1.1"},"scripts":{"test":"node test/index.js | tap-spec","prepublish":"npm test"},"_id":"vbb-hafas@2.1.0","_shasum":"1652dba4f04bb0ae6dc0b340f7d045e4ac648a6a","_resolved":"file:vbb-hafas-2.1.0.tgz","_from":"vbb-hafas-2.1.0.tgz","_npmVersion":"4.6.1","_nodeVersion":"8.1.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"shasum":"1652dba4f04bb0ae6dc0b340f7d045e4ac648a6a","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-2.1.0.tgz","integrity":"sha512-JlOkNlDvsg2ovcIGaj7TeXosF49CbLjNHHx3lnUBejX6yslz13wCdt9g7td2s1dbko6VQ7fBn1sw2Xnyeu+LvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOk1mnqiqiYpcvImiD3tWZJfKSYK+sSiCSkyvlJorrLAiBHayNDWOjdotF/oeviFhsGN1z+USYgQEv8DKBsOazHoQ=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-2.1.0.tgz_1497978591645_0.012998863123357296"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"2.1.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"2.1.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^1.0.2","vbb-util":"^0.10.1","vbb-short-station-name":"^0.2.0","pad-right":"^0.2.2","got":"^6.6.3","moment-timezone":"^0.5.10","vbb-parse-line":"^0.2.2","lodash.omit":"^4.5","vbb-translate-ids":"^2.0.0","slugg":"^1.2.0","vbb-stations":"^5.2.0"},"devDependencies":{"is-roughly-equal":"^0.1.0","vbb-stations-autocomplete":"^2.3.0","floordate":"^3.0.0","tape":"^4.6.3","tap-spec":"^4.1.1"},"scripts":{"test":"node test/index.js | tap-spec","prepublish":"npm test"},"gitHead":"913e3aa26494c0c000ae0fbeb22567992fcf69e4","_id":"vbb-hafas@2.1.1","_npmVersion":"5.2.0","_nodeVersion":"8.1.4","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-tuiislW2iRcykxHqpXzYHVAjFmv5XoVqUfMMJ1owBg3tiWoQ6TCKx07UqH5HbkfClfBHVaXUKrSDIqBm8O6xUA==","shasum":"37b8b129d287e1a8572789bda6a6041724eb2f07","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-2.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8hzGRPelafgpwcdvg0ORcSDWgSF0NiN8N7r5HbXXGHwIgWv3+hohVURP0eyqk92/IsgEms4lt910IHsHTbF9QczY="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-2.1.1.tgz_1499960120447_0.26545381592586637"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"2.2.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"2.2.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^1.2.0","vbb-util":"^0.10.1","vbb-short-station-name":"^0.2.0","pad-right":"^0.2.2","got":"^6.6.3","moment-timezone":"^0.5.10","vbb-parse-line":"^0.2.2","lodash.omit":"^4.5","vbb-translate-ids":"^2.0.0","slugg":"^1.2.0","vbb-stations":"^5.2.0"},"devDependencies":{"is-roughly-equal":"^0.1.0","vbb-stations-autocomplete":"^2.3.0","floordate":"^3.0.0","tape":"^4.6.3","tap-spec":"^4.1.1"},"scripts":{"test":"node test/index.js | tap-spec","prepublish":"npm test"},"gitHead":"e637a8642f68247cf62b5e6efb454719c2433dc4","_id":"vbb-hafas@2.2.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-Lg5q2/5zsZ1yPA6VrP18fYS+WVRcQwIpDal7kYGArfXEqi5NNIVtNhTMU1L15J2A/rCimfsbxFtY37bCB3e4hQ==","shasum":"6c4c971d3171204e30ea5cf744eecab5523f9e41","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-2.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzlDodz06X3/9JV8E/j4gvRNbJlqXhKD+lJ+LTKKsEZQIgLX7mQCMh8qzcrsr9f8xzW3170jaZsGvorHRYT6niqyk="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-2.2.0.tgz_1502987964040_0.7252687937580049"},"deprecated":"Deprecated. Use vbb-hafas@latest.","directories":{}},"2.2.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"2.2.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"got":"^7.1.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-short-station-name":"^0.3.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"21ef2053cd2472c8b535bffc73cbfebfdfe429e1","_id":"vbb-hafas@2.2.1","_npmVersion":"5.4.2","_nodeVersion":"8.4.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-RBfRlomMbhTPpgjgPkUTPU3xqdVW/Zl6w4FQiePEovpiv8QAxs1ZTqVK+xkqwODA150awNCPYsTJvD2nteI+fQ==","shasum":"a25f1b593082ba5aa4135c27265b0c2bbcc14815","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-2.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSEfAyO+xmZx0jN8fXVKFQFbB4hS2B72oQd/3PaVz1qQIgeZFkfp/A0E57oniPOKCXUT4bO9VvuTqLfmLma80v3hs="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-2.2.1.tgz_1505927360878_0.8161209241952747"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.0.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.0.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"got":"^7.1.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-short-station-name":"^0.3.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"4630f416f82392bffc0c6e6a16dc78dc90c1529f","_id":"vbb-hafas@3.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-zHjB9tzaT9DTUCyKiManMK20RypKZ5h4OKaBMNStN8NKjaAaltP6/r0FVBvIB3bZf1ETdbUuSTRNJMY7LSPCww==","shasum":"194302dfc0590d9f3854fda92269a10a3de69862","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtQwW2RciSw1GrrJht8nDy4S4NzFKzpW5W6h4fGIKfiQIgHgfAIbnxZybh2mugG+cw9C5OlugrzceifMIoud0lWN4="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.0.0.tgz_1507076452006_0.0674852542579174"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.0.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.0.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"debug":"^3.1.0","got":"^7.1.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"1ea260253bf02ef01500c9794f656706d3eccf00","_id":"vbb-hafas@3.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-TttgOThrMtQw+PGmJM1GJ3nVGHsIg/1lZbXIJKvddNS/XCIlOb4CB9lS7zrgKoVNJZlXWzcVp81jppyPmKhOMw==","shasum":"58145979366db12e0e0a647433573ca3fb08fbdc","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIDVE7fs9ZQwR/XuzBMHBjPn44WkmHupsNnL3QrrrzAQIhAN0vDNLY9t9ynnyqQJwOEky1mEl8N2h1eN9/hsGGME7r"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.0.1.tgz_1512520665789_0.7536103681195527"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.0.2-alpha.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.0.2-alpha.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"debug":"^3.1.0","got":"^7.1.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"bcb83f44f0f11487ad2754fdece0b8b1ed4564bb","_id":"vbb-hafas@3.0.2-alpha.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-avCxaJ0iLk/1xopMwfUAKTpZf+fTSFH7RcGVOJx4LIDu+PCN3LLK8XXWzxdvsediwpuYGOL/OBbDpJe28b6UkQ==","shasum":"01d5de62ae8696933796addca63b53e1f3086469","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.0.2-alpha.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEYyuG4CKNLhxm7YOYlit+D6ttHKCEG4aSDcjGg8Xuq2AiEArnBgFpSoJa4lhvsEE0MzTCg4wdGuufxyuac2RAOi8pA="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.0.2-alpha.1.tgz_1512521950927_0.19957205676473677"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.1.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.1.0","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"got":"^8.0.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-parse-ticket":"^0.2.0","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"912716aa3cfd195ed5c051c45ea1c840493e2a6e","_id":"vbb-hafas@3.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-ugyf3AejZvNnu9D6Aa8GZyLBk4/1+/PbLFsHtgYRF3mw2WbI2KYV+qrPuQcwS3zmxvZVVpFU0J0WIcDkJiXz4g==","shasum":"3be7be70606423d482cfd6a6d8a4df6b441b3232","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsB+DtC2uXp+XfgbhJM60MJBhnKCAZQh5CCE/YF50zcgIgXKVXffn7LDoQn7F90u67hMV+X3a+mXlctMTRV34blVk="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.1.0.tgz_1512582287488_0.2623054722789675"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.2.0-alpha.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.2.0-alpha.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"debug":"^3.1.0","got":"^7.1.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-parse-ticket":"^0.2.0","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"e0619c9ede3c38e0c5ef8d8addcac5c82cde5960","_id":"vbb-hafas@3.2.0-alpha.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-haYr/PPX0YSw/ntIXe3FvUfHWlQ0tfAQumY0GtKzMHk9jam5WB+Y1l543XWoRbFbKsqupkXcFumg2NZHf1mWgw==","shasum":"a2dbd5c1d2a14b55e5cc1fd5898a1087d9b8a40a","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.2.0-alpha.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBlzqcWsXaNgPblQ/Im/qL8sbQYmB8+H00AhezfVhTgTAiBoAEkKFDh3CSDTsoAtp7MdX5xIgMRpmYXBLG6el/XyuA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.2.0-alpha.1.tgz_1512582856235_0.18958041514270008"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.2.0-alpha.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.2.0-alpha.2","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"debug":"^3.1.0","got":"^7.1.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-parse-ticket":"^0.2.0","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"57d1e2b5aa915e20fff914e0272208170cf4dc45","_id":"vbb-hafas@3.2.0-alpha.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-XAVizRGQ0M+x9uNSIR/1BNKdBL3tqsF1e9QqjZWWySz3TQSqFgRf7EbbrYxG0vpQbmnT4kax6qHLCMHrO4tiWA==","shasum":"0cb7a1256ad6c12370123a94258218f99ba55032","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.2.0-alpha.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6u/XN/uSI6f7CHHAP3vyYRZXmiym5P6emx0jrhJkgogIgDuxcFwaU61NTzX0psurI6FhQFEs/mTUe/OTeq+8qDUA="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.2.0-alpha.2.tgz_1512584524410_0.6418826680164784"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.2.0-alpha.3":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.2.0-alpha.3","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"debug":"^3.1.0","got":"^7.1.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-parse-ticket":"^0.2.0","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"2c7eb73a2f81487bea1f393b1aef5daf20624f72","_id":"vbb-hafas@3.2.0-alpha.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-AmL+5zfeJ55JqfMN8oaxRpp6E/8Bwl7wKts92Ru0ay6vFnW+fAoDU7MFa1XWMP+QuAusvhMfoJlpRMdiKU6jsA==","shasum":"ee556bae03d5e46408ef3c52e6c66508f7e581d7","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.2.0-alpha.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXqh4bEHcp0a1ytKAXeD1QNjrkjp6r5n4kBaVPYYkvOQIhAIDQuHGauuXA0EXuw4qwoq24pPUQJtmNfvbhWDhr6D4Q"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.2.0-alpha.3.tgz_1512584805019_0.7732405187562108"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.2.0-alpha.4":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.2.0-alpha.4","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"debug":"^3.1.0","got":"^7.1.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-parse-ticket":"^0.2.0","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"97f8893f7499a859761b6456b4f642bc181443f5","_id":"vbb-hafas@3.2.0-alpha.4","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-ByRLQx8KsxAO3fW8PDEMdrqCzpUfaKHBgSCmlBuEWOcknMq4LoP3wFP7kU0byjEAfbBbzU/+Rn08i6nmdExGww==","shasum":"f9dfd974ee84c1c6ada49bede324865c0da902fa","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.2.0-alpha.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ+GSewIoYYx26N/ac9cOKfiy0+ExznpC7xrgnDRlyIwIgSZVs6uQKGL92R0ZSJDyWTVV+qg+qfN7RjU4zmPUiGm0="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.2.0-alpha.4.tgz_1513625315132_0.46776562207378447"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.0.0-alpha.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.0.0-alpha.1","main":"index.js","files":["index.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.0.0-alpha.5"},"scripts":{"test":"node example.js","prepublishOnly":"npm test"},"gitHead":"7510569b0168ab4c18d52a5c96205e5b9ed798c3","_id":"vbb-hafas@4.0.0-alpha.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-D/CvCBy9nepDHK9Ao8fBfUqW6eRFhMx+KACF8zd63H1LLjdwQaNYigA8zgPXDzUoL3IuOt65F+tsVfZhkrsp3w==","shasum":"ed0eb70e31089f5200b33c2d524ac46519be0339","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.0.0-alpha.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6vcdLKWr922+sTsq02TtjMqAYNWzsW2uSiJKDYOzSlQIhAO8Eh/OQVZhd6lOdoL7AWpl342zrFD4akR9sj3Mj3vJU"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-4.0.0-alpha.1.tgz_1514243942605_0.8923812052235007"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.0.0-alpha.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.0.0-alpha.2","main":"index.js","files":["index.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.0.0-alpha.5"},"scripts":{"test":"node example.js >/dev/null","prepublishOnly":"npm test"},"gitHead":"6428208224dfcdef64ec18dd2963386854e3f974","_id":"vbb-hafas@4.0.0-alpha.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-EoKClJhkAeOUZyOpIep7O24c0AoF75IrqepYFtsADUodBS55pBwxLaTEoN1V6kxQV6cNqutP+qda0itsBsQTug==","shasum":"469f75ad9afd020ffc4e47da34bedf4d807e726c","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.0.0-alpha.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZT9Bk6bR+nWPEp9/tUP3rKwr10H05QPF1sEyK5Xe2HAiEA4/vcKJezAGpILsA7BEHK7GKnbQSYUW8aMAIedS5SxcI="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-4.0.0-alpha.2.tgz_1514246074008_0.07054982939735055"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.0.0-alpha.3":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.0.0-alpha.3","main":"index.js","files":["index.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.0.0-alpha.6"},"scripts":{"test":"node example.js >/dev/null","prepublishOnly":"npm test"},"gitHead":"f5ec61c95be4851b1080f472f60dc76815cb1122","_id":"vbb-hafas@4.0.0-alpha.3","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-yu71MoQR1R8g2WwJNcEEKw+8sLojJHBJ+t5EhcHvRFGLIWOcQB4nhXD9cHwA2PiZfGm75Ztc59AzM+H/E41lFg==","shasum":"3f29427c582f41dd59d830e2a59a2512ae828456","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.0.0-alpha.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmwLcZ/nGU5vdotgoCACvI763ACk4AGUkYJg0AdhAOIQIhAJUTPt2fErGizV8F8GtFb2PsOdO1xySH+ei8+hfHdiF5"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-4.0.0-alpha.3.tgz_1514483296366_0.03679879754781723"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.0.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.0.0","main":"index.js","files":["index.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.0.0"},"scripts":{"test":"node example.js >/dev/null","prepublishOnly":"npm test"},"gitHead":"c42248748f3df42033b64bde5c6cd3dd10694f17","_id":"vbb-hafas@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-RxSwoNDD65m4XV9Z5N/rzoR1EY1EphtYtw2NTD5E0ykMxMeGxoP/0WCxDmq2AHn6f/gSZjEQockbnZJ6mQHDyw==","shasum":"8337e477b232c7c05c7ec953aecdea584ca4a34b","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAlz90Tl0JiN0u+0+npkjpsju99RsOizb2C70NaG6FXHAiB9QpEYmAl3bTc8Cel1AIfLlANPbSsPYMc2jY3yb8Qegw=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-4.0.0.tgz_1515188380966_0.8088595794979483"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.1.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.1.1","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"got":"^8.0.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-parse-ticket":"^0.2.0","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^2.3.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"32dcf67c3f049652e2583cd23329e356d1059901","_id":"vbb-hafas@3.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-7clDCvfjSjkzMqgNm/CO++pgm9J/Q7zg5xXm8UL3M9uXimDziT3HO5aIdoidGGsgRVbI09n6GnT6EDtpmptq2Q==","shasum":"023bc8f93884a552019e3ba6549e4d2f12ec368a","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHc8mjmAtSaqXIwCjRBkARuv1nR5qhLbKMFkaIuJThEUAiAcpwjEfnKMp+42lvdEQrYZe7BG/ECwRlyDGaokUNIufw=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-3.1.1.tgz_1516379054198_0.25216530403122306"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.0.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.0.1","main":"index.js","files":["index.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.0.0"},"scripts":{"test":"node example.js >/dev/null","prepublishOnly":"npm test"},"gitHead":"2ba97d9eb697587e25557b7ccc487afb8536866f","_id":"vbb-hafas@4.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-fU+A5SCefdzd5xUI3g89ToDnRWmXqhmDwmqMQ3LBEO000P6UF65j5xv/DdjrN6K6UiMqYxuOL+9ccQyV6L5saw==","shasum":"b87512ea269dd8d662fe4ec5d2d1a4142b1724f2","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/Jy9eHfrn7KhWkFbQkx0wS+oK3yB6LDTXH5KLEkOd+AIhAJVzH0dj6+J5fVxJkCYF6CUwHNFZHe1ZJbzTw3bavc9j"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-4.0.1.tgz_1516386803312_0.5957321736495942"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.1.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.1.0","main":"index.js","files":["index.js","throttle.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.2.1"},"scripts":{"test":"env NODE_ENV=dev node example.js >/dev/null","prepublishOnly":"npm test"},"gitHead":"6829ff8e182801e1ae3d815c1ccf797ddb2debd5","_id":"vbb-hafas@4.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-JK0l5darH5xDHMNeSTrFXrEXfxZKxb0l5Twse+fTwjlYVr51LXVGL5OtrByl9b7Y0JKY5W4pLONdP/OhyLOIXg==","shasum":"0b27e40a6d3708dc14eda006c3c6c12b263d8f35","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICiVzYdqGoDKs+oO5q3KOOZ9lwfbXFBgO1if1mjIgra6AiAH68qI7kdXTqI6EddEpU+8xdxd08z0797N5CsrehIHWA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas-4.1.0.tgz_1516720160774_0.08876610430888832"},"directories":{},"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.1.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.1.1","main":"index.js","files":["index.js","throttle.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.3.2"},"scripts":{"test":"env NODE_ENV=dev node example.js >/dev/null","prepublishOnly":"npm test"},"gitHead":"4326ff6b26ed761fbb83822beb9719c8b88e4bdf","_id":"vbb-hafas@4.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-Sx9xIP9V5CH89ZStVTzdxUV7JOtTm9yD8Nv5WmNIaK4c3TO3RHU/OYggbOjg3h5vZgiKtUd9WnBpLG+gs8A4zQ==","shasum":"736843640866dbd12969c84c17aaeb8e5255a0a7","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.1.1.tgz","fileCount":5,"unpackedSize":6322,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSt+YXwx+YTuvIeDkyaqc06ddwuuZza3A2ESJT/JzhGAIhAKZYvP0rbLbyUPNCjaACWIj1b3jpgh2OiqqTY3W/KsUz"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_4.1.1_1518714368216_0.9995916308211423"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.1.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.1.2","main":"index.js","files":["index.js","lib/*"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"got":"^8.0.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-parse-ticket":"^0.2.0","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^3.1.0"},"scripts":{"test":"node test/index.js | tap-spec","prepublishOnly":"npm test"},"gitHead":"01b7eb7110aacb344ec03f2c1d9e12a9542c0ffe","_id":"vbb-hafas@3.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-YyGq1cK+M/zB1rhVQKTnt9TXH3EJeoHjb0/q2J7aUP64lejPtTfWI7tZPOehzUqXqi/MVJZ8iODyCmF1mBH4dA==","shasum":"64e0a4ffdbc2e859c6b213209dc398ea5e2d4670","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.1.2.tgz","fileCount":14,"unpackedSize":19776,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+5UpEWYATTLCMTOW1pmVC/yc2YErlxh4GXSekQobm7gIgGXtXdfVy9dQW2xXMQ5LofK0TY12owbw5XFO1Zn7mouI="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_3.1.2_1518717962599_0.6483346703187451"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.0.0-alpha.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.0.0-alpha.1","main":"index.js","files":["index.js","throttle.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.0.0-alpha.1"},"scripts":{"test":"env NODE_ENV=dev node example.js >/dev/null","prepublishOnly":"npm test"},"readme":"# vbb-hafas\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client`](https://github.com/public-transport/hafas-client#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/master/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/master/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/master/p/vbb/readme.md).\n\n\n## Getting Started\n\n```javascript\nconst hafas = require('vbb-hafas')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nclient.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"bb9ec14597a37d8ab75624bebc9f31d431501834","_id":"vbb-hafas@5.0.0-alpha.1","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-pRhYY1q8Yv2SFiSxc/SIaerEy1i7LJdBxthxbYCds7LtxhENV4BcgCQUx++3T1JWdlrbQK7QpWrz6hPWPtzVQg==","shasum":"c909fc75a6ca571507b250f742d6146a7024b10e","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.0.0-alpha.1.tgz","fileCount":5,"unpackedSize":6377,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJM6QeoQst+u5N2RjWQh0MZOiZx3NXvXG5zPKtBN5L6gIgBvYxspHrcXI4qB2/Ns2McdNVYLcrNHRx26fRdxJwjN8="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.0.0-alpha.1_1522285154853_0.5567151224271698"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.0.0-alpha.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.0.0-alpha.2","main":"index.js","files":["index.js","throttle.js"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.0.0-alpha.2"},"scripts":{"test":"env NODE_ENV=dev node example.js >/dev/null","prepublishOnly":"npm test"},"readme":"# vbb-hafas\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client`](https://github.com/public-transport/hafas-client#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/master/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/master/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/master/p/vbb/readme.md).\n\n\n## Getting Started\n\n```javascript\nconst hafas = require('vbb-hafas')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nclient.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"bb9ec14597a37d8ab75624bebc9f31d431501834","_id":"vbb-hafas@5.0.0-alpha.2","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-Pva8tIzpcAmYjtdX6RdA1XjzZ8+FNXrfnKO8Q/dROfrPrCv8neMsubHs6cG9mXrtIxI8n7m+5hQ+8cclqNYFyg==","shasum":"281fe5665768373faea64c2d0dfdd02eefcaacb5","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.0.0-alpha.2.tgz","fileCount":5,"unpackedSize":6377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3e1FCRA9TVsSAnZWagAA3WUP/iSqrn1ZeAMUC/GIB8VN\nZGJSjvY15b6kgq7rndzG4vjs+DlhWd5+rkVnnooBN63raAl8815tQEQWsKZh\nAOV4CYu3otLhqOIXY6+oKPX9mPXrvTmwjo+e3T80flAxvElbaq0EYFuZS0Aq\nVW86hGz2tqzShscZegjqkxHFrZbw7B3agXQqEg9YgnOMXtIYH1SUMuS/tE9t\nVUbyFE9PLu7as+fV/ZMGjLRL5tV8w25/JmgmnOdK5aIeGETyv0o1OKrJAHh2\nek1nEsWoUQI08VpvUuxaFOl1dAn0WqYFsREINaeTmOtq4bEQy6GTMrgE4vWn\nazDd1VUIVojD8yqwR+6NPF76XOjkXieBLo6Ey75jC39O+HOQPPi//7SmDPps\nn693OdvowjMK6mHdI8C/05xEF5la3A/R7W/y18Ui5debIcDj2eb4lGXGxRYN\nhrx7oMvMmDpgfkjHiNTp0vyCfi9ehfjYplV5YbKS01gsNiuqvAky700YkLeN\nzvu99H9/hPYgfJleE/+T87XDk9nnpyMk6AnuNJ5XmIzZzKgkryjBUZ4CkPYB\n+x3IN+jn1TFmV5wSUSsCzxeerpDSUIHU5ENt6Y6m1QTWQayCDl2JR0k6gXs/\nepIsJSvgzN3xr9vLNsGy9Nmwf6CdqjcR/5TXxvIXHmq29VwOXAMnrTJgqe0N\nvZXT\r\n=rzj/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH6ZU1ZddZAMeTa21Ynq4BYjrvv77pqmpe9Ywerix28TAiBQUr84RLVLTBuWOzJkUblMsgPQh+3lO8LT8xbZdxvXhA=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.0.0-alpha.2_1524493636368_0.7254938856900812"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.2.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.2.0","main":"index.js","files":["index.js","throttle.js","lib"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.3.2","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"7c4d32b011d5c8cdf61ec33dc0bed56e96212af6","_id":"vbb-hafas@4.2.0","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-82ll5xyPDrd0qt/fE+LGpMzaDGTCGjes0hEle7qUUdlzhYIhQK4e2lkT7AbAxdSVpKI+eAKaq2mxzV3G8XpMlQ==","shasum":"e792244431ff7e0acf45d0435c84c0d42e6b1c7e","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.2.0.tgz","fileCount":6,"unpackedSize":9828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4j6PCRA9TVsSAnZWagAAyqkP/2mA21fXuFlJZY3kBbP1\n8i3y35rOjmu2WcCT1h1ZRObbXdUorv5z+e6WB36lzLHEkN4kPY9PZm3KiTcp\nfh1elYamwJF2DROeDmjDCS0klR9I+RuUgri2JHOM8vJf6vtPnPO5OSZ3y9mE\nF7aFyekRJwJeRxNQ0tZAR9WSJ0wqeXGaZiu7ZB/TJJ4oIDcE6nVgn/1gmIXK\nYRC/2wJ4nD6B1rsjIf+La7QOn7bqPU7KpMHKryY3GWFN5GCBSEp2UnO8ALy7\nxhChDVLJmX4+tLJSReZgYIbgZmeZGskbkwQFwkUuNv29XAvke5kxhzSwZII4\nDqtHWHu1d9MZPSsalgOmvziErlwBo5HJjBGyHHV+ydsVg3H+eTUD9xJ2SThe\nbqzfrsdBXQnLzX4aKbfY3q+Cz5q6YYTmWmLzldOnMP7jnm7tdyxsqF18//RM\nSGc7Wh7+nnPgp5ILTfd1HHPoZOF9qDtaqsfY+cg1laILXNeCq2SRNb0Ahrl6\n7G1oj1esSOubqxDRJPxSOc+KYtTjn68IAJ1dlUw7AdJNg6kFozkHa7CswFSu\nkEkjAUuGMjtlpdjkR42tCxST/bDsy5saR0++sMvHSpu7lFt3YLvjRIQW+0v0\nUkdff8BGExpn+Y3ttTnEahrpNtP0K8Kg5zi2j+huMjDhPZzMgRllb+GK1JKo\nxr9K\r\n=KIq5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDx10r8q+9nX4Jcw0fgmBZwkesetOKGzxnNJqrcg1stRAiAREs93+5XArXkh6+T3eVrjijIRxGQ5uSMd2SCYcB/tZw=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_4.2.0_1524776590159_0.8252276182853013"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.2.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.2.1","main":"index.js","files":["index.js","throttle.js","lib"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.3.2","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"ba3db9fffee3258b380ec193e7c480b487d1ebbd","_id":"vbb-hafas@4.2.1","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-Oj33O4t+SRkKdCn3ArBNst9pFntK0h18MgKR8Ad95wqptmCKUObzu8PAj2AShP9MRdZ4uGbW/QruqdfczVPjHQ==","shasum":"aa34f103a912cc838b327453c5f043884b95de02","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.2.1.tgz","fileCount":6,"unpackedSize":9994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8Y/eCRA9TVsSAnZWagAAut4P/A1WR4irCSFMSEnLmzmy\nOmNqozYP8/p5lT7540gXSe7KNyKJ2LouNygmB1OFkIc/4Nvio3M6IxkS35bG\nqvlFUq0bsHFlncJrJWlP3vnNZaRTmT8xj7q/AfPSJBSjtL+na0UZ2c4DjQco\nepBa7+4KkLi55DBX4mJL48iWmxmW5gi+Cp298zfBk7kwEt7HezOXGmfiF+7Z\n+dKOjlmmy94lYKCITpItJtDRqT6qAhA0rrwPg6tqffqy1fXe1ucnn4M8yOdY\nESQixKxDctxAnXwZPEu7bfYdk3mf9emOLnyjwCtH2i23h7J1EuPT38zlzoK5\n/DInXDDJqG2UgbmzlZuaUgeUU+aleBQrCW1UiHz426xT2uzZbs1yYgKyrccd\nLxGVb+Ju3nOhjQDmfqkOcr5DVcnqGqwi97F8w0xp4lgN2biTEPpvXYbY5hxY\nlTyPVJtwwl4K61Hq/EIZprQAD6+/BnGdK4Lwzqi5M/pQqwkEbiqUawo/H0Qb\nn/oDTfvvMOJdQm30HolkZ1us+7RxAGoNSHpv63LZkq5s7K5oOyV6BGNtvFqq\nno6mO0rhH/4+jya+JIAuALBCXCLvfHrlwD/Sno7wIf0Wb4WqtqzaCu4/VJ1w\nhYpRSR4wrcv5sYkme/WF1yY8+16RuuN7QXFrqMUQ8wsrglXiF7RLK1uuXoPq\no4j6\r\n=r2LN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJv2vZl99vFG5a/XhkPzgt1mWUoLd/ymll5l4oVordswIgEC5YygBHuRE4PZ9/P+8Azn0R1ATsnvnQI84LwUDyPm8="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_4.2.1_1525780445284_0.7289253305634162"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.0.0-alpha.3":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.0.0-alpha.3","main":"index.js","files":["index.js","throttle.js","lib"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.0.0-alpha.3","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"readme":"# vbb-hafas\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client`](https://github.com/public-transport/hafas-client#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/master/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/master/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/master/p/vbb/readme.md).\n\n\n## Getting Started\n\n```javascript\nconst hafas = require('vbb-hafas')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nclient.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n## Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `arrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"5a401e4564dd750f73d289ef86ff3537c96370b5","_id":"vbb-hafas@5.0.0-alpha.3","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-vvl/ND1I68oHbaax+5XJ5/+5fNrztnjc7E8hxA5M9vpAuEpiqRnd8ogDhmtL/rf8WGAL6hovoXChl9Uc3t//8Q==","shasum":"881157971373bdf39bc080dda1a9cee5d75483aa","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.0.0-alpha.3.tgz","fileCount":6,"unpackedSize":10010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/JZ9CRA9TVsSAnZWagAAqwsP/2cnfKLdtgRZMHZkQlM4\nG3TEEGvB0cGr3r8wogTXAtCzfOv5L3TIMW8y4FC1tv+T2BtestPeR8UVaZwf\nafzNHYXcyWjWlW7RyI++D0YZ1pJ6edBflUDwzkWTuSWAVUc0roG6D9C1gBWZ\n8RiL39G28Ti8jT4swXkdOj+beqmYuAactzZdA/cz9o08pKzbU67h/78Cql+i\nZ7HJw4aeD/hFhc6omf51jQqhN160Vd1/H5FgQ7EYBGt6sB2mk/Y1IhVl67mj\nl8qQqb7Uqse+Us8eDymxt1u+jH+ZFm/4kV5rWYDPWOY6o0flMXrQm0CZdJSN\n5Li7mf4kC/hYmXr1Z7JDXPRMoxJrn5JIIaRevm+8qrG31aYHlWFQTbWs/N1/\nbOL3+Ty4mYC3jClkiHBnAGyl9cWO+jfLHDOgxg+108DTkmsdsxc/zAhSqF2T\n7faQkGURuWY/lTcI/AnB6JpumIL/lNQaKCfsX00EwZBGYe9JRYM4KxTe2gXl\nMnx3zJWtOBHuXX3UU4y8F8yecaRnfDSV8v9pdtABfABSGJzxardUaD9nmLzn\nktwWOvViQKEDGeTEbNwTbTrwPbnxRsp5TTA0XjQ01jlmQChqCX0vJkJ49lKm\nXs0p8Y1ApsT+RNGakGsvP2CMSCxto2VhQ/ls5hlGnbXK2TBLq0LIzeENtBwt\nJLTE\r\n=3/yn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEIsAedoYg0xr7XH82J1DFagljuGUqsXIb3SfCXJ+mR7AiEA5IhlnM8+1O20XyeeMsyMqhWTbsXQLGs80eAREBb83FM="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.0.0-alpha.3_1526503035979_0.9201412514685536"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.0.0-alpha.4":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.0.0-alpha.4","main":"index.js","files":["index.js","throttle.js","lib"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.0.0-alpha.7","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"readme":"# vbb-hafas\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client`](https://github.com/public-transport/hafas-client#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/master/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/master/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/master/p/vbb/readme.md).\n\n\n## Getting Started\n\n```javascript\nconst hafas = require('vbb-hafas')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nclient.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n## Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `arrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"ccd2fad32699af20e0dc64717a42d4ad777a1c70","_id":"vbb-hafas@5.0.0-alpha.4","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-PUzzT/0RiHa6XeKtBsdNUlYo7MWjL+PztSGrOTnnr5ceWqQFJpAPMQuG0sONCAyoqJkylubArY90uGoVQNlzwg==","shasum":"c80155c0a6e0b1d94eddc603cda7ee68b3956bb3","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.0.0-alpha.4.tgz","fileCount":6,"unpackedSize":10010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJRzwCRA9TVsSAnZWagAAZ9kP/1YKjEzb372eDow+JmnE\nAj7LSGUNGJ2qBEL83lZGt63S4C1UOtATd6TLYN0NtpozI+R9rSV3FoyFNrov\nll2yDeUZrNjq5dFHAM+G/3LZtnQVDNr3DPx3ExyQdxF5m+zP6/MEVEDc6IRs\nOlV/l8Yaxd6WZSR7sUWhLCcXH9ueboDmS0EUbaSl/oVq6zxPet9o42oHvVwn\ntrd12Br1xJskhq5g75chd8h9LiGrPuxJglND5HM+iVa8d8RDzH9GYOZHN6Jh\n2yGAiUW17PGxscsPp085JR8JwL9UjnfDrsKYL2OO1CziaSAUf2HiSBxFrWog\nPH8nq3pS4z4tiorWrppwdYL4Hmk+mT6lKO6No1aLa9TVS/RdAckgV+UcpndI\nyd6AUYchvs+thLTimPWxXVz9ab2O/VqnGy9gYlBZu/OiFq/yEkHvANUfPAtB\nr9OXZjeICvYmDiNxPClofGVamBlorcqLvmvAjz9N9YBsygX+HOs8KSbBr4KC\noerrVqmdWKp4Zj7Xjj1LrsKqat4E5JorEMJYEr6apop73U5kooMQ2q+7mkaF\n5TDCGhNAvomLZokpGWK7xduNWk8uoc8+I3w7oyg7S+SNjTMG2vnK1Wq1ranm\neeHmz5C+lU8fOpj8I/hkJKpK41joeSUH6V0m/Lq/yYk7V8f4He1i36SYgVyw\n0z4n\r\n=SgUj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqWGOQ0qIUOVAI9yFBUGcAPKNU2DwicWpgdt27oLBf0QIhAKNBGvHkRPQ3SJbQXtwJ0SJPH/k1oq5Vt1JCsKsIfLjP"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.0.0-alpha.4_1529158895797_0.47482310448484744"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.0.0-alpha.5":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.0.0-alpha.5","main":"index.js","files":["index.js","throttle.js","lib"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.0.0-alpha.15","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"readme":"# vbb-hafas\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client`](https://github.com/public-transport/hafas-client#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/master/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/master/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/master/p/vbb/readme.md).\n\n\n## Getting Started\n\n```javascript\nconst hafas = require('vbb-hafas')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nclient.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n## Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `arrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"c59dea64c750483714a11ac4b20fbf544eec1222","_id":"vbb-hafas@5.0.0-alpha.5","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-5kca4JTPI8rlrRRng2CK+OetehpK/WvComGBeXpti6uwteMsx00wU6UUCe7NCQzjOQZnqdHripwlFSqPPqJteQ==","shasum":"0698b517f4ca428020fe5bc379e1f520e4af26b3","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.0.0-alpha.5.tgz","fileCount":6,"unpackedSize":10006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbN4SmCRA9TVsSAnZWagAA748P/Ayx4vfzCcnK49R233CW\nDb9QluYvxFREtlLVIpTv7cNqGYK/vhFhE0d3MlQr7H2dRBgZZ5zT9ESPgAU5\n6pAt+8r7vtuSK8Z6gEAzizPuwXcTeTEqix0jHtWn09wIQv9d9vB72LLGs5/k\niI28oE8YFK/Eeo2iGpzNSbnoFCprQizmuOqaFkVTrrUtYciicZyNYW+DwkRp\ncKQdxYH+koCrv0pXEpIJsHpTT7zanWVCU0000mQ7QZRIY10of26kCD0llAkb\nyTW3DO28mzua88dY+Whj7LEwRqlLmrbb7wDCONKJdbljzx9UVjWizuacodPY\n6arHf0SiOHmUXvD5UbI6ceEl82zwLcSdGh45Af0KVrbYdurCldOjWua2Z03b\ndC9JspZdPpBKW2z0Jf209iZvGYz80Y+Ifib6imVIWAqHxYPWZsZeWldkUrRR\nK7iMXgskKxWXHl+YLFVcPmCnNCv97AtsqgvD2+lAuD422nymS1QR9TRRMYJk\n4GU050a305O2N8/axiFC/57xqxaZnhSlXtJBzx7TSk4AFs2VJL9tCQAmW1Ox\nIe17+67OjG1pU7yow0kSqqPNA1Zw38lFWQLarChuYG1RDgesjjhvo3zf0tix\nlpYjUP3yN8r/91T9hOg1rfY1VAUucTIJwk0/USKt/vd9tkT/IT7sLm3sIgh7\nlhNs\r\n=0Xnm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWGNu1IAiudrsMxb0amDXlv4ntHgPtnQ2VMQ2ow9YsegIgCjeA5zLm0yndGKOZZ4PjajhSo7ZfYhSB+sYEtdxxCTA="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.0.0-alpha.5_1530365094088_0.9984520029088402"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.0.0-alpha.6":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.0.0-alpha.6","main":"index.js","files":["index.js","throttle.js","lib"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.0.0-alpha.19","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"readme":"# vbb-hafas\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client`](https://github.com/public-transport/hafas-client#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/master/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/master/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/master/p/vbb/readme.md).\n\n\n## Getting Started\n\n```javascript\nconst createHafas = require('vbb-hafas')\n\nconst hafas = createHafas('my-awesome-program')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nhafas.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n## Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `arrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"0088d05fc533cd8e07a2647f6ab7e8cc56b7c9b8","_id":"vbb-hafas@5.0.0-alpha.6","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-BvtcE/bMpcBkAT4zyzy3OvrBFj9gxytgzt5Qq64valTqq9MeUZ0yIoH8Eg5q1AmFzeRvEij2uAsJ2Rk5XFU0Uw==","shasum":"f928a8857b28b1e7a363292fb3de4e5507e325c4","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.0.0-alpha.6.tgz","fileCount":6,"unpackedSize":10147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWbNkCRA9TVsSAnZWagAAS9EP/iSbEOdkXOXvZ4b1mkHn\nqGlDUKHXSPXrSa5qXPMz6J6oFnEvD2P/V7+H8p7j/UCeVaO6txHY0k3/pu3z\nkZwUardXPPZWnRN9B6xvyA/Y3KBMdi4fWkyCEqQ2PoJE8otry871WqGBBraI\nq8O/qpkBDv4qLuNAEwHBLO1xBWPkvOLa3xzDkhS78fG7SkjJw1I/NLg6Kfxs\nX+Da10jrej8ucHjmUatVd7tt90VQrO7sW17Mv6YdQV7ERP978ICL5+KJR/f0\nueF9h8OZhIZoD+fUP8Q4iT67hz/EskpJTVByyMXP+X0B63nrwCPWJ4xvCzIC\nBkPKmpWpBJIrnzl/deVrGhV6GkBTNt1NIS6DoRODN6ovdDbTaGNSgWhfBpC1\nsnB+RMaVSAsC2BZ3OiEBD4v1y/lX+xLLH3jt6/KiZOxRHWRtCruAPxIYc988\nqdKI3NrV7fkQfrnzOf2OkNbycg5yR2ZCvHcMIng84Gc6v84Q2AwyJcAqJP/k\nMb1hYJ4zaabhsJprvrl5fuopCCREdigfOpq2QPXsA12XnyMZcM+B5/h7islH\ngTR0LOR5pAA6kIkiVjgupCYf+SFHGLuNIcaScqb+mpU+/LSgoWSWLAotoYvp\nxghqhIxOJvNkDzZYb0gj9fUlX5UdPCz3kEWA9Th5KXF5TYyFLOW08WJtfwPo\nK42Q\r\n=B9Az\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1Z+191T0ELxY8wsTojjbh3HMSJFtE/saD6pKRtz3oAwIgL2UaU2XvqOG2WeHAYhQI/YlMdGpAqLylen7ZIWxl1/w="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.0.0-alpha.6_1532605284243_0.17370296150112985"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.0.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.0.0","main":"index.js","files":["index.js","throttle.js","lib"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.0.0","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"e7385e11deb1be1060b1473e2e7ee5683181c8b1","_id":"vbb-hafas@5.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-HQNwNJS38EgkUMZ46l011MfAhUvDuQxLQfjM7t0ooTgLknaHLlz95JKhauMjI/HDVzD2kGQovhWkS1F91UT2aQ==","shasum":"4ab59c28ced7d109d18853d6c84f0e2721a9ee4c","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.0.0.tgz","fileCount":6,"unpackedSize":10510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdzR5CRA9TVsSAnZWagAA8GsP/jBKcGhthwZDn+MXC27W\nuqXA83b1iHfkm2OP6VDCy3LoARe9UW3vy85V2xL50ubA94/W1bGJxsf4P1Gr\neX33OBoI1ivuRbFvpTBuuBolcp/AcrBGyuvXnf7RXPjbGlrJoHQ+kZOcsQS+\nv1EWoRFDn27TMpS8ZmQ/VXSg3HKlYRY773BSoxXSLkullqFZX2FoSsx3ki57\nmF2i/JAJd9PIpLwhxcKjLmSE72UrkvizqXlz9yLi2ZUbsbtb53OXNBQ8AmA2\neY0Conu+QkQRZUMWyqIikqN/3Wyh0luRlNvk30Z5w7s5GvmqjPFz0TiTzX1n\nyvEL3E30v8eSytfUQzCd35DRE4RpTcyx/VP92l2dScb1NGBH6/0HnJ1FeN3z\nrTDUB18azEJLNrNAwHqJzqBI9jfKUN710KyeUwH8svzKH+kVU6/tayK+MdMG\nyZ1fdtAcMaN1q9ddyXb48VEUqRm98ji4sEBCs93jL1nK9M3aWHpah5PzG5AT\neCD2uMg6yE1SpGAHcVcJMIap/qCSCryibrrK7emaw0DJnd0NO+nS6+Bohivc\nNXfhjjxSf7ffGIQbRPpmhF2+T8ztlFYNQXUeo2eYJONvM2HQ247kIWNjnmpb\n5wnIbs9D8XBxvjdy8z5F2k45m4zFh7YCxfojlHA8SxIDesLFVTMiyB1hKyCG\nG/Mu\r\n=ePrb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIOAVgHcmlBgVC6sHmfjQrCtDoWe7sg2QzsYLLXqS01QIhAKbtfVzNVBu10QrF9OmwHp00gf057oIBKYXpEjZVcs4Z"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.0.0_1534538872733_0.34014506265565614"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.0.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.0.1","main":"index.js","files":["index.js","throttle.js","lib"],"author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.0.0","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"0b9c1325223ff22d3a5ebfa2314e711d5b228809","_id":"vbb-hafas@5.0.1","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-kzwasrFSdygArfD8x7kBM/FWxZcipbJXQOnH1HOCE7LYUtdp0qzWn6bQgiRsm5VgY7UhAZTWZh8nyZjfD0a4/Q==","shasum":"661d269fc18093bffdaae15fc971f17bee6f107d","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.0.1.tgz","fileCount":6,"unpackedSize":10532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdzzsCRA9TVsSAnZWagAASP0P/2Y16BrP9bAPFUJWEyTy\nQZ8tCVO1cBsLCfqVA4W160qMnNMsH3MxYoDg0EeHFCH5bi5yNwYhljPBtnpl\n6o43UmdKZX7Y3FC79ivPb0JT1ODqwYdC1/n/RBNuxz1A2Agyt5Uw+pg4GlaA\nKVl1qW2H9dNG4P0NMRrE8JwjoqVzQSftk5/4NrT6oqlKDCt98l5/z0y43xa9\nNErFUaL7W4jQHO+8NOpT76IZFp7yr97kGyWlx1f1NCbuhbouW+P6882R5/y6\nESI6nKbmV0F7e9/FHzH6wekfF933cxp47acYmrAc2bM1pTAgtIr80tD8FgAp\ncsS8AHxt4aB0If3wR7hSA63SZZQzq1k6W5F1ZrbxZm/VtWLFeIMUlFgBKPGe\nH4zJivd00G9zzk1b1r7BjP76XNW3pYZJSETNG7o+1+zK/fr8Ppiz3lHLYTCZ\n9erof4Bp/yi8KW855Ni0S0xUuUaIscujHeK5SUuKYeoJIqTFC2dZyxoiaSjC\n8DtMGS0nIrkAu1PhxRyIJnfG0fkrF5PVKvbmVhsJpTjbYOfsRxB/BkoWJ89v\njUB1UWSqvDOXYBAEq5E5ES9MXrcauoTjtDEyP6tcrgW8ikQUN3de025MjAZ5\nj0awxFE8S2cdWxXjnYE52LpCr1pomATw8Cx5MJP3o0M3Qimcz/NnLFeXr7LV\ncwr/\r\n=JCaM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrK5wMlzew4xP9tdWefQEtGUtq6Hw5/SY3d4e0+rxC3AIgO8sO8+vjXYO9tWi9BXu4/5J17x61PODO3jgYDyPlqeo="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.0.1_1534541035574_0.5146375046539875"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.1.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.1.0","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.9.1","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"0f7d4832f92afde7d6edf6b80f93c3a33344dfa2","_id":"vbb-hafas@5.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-Kr39sq7Pnbu3HdV8q32AEjC5bATio3SD5KETNA6fnkwcx9d6mkmFYb0V6c+rvaplUx9tDZWKA7tv/B7Bi3C/WQ==","shasum":"11826e64b5fcd3b6fed4b678863fc2e0725e08ae","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.1.0.tgz","fileCount":7,"unpackedSize":10939,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXYPKCRA9TVsSAnZWagAAph8P/1gHBM8aKmI7yD4vA7pi\ne1QoZxvmKs5WX0+p2YNU7I9Ih5pzvzXEF5znKuctUQ/ywqLWap7X1Dj7gqX1\nCl2k7nwY/j8BqZ7c98AV11f2u9UcTNASn8azNuN5I4mP9dsSNn77drFLkmkF\nogRV1HbY37hoM4Q7H9aqo8OLBlGd+m0s56d7lXMH4HsKXBbDu6SAUEFh0yqR\nKVVlZTseu5xxtTjy5t3dOvSZ556FZCJK32FbwKQervEHzEYJ/l7J4QQphqhA\n5xGI3y+VmwS0ezbkJtTNG+mkUeHsjFbBxxh8P/G8uWkggW14tgMxYB9chyDO\ncfvaWD9x06iORJ0p0lEXXUi6GjjwDZ1uE1+KA4xVQSL9cr4BdaHme3R1GpAA\nBHqpXGGl0IpWKaG2mbFzwoQ1NLrOx2/ZLmQZGlL0zccqRp7QKr+KNk31z2ld\nyd5GssCkBAgAWhGDLbasTSCDBNdfEcJ9ZrOc9y2VT77qHCVDGrcLFwfQFAXN\n07PuWRwoVVaJsM2zyLkgErsqp6nHspsuTxjqp8f9AY3xSYNUaQL3ihsggkDd\nrLakRuo924VulQcickSqCIAfvEDs6leunLKlnYbFshyMww/BVjK8rV2toCAo\no+aZmhg//0mx1lG+17WV+Sbo26uY3Ub1MJUErjbXeQdDL8IEiaXrtNI8XdsH\nwnBr\r\n=RoQ3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAh86Ioc330ik1+hbeq3YAR9ycA/D86kV3t8SaA6v/fAIgUvGoYYuuZ7en/BOxWK11En/s7+EcFuKCL4pEgJH0CmE="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.1.0_1549632457694_0.9525219768612929"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"6.0.0-alpha.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"6.0.0-alpha.1","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^4.0.1","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"readme":"# vbb-hafas\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client@4`](https://github.com/public-transport/hafas-client/tree/4#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/4/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/4/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/4/p/vbb/readme.md).\n\n\n## Usage\n\n```javascript\nconst createHafas = require('vbb-hafas')\n\nconst hafas = createHafas('my-awesome-program')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nhafas.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n### Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `arrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Related\n\nCheck [`hafas-client`'s related libs](https://github.com/public-transport/hafas-client/blob/4/readme.md#related).\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"a6a3d802a5ac9f12205d9a290b58d9d92a88240f","_id":"vbb-hafas@6.0.0-alpha.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-Wn1hCTwUZ75EnHzHwov4mOIyzmQ26OIMpMb4a6GqrxuZO28X9268r0EFjJdyvra6jCnky6zpiPvfA2+BKaKm1g==","shasum":"f124abce631fe3f64f3ac3ecdf4b5b19f4ba1f6c","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-6.0.0-alpha.1.tgz","fileCount":7,"unpackedSize":11064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclUYMCRA9TVsSAnZWagAA4XUP/0ew82DEd4h/BOT7Q7zt\nidbkD6Xvves7ypcByKb/nnJl4ufAj8cxlitYtHorRblScNi1nE5xPVQce3AU\nMdIJpca/Da+FpGeErUXNvS49wlK33w9+wsAP7Sz1mDATeUiTkMIYbrYqVgmm\nhlr4p5LX0Ii9pj50YD9aF2LAL7vlnF5JcHDzP4w7mttGeOY2lRekwPiGPUFJ\nWYjcsmE42t/FWurPc6UwtH4D0QIA3VaUptOPFj30V6+VW4L7sI6W6XgYVInp\nslMSdN645JNc9tFgRfE5WnsgDoNeGlXB+lzgRSJEw9XRE/6eJrGZCad3y/mI\nD5rxzv/zSaFasDXWxpiJQ2zdqaVxg/1cKkgg07QZQL5C61grIffFAfvSUma8\nsYKtzB35T4PcokJCkJOCWQcFc8t3D8kOzUnJNqPTrB1sVaiCsM6hnVfKZe37\n/8Gp5PmtctQxth+Cj8Z8zAdhpZKdfck68xnSKlut8CbL0EbGS89LaySoA/sE\naoXtxrNoJXTV2/7CZbWeoVnjfj8x8zdvCvdT0+5uL6skGfe3ZNQEXHe3BYvz\nXCvLDlgZFYlKogiIUIYIpXJhJOzag+k09Sd02tkHsP/u7rBQ5YgCpFCsvJ77\nwZi7owuNfgy2rESucz7WedB0BjqjpcFREJR0Y7E03fP6Nvvv/TLKXxambO2n\nUCCf\r\n=2GKO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH67qcP2kYF3ZMe/4e9tBZP87iRuvUbTehvkx8Mg2HXGAiEA+HyN6hrq6NtqCU4vYrkvrR5auoC/FEqkK94ys7jq8VM="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_6.0.0-alpha.1_1553286667217_0.727383635726456"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"6.0.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"6.0.0","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=8"},"dependencies":{"hafas-client":"^4.0.1","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"c91bced0f92c015cb821f470391abfeff3d06001","_id":"vbb-hafas@6.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.2","_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"dist":{"integrity":"sha512-3OVg7P021cwLzn6RbqQQ7SiED2Adry/ay4NrQhMbDWQ8Uq4FsdKxntrPMT/Fn/IW2xSHxsUB9H1Lw85WVK3Otg==","shasum":"c956977c75a66f11f2520e0135e586b9b3bbc1bc","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-6.0.0.tgz","fileCount":7,"unpackedSize":11056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqf4jCRA9TVsSAnZWagAAHxoP/R7ypoh/ciyO0U9zdzC2\ngfYXOwWxGRDv0tO8sry53B3VCqxHahqK8h6FxPgqnkMf43Qqh5jkSMbdNCTU\nEt6y5jo+ZkW7neRL9EH4Sd2K/Lny1xacha1cioieAabX3FqIHxYSMHV0vPlM\nMtZpT5lmw44n/hTTjM2t3JTCuF/FUZS3Ea2T2DwnDaRJocn0dvWEkqUxr9wY\nYSvqodKRYgEK0mpghq5ipiyqm9j0TPFYUR5G4xBUYsI7HaP+M+IiN3r73hun\nEphhU3cZud5Q6uERC95DowyS6pSHfJwWIumf56c4VMwwuD3wbJe+zhyzt3hg\nodbFH2tHOTW0r3BWHSZMPYKpd+qv46Hhs7hV9v60EopDCW0p6yOs6rTLDW1Y\n3bw3cTLqolz/t1FG8E7RtSHy7K1BNrYsg76UGRqjy/nrx7KWYjaxpl05VBuG\nLC+dRamLk8592KRDe7XctDqtGV0qqDkyqz9kkp9Dnp+gHTozUrsYGfM/SxtV\nvzIyz49chwG8Hr1g6zTkTf1wFncL1982MsVjJKQc6hXKLikrbRrVcw0hEksh\nj/mcLpRZpXeaTHHU1rAK8NusNbqmO0KwpIsTS+EVFDtfhXsLGDnn/wM3wuza\nlaZgRYzwA/FHrCRgB0l7GWP2IQbKcZUoV51urjXpA4z08KgUF/LxlOM4v2kC\nE779\r\n=O0Dt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBT8tfJdv9c57HcVmYW+hD1KVdDRxPcOGAnGEUhEiUWAiEAmufRtIMIWvE9boiWzmRI+jCZczO6CLkfVdfxpoQOncA="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_6.0.0_1554644514263_0.4526039780518807"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"6.1.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"6.1.0","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=8"},"dependencies":{"hafas-client":"^4.0.1","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"0021e7c2c415cfe0a9b30b330283af0f78d10a07","_id":"vbb-hafas@6.1.0","_nodeVersion":"12.9.0","_npmVersion":"6.8.0","dist":{"integrity":"sha512-Jh+JCZc1f28mvWjnMx6Kems4ZzQO2SJTAAngN4as+BorDpsQkDgJBwEt2HuhYC9B9Riv5X+S1r9eiiarmbK5Cg==","shasum":"725cd2625940a25da7307f745faf4049b4775ecf","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-6.1.0.tgz","fileCount":7,"unpackedSize":11183,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdj7dNCRA9TVsSAnZWagAAeM0P/ioMR+TrMNrZTTzhS1iZ\npVbk76K9oyN2tL1i4657Usgm93tk8+g76jhALhm2miyc2Trjmv7rWgpf0ELL\nTybAhO6ZQ557SPWM3Pxw+8tn5XQUCDNXuFwvNc5a23mX+Bi7J0aUAK2jAqeG\nR8sFlZM9MId7a4vNXmBCn1M0o+OQ/WdBDWxRjg8JIOLnZvXHzyCnP/q6rTMd\nJZmr6I4sE1yOtsxSYrClpl4e7H2ls9rq119IamNHbpHANK0l56yvFTexpg9u\nvSNIzNoyBbHn7nVDCIR69gnssFA9gXepXJ1HeCLZrJ1mF+NziwLeA+VQDghD\nqjcbtDtMhIC7vs72MIBsWyPYYkVl28xaaKFk4FiGEZWgNzpLll7YRlbA6Lya\nlTIoql8wLf01HSa2G0g5s/ueckjiD7h1T0Jo1n3sFQZ2ZaDk1jlmwKxjcEnd\n/dADXD640r+fnun/lvFujSop3ydKF3mH3SWswybbtcPyQDKQsNQxaizWFVi0\nzYq7xveXQAvDvj34D141SEtwbLGWdUpKjN98pxEBcEVEwJF+c6o5903KE8Bv\naUetgENRO26X/hOsI5TsVFVrsg56HEVFiYHIXfzr50NLvTocN+6hPeRXZkvU\ndevhi8yhf92xykbpNiNM3QbC6XWMr/EyhqslhvwslQObhacPv2cUN5G7ea23\nLAnX\r\n=j1Vs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC941NdUlISk8juMPSCwYAaI4cpiTHt3fZKRls5ZFmf6AIhAIiGOjpRz+YWRlaIPSO+UFc9NknJNaDsVvD4dPGNb6u/"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_6.1.0_1569699661260_0.33259924261189777"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"4.2.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"4.2.2","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas/tree/4","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^2.3.2","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js"},"readme":"# vbb-hafas\n\n**Deprecated. Use [`vbb-hafas@latest`](https://github.com/derhuerst/vbb-hafas).**\n\n---\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client@2`](https://github.com/public-transport/hafas-client/tree/2). [Its docs](https://github.com/public-transport/hafas-client/blob/2/docs/readme.md) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/master/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/master/p/vbb/readme.md).\n\n\n## Getting Started\n\n```javascript\nconst hafas = require('vbb-hafas')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nclient.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n## Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `arrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"f04ed51595bbbebeb5e92db64473b4bdbf5df605","_id":"vbb-hafas@4.2.2","_nodeVersion":"12.10.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-FWmjAN6FPLlmIUYAUaSBnF6gop7ST+4ZkeBTAK98WKoYf26OD8h9cpOUTWug0+B1dkwQzPXvxjSAW72DZjdJaw==","shasum":"0fdcdced74b94b28e771447e3ea8548f61812000","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-4.2.2.tgz","fileCount":6,"unpackedSize":10058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtyFBCRA9TVsSAnZWagAA8hMP/3X1zijAjEL7a5V6bZIc\nRRJTU7TGmO+GNOc5YSsEneICIGfiuJX4Ej6vo2yLSEZsbvDetuGJL/SqC1Rk\n+uvmqnX4qCorQGxS2op9pi69Ara0o8JO8Mo/VEp2+Rjfx6NJViLCO3kCIOfL\n1dPXmDLcpYLrlQMmKFj0ml2x28y+o6VziiSOihFK834m7xg6nIrUHJhTrx8p\nRtCHzQJmQkOdPfR1BZLnGSr2jc3umHdMkZWiqFCVoXzifsraYzljKrC769TI\nnv1qcB5mgKBlKemSD0aIZEjGQjR5uvIDueu0+cy3R75qWGteVOEyEAD1OhJv\nfsi9V8OKi1O6sD3R2RlqD40r7XfmWqWXaFfCdkn3IeZO1BoH5Fztw48WK7nZ\nvD3Ud0Rds7tOXMvj4tsywFlGViiSvlAv9xDrYq4CPKzbfTTnUIRrJQuYdrcC\n5cdwCBKCNd2Xm08CpWILFNE/cX6xHfTVh5nxRmPvR7kIHGRHjje+N+YjU/GR\nU2Wg3QFWAezICgPyCZSLNOqmsctHxrLe9gu7LdSExR2DRZr25aAf5nmFDzot\nu/gva9gyzQtc8QgF2Q3Qxxx9UAig60Ds3jIJgowH75nJ0LdkdICijPuP9zpg\nidSPx0G91xkgmySdmnPyjmLuiQC16T1jtIkDT8BkTJZYHO23ayQtxTBIyWWS\nvgXb\r\n=gFY9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCN05vviZ0BUYhqKBjZ+ZUCn9CeUT9SE1LAwtRXoRzCUQIhAKECiBF2BSIUme62LGUn+S31K6q4xqgtOB+bv7AeMbd4"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_4.2.2_1572282689400_0.7761997536322611"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"5.1.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"5.1.1","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas/tree/5.x","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"hafas-client":"^3.9.1","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js"},"readme":"# vbb-hafas\n\n**Deprecated. Use [`vbb-hafas@latest`](https://github.com/derhuerst/vbb-hafas).**\n\n---\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client@3`](https://github.com/public-transport/hafas-client/tree/3). [Its docs](https://github.com/public-transport/hafas-client/tree/3/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/3/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/3/p/vbb/readme.md).\n\n\n## Usage\n\n```javascript\nconst createHafas = require('vbb-hafas')\n\nconst hafas = createHafas('my-awesome-program')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nhafas.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n### Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `arrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Related\n\nCheck [`hafas-client`'s related libs](https://github.com/public-transport/hafas-client/blob/master/readme.md#related).\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"6997bf532d5dd94412c319cb1536db6788ba523a","_id":"vbb-hafas@5.1.1","_nodeVersion":"12.10.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-ykLXTPxc8IWdytZl6hfPrSzcHfWoVwLagtmJqq8M9whL47wFVZCJcfbT8w597GJDocK7tlVlPs5bc9DzuCwmDg==","shasum":"748c567b9af4005547abf2853b60292a59096062","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-5.1.1.tgz","fileCount":7,"unpackedSize":10985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtyIcCRA9TVsSAnZWagAARpwP+QE/zwBqVFJbkMeOk0QK\nPGhRhSgCFf/dyZ+LtH5pyMBk6RN8gV2+n4N0H1BSA5+uNdssQj0O+iH7+E6g\nq5ljGNpfX9E3FJZ20fVVFXe9ynJ5HwyrfGHybvObJ8TfDMJcY0NGj3tXrfiN\nXrEhss1ZYwblru9wRTw5As2cy0yuIrpEZmh62t76cLaFal6iXeoiYBH7kBu0\njQpLX+EdqCl2+FjNJGAxk5W0+RXVLUtOVB8FZH6zmZk+z7MsqlrdcZlCVfpU\n6XIM+NoLQMmuMrXrpjk+iMcEx4kkTuDLigPgzZffWrq7tY7kuoH3+Tc4NuQF\nQM7X2EB6QSe052ac8rWtLlZ74dGA5kSEs906QnXS4xHN2oL/08s9V/PVBGMD\nFJ18QRjfWxVROCtA/5qm9Fwa/l77kG6IR96GFvemDkAh7AePKH8wzOG7uXcC\nOr5yK2QrVgPuyJqb9CyMLABJfLDCfFo3YagXM3sgI+9I3EStqM1dPC96Plee\nE271t1NNXIaAhFtzdpqj9x98XYjWbVndhugYNQXQQv1gYbahh5rrAu6XuCVI\ng8wFz6tYu+AbpXKhfXqmE7DMUdd3xp7F0PrO1xDodQ/FBItZvB+3H1JVVGbV\nJWVqFIgRqDxIUAuRaZl6VtKxuAz6tE2w3G+/pVc3Rdki37LF19WeAIspyleS\nRvkX\r\n=B3HU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGhZBmX/Io5VXyJH4CAPBwpZd6t+IwVMgD0fAF4uKn7AiAvT+0fzoO+SbkWn+kKQ4VFI5F+KWcC7eZMNbs61/ynWg=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_5.1.1_1572282907968_0.047177924826177"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"3.1.3":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"3.1.3","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas/tree/3.x","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=6"},"dependencies":{"got":"^8.0.0","hafas-client":"^1.2.0","lodash.omit":"^4.5","moment-timezone":"^0.5.10","pad-right":"^0.2.2","slugg":"^1.2.0","vbb-parse-line":"^0.2.2","vbb-parse-ticket":"^0.2.0","vbb-short-station-name":"^0.4.0","vbb-stations":"^5.2.0","vbb-translate-ids":"^3.1.0","vbb-util":"^0.10.1"},"devDependencies":{"floordate":"^3.0.0","is-roughly-equal":"^0.1.0","tap-spec":"^4.1.1","tape":"^4.6.3","vbb-stations-autocomplete":"^3.1.0"},"scripts":{"test":"node test/index.js | tap-spec"},"readme":"# vbb-hafas\n\n**Deprecated. Use [`vbb-hafas@latest`](https://github.com/derhuerst/vbb-hafas).**\n\n---\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward promise-based interface on top of the verbose [HAFAS](http://hacon.de/hafas) API.\n\n*Note*: Almost certainly, [vbb-client](https://github.com/derhuerst/vbb-client) is what you are looking for (it queries [vbb-rest](https://github.com/derhuerst/vbb-rest)). It is more feature-rich and lightweight.\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![build status](https://img.shields.io/travis/derhuerst/vbb-hafas.svg)](https://travis-ci.org/derhuerst/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n[![dev dependency status](https://img.shields.io/david/dev/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas#info=devDependencies)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.svg)\n\n\n## Installing\n\n```shell\nnpm install vbb-hafas\n```\n\n\n## Getting Started\n\n```javascript\nconst hafas = require('vbb-hafas')\n```\n\n- [`journeys(from, to, [opt])`](docs/journeys.md) to get journeys between locations\n- [`journeyPart(ref, name, [opt])`](docs/journey-part.md) to get details for a part of a journey\n- [`departures(station, [opt])`](docs/departures.md) to query the next departures at a station\n- [`nearby(latitude, longitude, [opt])`](docs/nearby.md) to show stations & POIs around\n- [`locations(query, [opt])`](docs/locations.md) to find stations, POIs and addresses\n- [`radar(query, [opt])`](docs/radar.md) to find all vehicles currently in a certain area\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station ids, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nclient.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n```\n\nThe output will be in the [*Friendly Public Transport Format*](https://github.com/public-transport/friendly-public-transport-format):\n\n```javascript\n[\n\t{\n\t\ttype: 'journey',\n\t\t// taken from the first part\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tcoordinates: {latitude: 52.52585, longitude: 13.368928},\n\t\t\tproducts: // …\n\t\t},\n\t\tdeparture: '2017-05-16T13:31:00+02:00',\n\t\t// taken from the last part\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tcoordinates: {latitude: 52.505049, longitude: 13.305213},\n\t\t\tproducts: // …\n\t\t},\n\t\tarrival: '2017-05-16T13:41:00+02:00',\n\t\tparts: [{\n\t\t\torigin: {\n\t\t\t\ttype: 'station',\n\t\t\t\tid: '900000003201',\n\t\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\t\tcoordinates: {latitude: 52.52585, longitude: 13.368928},\n\t\t\t\tproducts: // …\n\t\t\t},\n\t\t\tdeparture: '2017-05-16T13:31:00+02:00',\n\t\t\tdeparturePlatform: '16',\n\t\t\tdestination: {\n\t\t\t\ttype: 'station',\n\t\t\t\tid: '900000024101',\n\t\t\t\tname: 'S Charlottenburg',\n\t\t\t\tcoordinates: {latitude: 52.505049, longitude: 13.305213},\n\t\t\t\tproducts: // …\n\t\t\t},\n\t\t\tarrival: '2017-05-16T13:41:00+02:00',\n\t\t\tdelay: 0,\n\t\t\tline: {\n\t\t\t\ttype: 'line',\n\t\t\t\tid: 's75',\n\t\t\t\tname: 'S75',\n\t\t\t\tmode: 'train',\n\t\t\t\tproduct: 'suburban',\n\t\t\t\tclass: 1,\n\t\t\t\tproductCode: 0,\n\t\t\t\tproductName: 'S-7',\n\t\t\t\tsymbol: 'S',\n\t\t\t\tnr: 75,\n\t\t\t\tmetro: false,\n\t\t\t\texpress: false,\n\t\t\t\tnight: false\n\t\t\t},\n\t\t\tarrivalPlatform: '8'\n\t\t\tdirection: 'S Westkreuz',\n\t\t}]\n\t}\n]\n```\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"79f4c99aaa2b7e59c5eaa49cfd60efcd34691c3d","_id":"vbb-hafas@3.1.3","_nodeVersion":"12.10.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-/W1DIfRiWXmncb9c5hwMd818TYuK54ccVva9uhiFpfUbK7ItDYtAQvEo6z3JqzIMmUugBmlPELY3/rowg4wi8w==","shasum":"be849fe00a12d848fb1da0b4e68cc73ad973fb60","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-3.1.3.tgz","fileCount":14,"unpackedSize":19841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtyLLCRA9TVsSAnZWagAA+3YQAI2TAyfNhd8Wu+VdgeOr\nttDsrF1H70jaZQReueiW6otGWqHd4RsdWrxE8PlB1cOFnPvuHLRNLTQ9xV16\n7WYZqjALY1Z+BdIJsuJorkBwiG1/qYeMCDu6yLrOuTE9Ih3MCDXLgPIJsbSz\nnuzI+Vx8Z3y/Ztra2lqdsZK6IT1ZhdeNpBnlZHZJBMZpCXeAIdcZbz51uj7g\nezLpPl/ItZ4ngsTGaLEnOLM88kAxbuysNQRp1L8J+Jg7fIl9aVxMtjbvqvhH\nN6AfKrwVlxvG4WWVsKpjTnI9xva3LFxSj8azyVL3uuD+e6IAmpPlbjUdahq3\nwMHIvZEge4mg/dQ3u9v44DPIOLlARhgWxFENIBqx+Aq8LqDvBOZX7VCoyk9r\nB52MivDPT/pTBoJ2tEEHhXeaGcSym+bR5gWr7+E56/+kWCsfJVoE4o0+n8WS\nL83c8SviUp411qOP+KK8w1uSmfenXTaS0Vdpyh+rhEzfoReqO9m1n5XrN4Yo\nhPwylWYzKZyKd/WYv6woQwoWOTQyb/W9YI/V61Qw5Zg3R3dici6mjFJjS1cz\nsc/aEslOxYxzlmiRk2ApTM19p/phzgyQ8rrw2mWyYMLsWv97XCzSeizrECl2\n8KoFZ3/8xGB9bW2KCoNYnHcQyLrjotyqIcNvtwBX3VzzIWutVlIenCcYSNfh\nGXdH\r\n=+Qj/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/WM7gRoKvnUnXoSId/ToQA73ze7NudWSXMSIGhKM1owIhANDyGaGrT+NjWsEfJcrDjhHHErdEBwu+emtPD57cn+Sa"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_3.1.3_1572283082973_0.07778377747813581"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"6.2.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"6.2.0","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=8"},"dependencies":{"hafas-client":"^4.0.1","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0","vbb-line-colors":"^1.0.2"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"8eb5ae81cb1d8c0f264414c39eb2cbb135c5fb90","_id":"vbb-hafas@6.2.0","_nodeVersion":"12.10.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-9wuVLZWbIDwX/78OGOgDk7BM0SUKhGCMUWaycJ5jJuMWky5Bn+m3ldXu0KzZmEGh5gNYr2GJEcZ9MVWgYmH7bw==","shasum":"215da354dad8bf74273392efb7dcc1eef1e81f5d","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-6.2.0.tgz","fileCount":7,"unpackedSize":11692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyDM2CRA9TVsSAnZWagAA5tMP/ioZLdZfb0t2h+Tj44Ih\nufAe4wbkh2h2XZ6rTAUbHTEyY4AeZvmtfUsKzoZj1ppLUwM9uCwm1DcIXUWx\nmls7Uraugap5W6D57xKOcc5o7wIF5PCQiAEd7smMsCWOgZyAF1DS+u0YJ8+d\npK+FskXu2oJqHha5W4xlalz4aIWw/V84T+G/fbDUoEzQfb2q/8aPWqmim2by\n/iNkxaEckj3jDFbb+sxAp2wwCbT4LPOsVk7bv7EJYnncuM5qBP0oA7K4Jg2w\np9pmU/BjHX8GuqzFybkyZb/GvM7NBVkfVh/+HgcMgR9oejK8g3D2xoozN47F\nQ7vSjWV5WkjidWK0e0WbLmQx4XXa/lIBMnW6p4g7cstpDrDoPM/9wJJQ4s0K\n0NUkFjrWLbvqW9TcIVdo6vF9XPcL0C2D21E/ZAzzB6Exp2z2yBDE2dzRKdnM\nMZYaqv0Q3Z+fqfBjU5ft3nyc2l0gejdENIAVu6Y4HGaBXqempy5Pibrb3Qb0\newIjy4jFJk0uPmwwxgCHRkvUVC4mu/9B6E1yYjpN3b6h2+NIRmIYeYxQaIqZ\nKh4aiLfrsUIXkzN2WP7zYK4x6ZE7PfELW4sxue/WOSY3/oc/x2S9efCXFZQm\nrkkzgVh2zENr9fpsQ9lNZiNQMMDE6orceQIeCzTUa4OWkXEsXdjYYxjZUXmC\niB+9\r\n=/yn3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCicxQFC4HrsXN4K+7sWlOx59CbSk83SJolClQper6ymQIhAK7ZRBNFunoJ4J+5oUMmNlKLexBZbrmJ7Qw1KwsnuY1e"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_6.2.0_1573401397738_0.9155179034728178"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"7.0.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"7.0.0","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=10"},"dependencies":{"hafas-client":"^5.0.0","merged-vbb-stations":"^2.0.0","vbb-change-positions":"^1.1.0","vbb-line-colors":"^1.0.2"},"scripts":{"smoke-test":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run smoke-test && node test/add-transfer-info.js","prepublishOnly":"npm test"},"gitHead":"0dbcdcfc22f60265898d6c853508d9f8d922cc59","_id":"vbb-hafas@7.0.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-7XNEggKTrPWWJSaiW0SxU2GKjPOsz2Ebk4wtag+rQSKoAkeuPNcnyJ+bQVhwmovOi6YXqLVk4IP4fGgO/9IXMQ==","shasum":"10dd2ed95a9934a6268dfaf07752317ad186ed90","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-7.0.0.tgz","fileCount":8,"unpackedSize":12924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHJwMCRA9TVsSAnZWagAAv6MP+QA8pS+8ZNa58CPHELtd\n9p4dF6pi5upb+O42v2bvDCa8E/Qour644QVy6OcRe4Pw1Io7ChIGgVunUUfL\nQ+d47nGyUUWSrOa6vGZibRRyhw8o+sy3blnYi3meUuHtz/vLsL/u1p6Yw8wy\niIaexojTaft9JC35/TacX1x8uXhpNPrNfewTKQZGVLivlHi12ArHudbAcjfq\nkpNSWn6IGnaLm1n4Lrp5ukQs73CGDJPCPpI4mJ4gz+wqVHlSHmPkcE4mcRUy\nEEc2c0VvfI7SXllSw5Ytkd95pPE7G1O0Fu6O76agWwbuYadL2y5U9jetP0c3\naBYkNg+qa4QyWQ1VfgMKImCArcXrNrY8+d+z2UKPg1CJ3U6oCZUhXzFFCwTa\nHAnWQ8ljA5Y1Wx0rKwmyen05BIBtJ4EuRa5DqXmPA3glnJAq+EpBB+NleK92\nE5kEuFQMHYJgC2l9/XJy+fXxiKHu5AAkB2A3JJvrC4X3AgM4PXuwLpYxaA3W\nqiLSIU9rk9X7lrprpjJhUbxWlgSuDA7jHb4YM0UH25q0/qkCIovurN3NykbQ\nJRj5BRhjLwW0a5oDNIq0kTC8nZ5+B7Q8BYGYjNDHC7Ncs4zElWkCUp6gF0pn\ndBeeTXJ6mvztt4QhqUQ5ihpgmJkukue9YHYSN6viF5N5+65XxpZaOCqMVPe1\n0CQi\r\n=+F0c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiJ+HTtmeKe/sqGYqfxGaSzJQVL7OzgFhS/loHkoT0fAIhAMX54Dhxq/GA9p95czv/9jWVf+q6mhdsbshIbwvrz1Dr"}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_7.0.0_1578933259568_0.9728039321197797"},"_hasShrinkwrap":false},"6.2.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"6.2.1","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas/tree/6","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=8"},"dependencies":{"hafas-client":"^4.0.1","merged-vbb-stations":"^1.6.0","vbb-change-positions":"^1.1.0","vbb-line-colors":"^1.0.2"},"scripts":{"demo":"env NODE_ENV=dev node example.js >/dev/null","test":"npm run demo && node test/add-transfer-info.js","prepublishOnly":"npm test"},"readme":"# `vbb-hafas@6`\n\n**Deprecated. Use [`vbb-hafas@latest`](https://github.com/derhuerst/vbb-hafas).**\n\n---\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client@4`](https://github.com/public-transport/hafas-client/tree/4#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/4/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n![vbb-rest architecture diagram](https://rawgit.com/derhuerst/vbb-rest/hafas-rest-api/architecture.svg)\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![dependency status](https://img.shields.io/david/derhuerst/vbb-hafas.svg)](https://david-dm.org/derhuerst/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/4/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/4/p/vbb/readme.md).\n\n\n## Usage\n\n```javascript\nconst createHafas = require('vbb-hafas')\n\nconst hafas = createHafas('my-awesome-program')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nhafas.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.0.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.0.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\tid: '1|50420|0|86|25122017',\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdeparturePlatform: '14',\n\t\tdelay: 0,\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalPlatform: '4',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\t\tdirection: 'Brandenburg, Hbf'\n\t} ],\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.52585,\n\t\t\tlongitude: 13.368928\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: true,\n\t\t\ttram: true,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: true,\n\t\t\tregional: true\n\t\t}\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg',\n\t\tlocation: {\n\t\t\ttype: 'location',\n\t\t\tlatitude: 52.504806,\n\t\t\tlongitude: 13.303846\n\t\t},\n\t\tproducts: {\n\t\t\tsuburban: true,\n\t\t\tsubway: false,\n\t\t\ttram: false,\n\t\t\tbus: true,\n\t\t\tferry: false,\n\t\t\texpress: false,\n\t\t\tregional: true\n\t\t}\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00'\n} ]\n```\n\n\n### Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `arrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Related\n\nCheck [`hafas-client`'s related libs](https://github.com/public-transport/hafas-client/blob/4/readme.md#related).\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-hafas/issues).\n","readmeFilename":"README.md","gitHead":"9342366e69a660a31c2a142bf20447530f4f5b07","_id":"vbb-hafas@6.2.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-2bd3k6MM4LomE2XJgKzmYDjjf4rAt+yFOgjvs7cwLnlPj1mwEvKxZyGxf2cSi8/pOPtxN+yWeRWAk3pFKbQdHg==","shasum":"4e24800b7dd854ef8578334029ea33b9b7373b6a","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-6.2.1.tgz","fileCount":7,"unpackedSize":11791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHJ9xCRA9TVsSAnZWagAA4RAP/00VbImGv6oMAFdMuIo3\ns6unifNRPu0lhnEhnLjL5UxjYAuPLqcDG18lceKFXKu3Aihx28cnnBsaPkCM\nJqON5WUStvfnV3HK32zfs71X8VXmordE/vvGDeIUwhgk/DfuJUPWwi2sh/lH\nwLAME81HDi4oyHGMTZzdddmIdNSE9GTQyMYNdZBGNS43bjdXxrvLEJH/OobW\n2oZrlm1cweS0lnsLx9xeTo/bgaw30f8hFJ+ZPXnsxz6N0r7fJG1lz6JS4eAd\nzi+L7hkyMHjRqqFbd7uvPvooBN9F+XmwRI+k5G0rZ87ORkREHAD5rk5lcUfG\nPThFZYrGpD9gzo1lYp2VKIDWst03u8gXGmJ/rgAGDhQWPqEsQEp0mOC2C5gE\n4W5maX0FT09egamH6Umv5DQrSUby73QEiAEHt1RNwiQOXmZjwQvWXLKgMgDB\nm//IaMXKkQe2+BwyWILJ/Ru/NTML2zm3zX5rHZFYdHAqJjuwTP38GjB8YhC+\nga8iqnVU63hRl8AX1XfXtcqHmAc8MZL7w0sd6EshPPNrTHMXN5IJjYk8/TXt\nBa6qqZw/9Q3hjvtwVT/MBBqv+iLSg+Ye0udC8PvCKppfr/iO4Z5SJbU/jyjM\n0m4/GnBlc5Vd0KQGU5YnIGvERDtxjL+JD7tf0sV8O8BeHmKSnZRV23WDWdT1\nEKv4\r\n=y8g+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCRFHlvaeOxPqZvQwVwQAH880SBgeyAp0V0fLQ15YHTgIgMnUdWtBgVBZSzycnN5Qmqdu5DCTK/g7dzsS6riLFtWY="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_6.2.1_1578934128989_0.8806214149848697"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use vbb-hafas@latest."},"7.0.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"7.0.1","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/derhuerst/vbb-hafas/tree/7","repository":{"type":"git","url":"git+https://github.com/derhuerst/vbb-hafas.git"},"bugs":{"url":"https://github.com/derhuerst/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","api","open data","hafas","http"],"engines":{"node":">=10"},"dependencies":{"hafas-client":"^5.0.0","merged-vbb-stations":"^2.0.0","vbb-change-positions":"^1.1.0","vbb-line-colors":"^1.0.2"},"scripts":{"smoke-test":"env NODE_ENV=dev node example.js >/dev/null","test":"node test/add-transfer-info.js","prepublishOnly":"npm test && npm run smoke-test"},"gitHead":"7e41822332c7337a8bdb55e326398468ab8475f9","_id":"vbb-hafas@7.0.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-RgZblBFRa+HDyIwf2bBx095WUi6inE+LCsOkDlr0zRICQap/U8jed0GDO4pwGyf7hJUw964bxDmU95wvLE0xiw==","shasum":"dbdec0fc726e80a2467bb17f9432712d3be70404","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-7.0.1.tgz","fileCount":9,"unpackedSize":14525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHnQxCRA9TVsSAnZWagAAWdIP/2FOJoW2eKtXnKk+nRbF\nUD7i5kWZC+R0X2bMQb0D3gTZ08guyobKX2Jp/SOSHsIS2y8LKJDqmb8J5yFt\n84Aaw2I/7nJ6mqmyZL89az9kxjsYgVik7pd/7+1zcAwsD7oRX+jmPxbhb+Gf\n0PcHa4/T5DwmBeMk9dFnN3NKk2d5E9K1PlnyyrFl4TdgCO03AxHo2K1vnWNz\nxREOZ6CPWbQQwn6dZ1feTzoltc3KtZqCq9uG3tONjGSxttwpYkp7z58Rc84V\nk7HNEasHlBjT4GH+qBxNSb1/j2vol+POMTZxahF9g956SzlsEuSGdPVzdozw\nDR6e3L0Mr8g0sT6ei5Tzctj7PvXBs5CofxCGsfL743bSwVY4etNkUyfkiTrn\nLTNXFHYsWjzemnq+FTxA+9H4h4n7TGDLedwNU1fzmxQStp88jEgCoUA1813T\n61IISIM5/In+B60J5nNiQuV50BBYL/q5521eIUCGNO/5RqO0NeFZ4G7bCU3u\nbEm1sjcjZSSqFSYsnBCkx/4Yv+exe5VYj/G8qGzC6i0Nv944P3AsZLgZLjzO\nJr9usQ98k+B0Y2/USWIPY9RoWzAVuRizQ7nKnAVFci+F2s2E7wEAbdhVSb1L\nTCr9xVNSyWlLR9UkeObp9FhDeg9b2iBVNix/dAwsHQfg9C32i7pcpdoGl5k4\nzEDR\r\n=Hx5a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFe8zMaY09AWvvNukLdIPoDcwnAoNKTX/glKq7NvaN2ZAiBlBtnrUKZPtztH9M2e6SYZytBhtJq803G4s6i3Ot+H8A=="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_7.0.1_1579054129450_0.29394566123179056"},"_hasShrinkwrap":false},"7.0.2":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"7.0.2","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/vbb-hafas/tree/7","repository":{"type":"git","url":"git+https://github.com/public-transport/vbb-hafas.git"},"bugs":{"url":"https://github.com/public-transport/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","transit","hafas","hafas-client"],"engines":{"node":">=10"},"dependencies":{"hafas-client":"^5.0.0","merged-vbb-stations":"^2.0.0","vbb-change-positions":"^1.1.0","vbb-line-colors":"^1.0.2"},"scripts":{"smoke-test":"env NODE_ENV=dev node example.js >/dev/null","test":"node test/add-transfer-info.js","prepublishOnly":"npm test && npm run smoke-test"},"gitHead":"b080150d7c0f3325f916e7fdd787d6e826c2b6b5","_id":"vbb-hafas@7.0.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-NKg88hTUr1lVdchpEwYL5BJQxqLFDs76q0ETy3cJFuJ6SmQJFXEd9yzPvsViKHLo9pMsUjOkv9Ck0+mAQMdyMQ==","shasum":"24300937c328a8dad49c6086edc210a164364526","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-7.0.2.tgz","fileCount":9,"unpackedSize":14555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelI+7CRA9TVsSAnZWagAAK+UP/3PxBUnLA+kBKC3HxzSS\ncnvaPtnSOAS7WU5ARHi9awx6Yb2/rEbfmLNm0UL4uPrBe+D2h6Qn56vFhJWi\nqRTPKHIthEGwwuTIDB+mzyFHjmb3nij8vs+YGaJvnOasjvk1KcaSswRLjUPD\n4y0uU8kBmXkTtncadGBdD33LHPI2BiX/IOtQrdUw8M6peBVRMUAnNuloDs6v\niQFOLIJltEOsuGR43SQ8KVDL/jVKMU4JdvWm9+ans4dl6PUg+EC+P/fHbxSw\nRmussB8V1ASwU1mvZfEa7I+M+BNgVkzSiGXiy5VqiJHfK7Kfuy9Ths/zwbsi\nbsSQjME7X6UuqhpXJjPbFP2gHsKtAoKa216sqKoLOFcW2JFyfbwtNxbH1E13\njkbT+lxeyVyt5FDimxke2ooZpLfxX+ownK1ykzj/vO2o0a7lhv9o6UtPVFQA\n0mT9OY3EM+Tnm232AszF3rU8JpWvl7HQOoAh6NJufmC3ofrA2LWEUDED8A6w\ndJpMKPmTwsCFwV0fMVkL9ndvq+KgkA8HAjix3IlVl75fOkGYZn4PzGKD1pr8\nunoxna+cUmsNbkw89B0E0tEgbqUNTV3oVHVHi9quf6v+E2cBAz3o3rjshv4n\n7QFeNwn7Aih9IsAZiMBnF2ZJZlf7CONwfV9W1RFd/VRRdhhDdLMgzxOfpSZA\nTeYr\r\n=lFfp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAVzvDKf+otx7Jyl01pkL/AYsZsZIk8WCXLFBDxA8aLwIgCzXNNXUC9SQF7tf0zAtbvlz4fVN5br74+LNtob/NEUQ="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_7.0.2_1586794426615_0.4840166416635079"},"_hasShrinkwrap":false},"7.0.3":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"7.0.3","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/vbb-hafas/tree/7","repository":{"type":"git","url":"git+https://github.com/public-transport/vbb-hafas.git"},"bugs":{"url":"https://github.com/public-transport/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","transit","hafas","hafas-client"],"engines":{"node":">=10"},"dependencies":{"hafas-client":"^5.0.0","merged-vbb-stations":"^2.0.0","vbb-change-positions":"^1.1.0","vbb-line-colors":"^1.0.2"},"scripts":{"smoke-test":"env NODE_ENV=dev node example.js >/dev/null","test":"node test/add-transfer-info.js","prepublishOnly":"npm test && npm run smoke-test"},"gitHead":"4ae2c313732c48e0ebbacfd8e011bd430d854730","_id":"vbb-hafas@7.0.3","_nodeVersion":"14.9.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-Tt6tuaa7h+bg6+Kw6TCJ4yj+KJb0E1UUZZUihF3XnUabSutqEP9DKbr0YehgEGm34dYzRDY4mHXtH+HLIEEQXQ==","shasum":"cab3eb9e72cb27877f38b1b83289787801420622","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-7.0.3.tgz","fileCount":9,"unpackedSize":15162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfY6YFCRA9TVsSAnZWagAAESUP/1gRhsIS4+IAggJOkqfT\nkAdI9SkgTytTJoqBFEBV4E0+DS9Q1CW3Hs6oFkRHet9Jg38B83ihrtxk6oZK\n+V/g0h4GQwm2mUPLlotCyi9wSf+hIVkHQxHZMjPSdTbwIQKv0Qs1CovFFsds\nvCSbOKjKrlg00mp9upY8FQUUi8hV6bWdJ9AsT9TFU7rAmHM2RENgLFsh/nSR\nDsflYgFQuLappVq7bePdjSeVEw5IS3ENvn6stWCYpkPzXpV9ZdP+VmigeCkZ\nlOEQJwmdOvH79YiKJpDvqsUSrOnLXMUJpPn7tV7MSCUah9uVzRNaRrcSZZk5\nu+LsMbDhaWzQwgzBpK65R3NN9BAst4T+mmoL67KjranXTrt5aMgiFHe+dUK0\nN/5TfSEO6XZFh2f0K34icAqg6lbGfCvNPv1hr2zPuLBVBxcM9VP8ZGAuVjzS\nefI08DQcCKyq+KYVwfkObWQ35GGI4N7g+u/JYgwnA2h9oeDpaI0aVAfk6gJh\n1TOH1xciB9BMUQ07/vqSNORT/ekca0lvzjxcceUGJz0G8BmSb528BaxHmydE\npBCiWgijc/mxKxO0PkNMaju2IZT4zteirPiuA/xUAdjX+wLxkSyxBNg7u5aU\nNRUYiBbHAGrAppnXArs1+Iot/7BO/r3b0A1hGMD+bHS3pVHoX8vPjjO/6xfk\n0swG\r\n=FYdB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6ElOBh1asp5BRQQdxY25YTWWXbadoH58FgQLAVerlhAiEAnHUe1IXxXSHk4XyfVlLj50VQX6RHkE+5aGmjekIfLIo="}]},"maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"_npmUser":{"name":"derhuerst","email":"mail@jannisr.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vbb-hafas_7.0.3_1600366084784_0.5735152459692796"},"_hasShrinkwrap":false},"7.0.4":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"7.0.4","main":"index.js","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/vbb-hafas/tree/7","repository":{"type":"git","url":"git+https://github.com/public-transport/vbb-hafas.git"},"bugs":{"url":"https://github.com/public-transport/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","transit","hafas","hafas-client"],"engines":{"node":">=10"},"dependencies":{"hafas-client":"^5.0.0","merged-vbb-stations":"^2.0.0","vbb-change-positions":"^1.2.0","vbb-line-colors":"^1.0.2"},"scripts":{"smoke-test":"env NODE_ENV=dev node example.js >/dev/null","test":"node test/add-transfer-info.js","prepublishOnly":"npm test && npm run smoke-test"},"gitHead":"3ea4c95e78038b464f3bd130f9bdbed4cff16a93","_id":"vbb-hafas@7.0.4","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-2rzk/GBdRfcGl3Q4BUqgUSkGdXGTXcce1SPz+YFbDnti2jrZVbtmLMABWxV6EwAWyfaFxQW9EjLXDySM3wsKBA==","shasum":"4a4a7ba6ea0732780fdd506a4466d9ac1f8a6c4e","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-7.0.4.tgz","fileCount":9,"unpackedSize":14987,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqTlxacXoy3r5ucNJEhOhsYLWsw2TZFKD1pjOuzu71WAiAWrkAYVriul7LV98a92DWqf6hnwZj1S29ggzXOU1k1vQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgRkHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrU3A//VXbvCpBaAHNhDMzv1MMD2PeLraugtj9r2B/ptRCfOhfYlyP4\r\nltVoDigGdDpX3ljZNPHXwWpfPeRWWFDqTkiN7hrZwNLNSDe/D8LC8Lhab5NS\r\n3g7IkAgT5FjD8tmugvlhVxBf76I+Px37teY7Z3qOb4CQcPbipy+e+Ua+kASn\r\nujkxcJ4cyiHKIKkG3oWisb198teVhmkv95efSOwVadVd/ugeL1R5EA+PB4Qk\r\n/sGP0SYvN5wIDH2Ep3fkaDkTpZlpjySSm5KBNjVKsuVbIEOpMEblgcqTtBc+\r\noc49lQ17iF5WPIQ6Tic68BepoPZUdKPDpZwNz3vwNAs/yt2LZtsnUn49VBFu\r\nXybuX4nZATqvAP+hff9ZSOHJNCFLCtxop6BLaZhiHn/DqWAWZwQ80zWybMM6\r\n0FYqiZlOAPEOokdCP/5xNDzV93tbZk5ZtempjGtBdUlcUXnlPJ1Yg4nooi1D\r\n63x4dp67vbyjxINSLF9ND5b6b+rNasB9meFn52mt3qx9t1QQBWfkvdYko/mH\r\ngopvqTIgtdrYKpqvM1DHFtOSuLDzcsw3tVlC/xrGsrm/thXl0L3Opwa8SJuF\r\n2LOlkkIUlkZUUY3/6JNqx/uEuIoF29wA8LT3JH8gTBp+AiEDbDl5oRvk1npU\r\nD/Vd/Iy+rQqstB2z/31MxLbk81sZziYWuKg=\r\n=fB7x\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/vbb-hafas_7.0.4_1669404935117_0.38960421206138984"},"_hasShrinkwrap":false},"8.0.0":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"8.0.0","main":"index.js","type":"module","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/vbb-hafas/tree/8","repository":{"type":"git","url":"git+https://github.com/public-transport/vbb-hafas.git"},"bugs":{"url":"https://github.com/public-transport/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","transit","hafas","hafas-client"],"engines":{"node":">=18"},"dependencies":{"hafas-client":"^6.0.0","merged-vbb-stations":"^2.0.0","vbb-change-positions":"github:derhuerst/vbb-change-positions#2.0.0-alpha.1","vbb-line-colors":"^1.0.2"},"devDependencies":{"eslint":"^8.28.0","vbb-stations":"^8.3.1"},"scripts":{"lint":"eslint .","smoke-test":"env NODE_ENV=dev node example.js >/dev/null","test":"node test/add-transfer-info.js","prepublishOnly":"npm run lint && npm test && npm run smoke-test"},"gitHead":"c4f36e7ee3d7b898f6679ac6d2e455cf2a711cec","_id":"vbb-hafas@8.0.0","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-pS73pm9s7wM8FFDgqtYo8HOyJbCq8+8eY7bvSrXGXWEeHX4wQXQuzlGwIM6hJjMio03bdGxBs+W8tAXywxEy2g==","shasum":"4970298661db2b449c12f46eb58b84f13ca15ce9","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-8.0.0.tgz","fileCount":9,"unpackedSize":15233,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTlS42pOySM+kGGUUhK3Z2NYLEtpi6xKdPLjUsM7TO3QIgNkQ1uyBNBBZQqWrc/FudA823SPfe+onB++BB/9nKXmM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjli0MACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZMA//Xdwq3sWnov45SHqo7K0SK+WidEwfHDq6AlM6J9q48r5bYTOe\r\nwIq+mF3DdcfyiUFJDDlylRM05SF0TdtF0ewSLl+GYNsu3h5M25Xurr/9jskW\r\nSz2Fn9jO6OdBCAhnOyX1DHRmBxVPH+qsWpOTwo9zxPihcO/evSqGV1K9L+X3\r\npRoQiFeYDd/BFiLu8GyW2Klxwgju210MP4MIeVsxBBol9r8FfEryIY+/KDbg\r\n+/hUqExN0uDbcKtaDAj8ei3w7kN16REbZCeubCi/zfdW2AbwtC9C6NAvCQMH\r\nbJhALF63QyAZFU04JhV8se/XouXwfh7G4ndtdKIp+xzCdl346RqASXy3zu5P\r\n0TsV95Bo+Fx7qzM8NNVsxcejpJ/y33uHrh27hEpeKmrJdQ0P1OtVelVhCtRA\r\nKS/9tZ5Uj/anqNDKuAMVPzaC6K3V8D2CCeuXXKx5/ZkEfwFqP4YPOTjsgUDr\r\nsl9I9eItfZTPW3fMrQ9VaXEO93ZZyvTPYrrxbx2DPCWravCOf2jsWshPRtg8\r\nRpjONAtiHUFhszqe7A7MuySn8RKaA02aQVD0y4CFsV5FWI8fEP6QizxYHbRu\r\njDTptEV8eLKAwvRsmBJ1SWVQoJsD8HJGNR39AKuyZNy54csCWJ5K0+/scajl\r\n+dg6sdsl7KnHaRhDW8P8xCnpivzoPhwqRxU=\r\n=3ggw\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/vbb-hafas_8.0.0_1670786316303_0.30239434742789606"},"_hasShrinkwrap":false},"8.0.1":{"name":"vbb-hafas","description":"JavaScript client for the VBB HAFAS API.","version":"8.0.1","main":"index.js","type":"module","author":{"name":"Jannis R","email":"mail@jannisr.de"},"homepage":"https://github.com/public-transport/vbb-hafas/tree/8","repository":{"type":"git","url":"git+https://github.com/public-transport/vbb-hafas.git"},"bugs":{"url":"https://github.com/public-transport/vbb-hafas/issues"},"license":"ISC","keywords":["vbb","bvg","berlin","brandenburg","public transport","transit","hafas","hafas-client"],"engines":{"node":">=18"},"dependencies":{"hafas-client":"^6.0.0","merged-vbb-stations":"^2.0.0","vbb-change-positions":"github:derhuerst/vbb-change-positions#2.0.0-alpha.1","vbb-line-colors":"^1.0.2"},"devDependencies":{"eslint":"^8.28.0","vbb-stations":"^8.3.1"},"scripts":{"lint":"eslint .","smoke-test":"env NODE_ENV=dev node example.js >/dev/null","test":"node test/add-transfer-info.js","prepublishOnly":"npm run lint && npm test && npm run smoke-test"},"gitHead":"3702a7e47c49a29aa73c177c90a7ff31cac4f60e","_id":"vbb-hafas@8.0.1","_nodeVersion":"19.1.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-hBAz5u6m122bKRo91d1SG7ZkvKvjgEwSHC0W6OUL1z/shCJO7Jho7VGvBfjbsPsn8FMDYLWu2UYY8Tt9peo2AA==","shasum":"bad50812817b2444ceb4764bc6f852fdd8beb7d4","tarball":"https://registry.npmjs.org/vbb-hafas/-/vbb-hafas-8.0.1.tgz","fileCount":9,"unpackedSize":15233,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICawpRu0+dzjVbVJd6JuztlSKbVUHUXrk6e1GYc7QM9SAiB/6gwEmdqkKbD17/ryzuwH/6iFyFkm099bgyQuH8AVtg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm0ooACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqyWg/8CHqnPnAS0kZNt8YtslF7HMJ1MiaJsFtXcu/NYjYaBDz9Un7j\r\n0h4W9qH8KhbJ0ZkQMXLwk3ShW4e409H2PplySYQDDtusOaOCtBHdJaJazbJx\r\nqps287utblF7/JSTkc4/sDnjXzcdExMU60jSiYweOIAdZG8//dY3cOl6qvcd\r\n/9UnnH5rgXmVNM4DsovhXprfOTmv8xQu77ek7cX6chjZdvlMoDc9wC2OVFnq\r\nkbs7kbTtgPr55Xpk7ZULbv54dPiRWROoTwelbxa7QH6oAeBUFQiX8FHHWtNm\r\nTVQ1RfD6V/gTD9Saf+K334W1I2H3oL9CmUCIWUD9PgzyQXPY7hL80FzMV+4j\r\nLASed0lyLfAvTUK8UkruyWmqODA86rW59xM9haYC8NSaxY7VYSz1itmTb1+4\r\nWAql52eFLJZPk5px4QQybxBfYwnHCjR0wiB1DLG2uNYw7NvqGcFl5Qo6fo5R\r\nGN/KflYciAOJ2DnafW+sfdbzeB0Dm86/+TdxkYovnt7L+HEL2fDQCrCRrmRn\r\nryY1mg4B/gZAMEdY9EmD5RQD892rXhdQWEtX5wC6Es6Avv75xxO7UHVDSmAM\r\n9MiKhqEyua2C4GFHA3eSK/3Bu2ytk6+O/m5N9sU2IOWhu+dFyDfzzvf0QGU3\r\nDNCW0vSr1I4dqO03Ss/WYUK5SgHmyyaMuHw=\r\n=9cqp\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/vbb-hafas_8.0.1_1671121448439_0.6521334100695548"},"_hasShrinkwrap":false}},"readme":"# vbb-hafas\n\n**A client for the Berlin & Brandenburg public transport service (VBB).** It acts as a consistent and straightforward interface on top of a verbose API.\n\nThis project is actually a thin wrapper around [`hafas-client@6`](https://github.com/public-transport/hafas-client/tree/6#hafas-client). [Its docs](https://github.com/public-transport/hafas-client/tree/6/docs) document the API in general.\n\n*Note*: You may not want to query the VBB API by yourself. [`vbb-client`](https://github.com/derhuerst/vbb-client) is an API-compatible client for [`vbb-rest`](https://github.com/derhuerst/vbb-rest), my wrapper API. It also works in the browser.\n\n[![npm version](https://img.shields.io/npm/v/vbb-hafas.svg)](https://www.npmjs.com/package/vbb-hafas)\n[![build status](https://api.travis-ci.org/public-transport/vbb-hafas.svg?branch=master)](https://travis-ci.org/public-transport/vbb-hafas)\n![ISC-licensed](https://img.shields.io/github/license/public-transport/vbb-hafas.svg)\n![minimum Node.js version](https://img.shields.io/node/v/vbb-hafas.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 vbb-hafas\n```\n\n\n## API\n\nCheck [the docs for `hafas-client`](https://github.com/public-transport/hafas-client/tree/6/docs) as well as [its VBB-specific customisations](https://github.com/public-transport/hafas-client/blob/6/p/vbb/readme.md).\n\n\n## Usage\n\n```javascript\nconst createHafas = require('vbb-hafas')\n\nconst hafas = createHafas('my-awesome-program')\n```\n\nAs an example, we will search for a journey [from *Berlin Hauptbahnhof* to *Berlin Charlottenburg*](https://www.google.de/maps/dir/Berlin+Hauptbahnhof,+Europaplatz,+Berlin/S+Berlin-Charlottenburg/@52.5212391,13.3287227,13z). To get the station IDs, [use `vbb-stations`](https://github.com/derhuerst/vbb-stations#usage).\n\n```javascript\nhafas.journeys('900000003201', '900000024101', {results: 1})\n.then((journeys) => console.log(journeys[0]))\n.catch(console.error)\n```\n\nThe output will be an array of [`journey` objects in the *Friendly Public Transport Format* `1.2.1` format](https://github.com/public-transport/friendly-public-transport-format/tree/1.2.1/spec#journey):\n\n```javascript\n[ {\n\tlegs: [ {\n\t\ttripId: '1|50420|0|86|25122017',\n\t\tdirection: 'Brandenburg, Hbf',\n\t\tline: {\n\t\t\ttype: 'line',\n\t\t\tid: '10',\n\t\t\tname: 'RE1',\n\t\t\tpublic: true,\n\t\t\tmode: 'train',\n\t\t\tproduct: 'regional',\n\t\t\tsymbol: 'RE',\n\t\t\tnr: 1,\n\t\t\tmetro: false,\n\t\t\texpress: true,\n\t\t\tnight: false,\n\t\t\tclass: 64,\n\t\t\tproductCode: 6,\n\t\t\toperator: {\n\t\t\t\ttype: 'operator',\n\t\t\t\tid: 'db-regio-ag',\n\t\t\t\tname: 'DB Regio AG'\n\t\t\t}\n\t\t},\n\n\t\torigin: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000003201',\n\t\t\tname: 'S+U Berlin Hauptbahnhof',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.52585,\n\t\t\t\tlongitude: 13.368928\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: true,\n\t\t\t\ttram: true,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: true,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tplannedDeparture: '2017-12-26T00:41:00.000+01:00',\n\t\tdepartureDelay: 0,\n\t\tdeparturePlatform: '14',\n\t\tplannedDeparturePlatform: '13',\n\n\t\tdestination: {\n\t\t\ttype: 'station',\n\t\t\tid: '900000024101',\n\t\t\tname: 'S Charlottenburg',\n\t\t\tlocation: {\n\t\t\t\ttype: 'location',\n\t\t\t\tlatitude: 52.504806,\n\t\t\t\tlongitude: 13.303846\n\t\t\t},\n\t\t\tproducts: {\n\t\t\t\tsuburban: true,\n\t\t\t\tsubway: false,\n\t\t\t\ttram: false,\n\t\t\t\tbus: true,\n\t\t\t\tferry: false,\n\t\t\t\texpress: false,\n\t\t\t\tregional: true\n\t\t\t}\n\t\t},\n\t\tarrival: '2017-12-26T00:50:00.000+01:00',\n\t\tplannedArrival: '2017-12-26T00:50:00.000+01:00',\n\t\tarrivalDelay: null,\n\t\tarrivalPlatform: '4',\n\t\tplannedArrivalPlatform: '4'\n\t} ],\n\n\t// all these are from the first leg\n\torigin: {\n\t\ttype: 'station',\n\t\tid: '900000003201',\n\t\tname: 'S+U Berlin Hauptbahnhof'\n\t\t// …\n\t},\n\tdeparture: '2017-12-26T00:41:00.000+01:00',\n\tplannedDeparture: '2017-12-26T00:41:00.000+01:00',\n\tdepartureDelay: 0,\n\tdeparturePlatform: '14',\n\tplannedDeparturePlatform: '13',\n\n\t// all these are from the last leg\n\tdestination: {\n\t\ttype: 'station',\n\t\tid: '900000024101',\n\t\tname: 'S Charlottenburg'\n\t\t// …\n\t},\n\tarrival: '2017-12-26T00:50:00.000+01:00',\n\tplannedArrival: '2017-12-26T00:50:00.000+01:00',\n\tarrivalDelay: null,\n\tarrivalPlatform: '4',\n\tplannedArrivalPlatform: '4'\n\n\t// …\n} ]\n```\n\n\n### Transfer information for journeys\n\n`vbb-hafas` will try to add transfer information from [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) if you pass `transferInfo: true` as an option.\n\nIf it identifies a known transfer, the previous leg will have a `bestArrivalPosition` and the next leg will have a `departurePosition`, indicating the optimal transfer between both platforms. Check out the markup in [`vbb-change-positions`](https://github.com/juliuste/vbb-change-positions) for more details.\n\n\n## Related\n\nCheck [`hafas-client`'s related projects](https://github.com/public-transport/hafas-client/blob/6/readme.md#related-projects).\n\n\n## Contributing\n\nIf you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/public-transport/vbb-hafas/issues).\n","maintainers":[{"name":"derhuerst","email":"mail@jannisr.de"}],"time":{"modified":"2022-12-15T16:24:08.810Z","created":"2015-08-27T13:37:49.559Z","0.4.0":"2015-08-27T13:37:49.559Z","0.5.0":"2015-09-02T15:35:43.094Z","0.6.0":"2016-01-16T12:58:15.421Z","0.7.0":"2016-03-29T13:49:50.834Z","0.7.1":"2016-04-11T20:25:31.711Z","0.7.2":"2016-04-24T23:21:03.676Z","0.8.0":"2016-05-03T19:32:56.070Z","0.8.1":"2016-05-03T19:39:12.101Z","0.8.2":"2016-05-23T14:25:46.769Z","0.9.0":"2016-05-24T20:03:34.148Z","0.10.0":"2016-05-28T01:12:14.869Z","0.10.1":"2016-05-28T11:50:01.210Z","0.10.2":"2016-05-28T23:50:25.912Z","0.11.0":"2016-06-01T15:59:55.452Z","0.12.0":"2016-06-06T19:25:08.628Z","0.12.1":"2016-06-07T22:48:33.797Z","0.13.0":"2016-06-10T13:35:36.445Z","0.14.0":"2016-06-11T20:01:11.705Z","0.15.0":"2016-07-20T20:40:30.746Z","0.16.0":"2016-07-28T18:21:07.227Z","0.17.0":"2016-08-13T22:40:21.971Z","1.0.0":"2016-12-13T23:32:20.087Z","2.0.0":"2017-05-18T11:28:10.193Z","2.0.1":"2017-05-26T12:48:41.750Z","2.1.0":"2017-06-20T17:09:52.546Z","2.1.1":"2017-07-13T15:35:22.071Z","2.2.0":"2017-08-17T16:39:24.902Z","2.2.1":"2017-09-20T17:09:21.788Z","3.0.0":"2017-10-04T00:20:53.215Z","3.0.1":"2017-12-06T00:37:46.769Z","3.0.2-alpha.1":"2017-12-06T00:59:11.825Z","3.1.0":"2017-12-06T17:44:48.501Z","3.2.0-alpha.1":"2017-12-06T17:54:17.150Z","3.2.0-alpha.2":"2017-12-06T18:22:05.252Z","3.2.0-alpha.3":"2017-12-06T18:26:46.048Z","3.2.0-alpha.4":"2017-12-18T19:28:36.012Z","4.0.0-alpha.1":"2017-12-25T23:19:03.496Z","4.0.0-alpha.2":"2017-12-25T23:54:34.928Z","4.0.0-alpha.3":"2017-12-28T17:48:17.417Z","4.0.0":"2018-01-05T21:39:41.036Z","3.1.1":"2018-01-19T16:24:15.696Z","4.0.1":"2018-01-19T18:33:23.404Z","4.1.0":"2018-01-23T15:09:21.732Z","4.1.1":"2018-02-15T17:06:08.954Z","3.1.2":"2018-02-15T18:06:03.308Z","5.0.0-alpha.1":"2018-03-29T00:59:15.011Z","5.0.0-alpha.2":"2018-04-23T14:27:16.432Z","4.2.0":"2018-04-26T21:03:10.218Z","4.2.1":"2018-05-08T11:54:05.341Z","5.0.0-alpha.3":"2018-05-16T20:37:16.844Z","5.0.0-alpha.4":"2018-06-16T14:21:35.878Z","5.0.0-alpha.5":"2018-06-30T13:24:54.209Z","5.0.0-alpha.6":"2018-07-26T11:41:24.313Z","5.0.0":"2018-08-17T20:47:52.816Z","5.0.1":"2018-08-17T21:23:55.635Z","5.1.0":"2019-02-08T13:27:37.812Z","6.0.0-alpha.1":"2019-03-22T20:31:07.488Z","6.0.0":"2019-04-07T13:41:54.416Z","6.1.0":"2019-09-28T19:41:01.452Z","4.2.2":"2019-10-28T17:11:29.498Z","5.1.1":"2019-10-28T17:15:08.161Z","3.1.3":"2019-10-28T17:18:03.094Z","6.2.0":"2019-11-10T15:56:37.853Z","7.0.0":"2020-01-13T16:34:19.788Z","6.2.1":"2020-01-13T16:48:49.103Z","7.0.1":"2020-01-15T02:08:49.586Z","7.0.2":"2020-04-13T16:13:46.765Z","7.0.3":"2020-09-17T18:08:04.879Z","7.0.4":"2022-11-25T19:35:35.304Z","8.0.0":"2022-12-11T19:18:36.499Z","8.0.1":"2022-12-15T16:24:08.580Z"},"homepage":"https://github.com/public-transport/vbb-hafas/tree/8","keywords":["vbb","bvg","berlin","brandenburg","public transport","transit","hafas","hafas-client"],"repository":{"type":"git","url":"git+https://github.com/public-transport/vbb-hafas.git"},"author":{"name":"Jannis R","email":"mail@jannisr.de"},"bugs":{"url":"https://github.com/public-transport/vbb-hafas/issues"},"license":"ISC","readmeFilename":"README.md"}