# normalize-vbb-station-name-for-search

> Make VBB station names relevant and safe for searching.

Latest version **1.0.1** (published 2021-10-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install normalize-vbb-station-name-for-search
pnpm add normalize-vbb-station-name-for-search
yarn add normalize-vbb-station-name-for-search
bun add normalize-vbb-station-name-for-search
```

## 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 | 2021-10-03 |
| First published | 2021-04-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12 |
| Dependencies | 2 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jannis R |
| Maintainers | derhuerst |
| Keywords | vbb, bvg, stations, search, url-safe, slug, trim |

## Links

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

## Dependencies (2)

- [normalize-for-search](https://npm.io/package/normalize-for-search.md) ^2.1.0
- [parse-vbb-station-name](https://npm.io/package/parse-vbb-station-name.md) ^2.0.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2021-10-03
- 1.0.0 — 2021-04-05

## README

# normalize-vbb-station-name-for-search

Station names in [VBB](https://en.wikipedia.org/wiki/Verkehrsverbund_Berlin-Brandenburg)/[BVG](https://en.wikipedia.org/wiki/Berliner_Verkehrsbetriebe) data are terribly inconsistent, cluttered with abbreviations, phrases to tell identically named places apart, and unhelpful suffixes like `, Bahnhof`.

This package keeps only those parts that are relevant for searching locally, and normalizes umlauts and special characters:

- `S Südkreuz Bhf (Berlin)` -> `s suedkreuz`
- `S Beusselstr` -> `sbahn beussel strasse`
- `S+U Warschauer Str.` -> `s u warschauer strasse`
- `Charité - Campus Benjamin Franklin (Berlin)` -> `charite campus benjamin franklin`

[![npm version](https://img.shields.io/npm/v/normalize-vbb-station-name-for-search.svg)](https://www.npmjs.com/package/normalize-vbb-station-name-for-search)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/normalize-vbb-station-name-for-search.svg)
![minimum Node.js version](https://img.shields.io/node/v/normalize-vbb-station-name-for-search.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)


## Installing

```shell
npm install normalize-vbb-station-name-for-search
```


## Usage

```js
const normalize = require('normalize-vbb-station-name-for-search')

normalize('S+U Warschauer Str.') // 's+u warschauer strasse'
```


## 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/normalize-vbb-station-name-for-search/issues).

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