Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/vbb-line-colors
Colors of VBB lines.
https://github.com/derhuerst/vbb-line-colors
berlin bvg public-transport transit vbb
Last synced: 6 days ago
JSON representation
Colors of VBB lines.
- Host: GitHub
- URL: https://github.com/derhuerst/vbb-line-colors
- Owner: derhuerst
- License: isc
- Created: 2018-08-19T02:18:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-25T19:50:39.000Z (almost 2 years ago)
- Last Synced: 2024-10-03T23:54:57.401Z (about 1 month ago)
- Topics: berlin, bvg, public-transport, transit, vbb
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# vbb-line-colors
**Colors of VBB lines.**
[![npm version](https://img.shields.io/npm/v/vbb-line-colors.svg)](https://www.npmjs.com/package/vbb-line-colors)
[![build status](https://api.travis-ci.org/derhuerst/vbb-line-colors.svg?branch=master)](https://travis-ci.org/derhuerst/vbb-line-colors)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-line-colors.svg)
[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)## Installation
```shell
npm install vbb-line-colors
```## Usage
```js
const lineColors = require('vbb-line-colors')console.log(lineColors.subway.U6)
``````js
{fg: '#fff', bg: '#6f4e9c'}
```## Related
- [`vbb-line-colour-points`](https://github.com/juliuste/vbb-line-colour-points) – combines this package with OSM line colors.
## Contributing
If you have a question or need support using `vbb-line-colors`, 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-line-colors/issues).