# vbb-short-station-name

> Remove noise from VBB station names.

Latest version **1.0.1** (published 2018-05-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install vbb-short-station-name
pnpm add vbb-short-station-name
yarn add vbb-short-station-name
bun add vbb-short-station-name
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-05-03 |
| First published | 2016-05-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jannis R |
| Maintainers | derhuerst |
| Keywords | vbb, stations, short, shorten |

## Links

- npm: https://www.npmjs.com/package/vbb-short-station-name
- Repository: https://github.com/derhuerst/vbb-short-station-name
- Issues: https://github.com/derhuerst/vbb-short-station-name/issues
- npm.io page: https://npm.io/package/vbb-short-station-name

## Recent versions

- 1.0.1 (latest) — 2018-05-03
- 1.0.0 — 2018-05-03
- 0.4.0 — 2017-10-27
- 0.3.0 — 2017-08-09
- 0.2.1 — 2017-07-07
- 0.2.0 — 2016-12-10
- 0.1.0 — 2016-05-15

## README

# vbb-short-station-name

**Removes stuff like " (Berlin)" from station names.** Shortens "strasse" to "str.".

- `S+U Foobar Bhf` -> `S+U Foobar`
- `S+U Foo Bar (Berlin)` -> `S+U Foo Bar`
- `S Foo-Straße` -> `S Foo-Str.`
- `S Foostrasse` -> `S Foostr.`

[![npm version](https://img.shields.io/npm/v/vbb-short-station-name.svg)](https://www.npmjs.com/package/vbb-short-station-name)
[![build status](https://img.shields.io/travis/derhuerst/vbb-short-station-name.svg)](https://travis-ci.org/derhuerst/vbb-short-station-name)
[![dependency status](https://img.shields.io/david/derhuerst/vbb-short-station-name.svg)](https://david-dm.org/derhuerst/vbb-short-station-name)
[![dev dependency status](https://img.shields.io/david/dev/derhuerst/vbb-short-station-name.svg)](https://david-dm.org/derhuerst/vbb-short-station-name#info=devDependencies)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-short-station-name.svg)
[![gitter channel](https://badges.gitter.im/derhuerst/vbb-rest.svg)](https://gitter.im/derhuerst/vbb-rest)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)


## Installing

```shell
npm install vbb-short-station-name
```


## Usage

```js
const shorten = require('vbb-short-station-name')
shorten('S Südkreuz Bhf (Berlin)') // -> 'S Südkreuz'
```


## Contributing

If 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-short-station-name/issues).

---
_Source: https://npm.io/package/vbb-short-station-name · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
