Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).