New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

normalize-vbb-station-name-for-search

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

normalize-vbb-station-name-for-search

Make VBB station names relevant and safe for searching.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by20%
Maintainers
1
Weekly downloads
 
Created
Source

Station names in VBB/BVG 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 ISC-licensed minimum Node.js version support me via GitHub Sponsors chat with me on Twitter

Installing

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

Usage

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.

Keywords

FAQs

Package last updated on 03 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc