{"id":15592202,"url":"https://github.com/derhuerst/vbb-stations-connected-to","last_synced_at":"2025-10-24T03:35:56.663Z","repository":{"id":57391011,"uuid":"94946887","full_name":"derhuerst/vbb-stations-connected-to","owner":"derhuerst","description":"Get all stations connected to a station.","archived":false,"fork":false,"pushed_at":"2022-11-28T12:55:43.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T17:55:42.850Z","etag":null,"topics":["berlin","graph","public-transport","transit","vbb"],"latest_commit_sha":null,"homepage":"https://github.com/derhuerst/vbb-stations-connected-to","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-21T00:36:04.000Z","updated_at":"2022-11-28T12:50:55.000Z","dependencies_parsed_at":"2023-01-22T01:54:03.581Z","dependency_job_id":null,"html_url":"https://github.com/derhuerst/vbb-stations-connected-to","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/derhuerst/vbb-stations-connected-to","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-stations-connected-to","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-stations-connected-to/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-stations-connected-to/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-stations-connected-to/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/vbb-stations-connected-to/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fvbb-stations-connected-to/sbom","scorecard":{"id":335651,"data":{"date":"2025-08-11","repo":{"name":"github.com/derhuerst/vbb-stations-connected-to","commit":"1fe40204609d5f585632571b4379d75c1365a5a6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/derhuerst/vbb-stations-connected-to/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/derhuerst/vbb-stations-connected-to/test.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:26","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.md:0","Info: FSF or OSI recognized license: ISC License: license.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T04:39:30.355Z","repository_id":57391011,"created_at":"2025-08-18T04:39:30.355Z","updated_at":"2025-08-18T04:39:30.355Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276078006,"owners_count":25581314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["berlin","graph","public-transport","transit","vbb"],"created_at":"2024-10-02T23:58:23.251Z","updated_at":"2025-09-20T10:03:46.519Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":["https://github.com/sponsors/derhuerst"],"categories":[],"sub_categories":[],"readme":"# vbb-stations-connected-to\n\n**Get all stations connected to a station.**\n\n[![npm version](https://img.shields.io/npm/v/vbb-stations-connected-to.svg)](https://www.npmjs.com/package/vbb-stations-connected-to)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-stations-connected-to.svg)\n[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install vbb-stations-connected-to\n```\n\n\n## Usage\n\n```js\nconst connectedTo = require('vbb-stations-connected-to')\n\nconsole.log(connectedTo['900000100001']) // S+U Friedrichstr.\n```\n\n```js\n[\n\t'900000100025',\n\t'900000100007',\n\t'900000100002',\n\t'900000003201',\n\t'900000100003',\n\t'900000100719',\n\t'900000100540',\n\t'900000100513',\n\t'900000100047',\n\t'900000100019',\n\t'900000100027'\n]\n```\n\nGet station IDs from [vbb-stations](https://github.com/derhuerst/vbb-stations).\n\nThere's also detailed but heavy `full.json`:\n\n```js\nconst connectedTo = require('vbb-stations-connected-to/full.json')\n\nconsole.log(connectedTo['900000100001']) // S+U Friedrichstr.\n```\n\n```js\n{\n\t'900000100025': [\n\t\t'10141_109', // these are line ids\n\t\t'10142_109',\n\t\t'10143_109',\n\t\t'10144_109',\n\t\t'10145_109',\n\t\t'11346_109'\n\t],\n\t'900000100007': [\n\t\t'10141_109',\n\t\t'10142_109',\n\t\t'10143_109',\n\t\t'10144_109',\n\t\t'10145_109',\n\t\t'11346_109'\n\t],\n\t'900000100002': [\n\t\t'10148_109',\n\t\t'10149_109',\n\t\t'10157_109',\n\t\t'10158_109',\n\t\t'10162_109',\n\t\t'10163_109',\n\t\t'10165_109',\n\t\t'10166_109',\n\t\t'16034_109'\n\t],\n\t'900000003201': [\n\t\t'10148_109',\n\t\t'10149_109',\n\t\t'10157_109',\n\t\t'10158_109',\n\t\t'10162_109',\n\t\t'10163_109',\n\t\t'10165_109',\n\t\t'10166_109',\n\t\t'16034_109',\n\t\t'10845_100',\n\t\t'10847_100',\n\t\t'10865_100',\n\t\t'10878_100',\n\t\t'10941_100',\n\t\t'12048_100',\n\t\t'17605_700',\n\t\t'16869_100'\n\t],\n\t'900000100003': [\n\t\t'10865_100',\n\t\t'10878_100',\n\t\t'10885_100',\n\t\t'10890_100',\n\t\t'12048_100',\n\t\t'12051_100',\n\t\t'17605_700',\n\t\t'16869_100'\n\t],\n\t'900000100719': ['17301_900', '17438_900', '17470_700'],\n\t'900000100540': ['17301_900', '17438_900'],\n\t'900000100513': ['17318_700', '17470_700'],\n\t'900000100047': ['17318_700'],\n\t'900000100019': ['17521_400'],\n\t'900000100027': ['17521_400']\n}\n```\n\n\n## Contributing\n\nIf you have a question or have difficulties using `vbb-stations-connected-to`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/vbb-stations-connected-to/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fvbb-stations-connected-to","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fvbb-stations-connected-to","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fvbb-stations-connected-to/lists"}