# vbb-stations-cli

> Find and filter VBB stations from the command line.

Latest version **3.0.0** (published 2020-01-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install vbb-stations-cli
pnpm add vbb-stations-cli
yarn add vbb-stations-cli
bun add vbb-stations-cli
```

Provides the command `vbb-stations`.

## 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 | 3.0.0 |
| Published | 2020-01-11 |
| First published | 2016-03-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 12 |
| Unpacked size | 7.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Jannis R |
| Maintainers | derhuerst |
| Keywords | vbb, stations, filter, find, search, cli |

## Links

- npm: https://www.npmjs.com/package/vbb-stations-cli
- Repository: https://github.com/derhuerst/vbb-stations-cli
- Issues: https://github.com/derhuerst/vbb-stations-cli/issues
- npm.io page: https://npm.io/package/vbb-stations-cli

## Dependencies (12)

- [mri](https://npm.io/package/mri.md) ^1.1.4
- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [d3-dsv](https://npm.io/package/d3-dsv.md) ^1.0.3
- [pad-left](https://npm.io/package/pad-left.md) ^2.1
- [pad-right](https://npm.io/package/pad-right.md) ^0.2.2
- [lodash.pick](https://npm.io/package/lodash.pick.md) ^4.4
- [window-size](https://npm.io/package/window-size.md) ^1.1.0
- [cli-truncate](https://npm.io/package/cli-truncate.md) ^2.1.0
- [vbb-lines-at](https://npm.io/package/vbb-lines-at.md) ^4.1.0
- [vbb-stations](https://npm.io/package/vbb-stations.md) ^7.2.0
- [vbb-tokenize-station](https://npm.io/package/vbb-tokenize-station.md) ^0.3.0
- [vbb-short-station-name](https://npm.io/package/vbb-short-station-name.md) ^1.0.1

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2020-01-11
- 2.2.0 — 2019-02-13
- 2.1.1 — 2018-02-13
- 2.1.0 — 2017-04-15
- 2.0.0 — 2017-03-18
- 1.2.0 — 2017-01-25
- 1.1.0 — 2016-12-10
- 1.0.0 — 2016-08-11
- 0.8.0 — 2016-07-26
- 0.7.1 — 2016-07-11
- 0.7.0 — 2016-06-24
- 0.6.0 — 2016-05-24
- 0.5.0 — 2016-05-21
- 0.4.1 — 2016-05-10
- 0.4.0 — 2016-05-05
- … 4 more at https://npm.io/package/vbb-stations-cli/versions

## README

# *vbb-stations-cli*

**Find and filter VBB stations from the command line.** Computed from [open](http://daten.berlin.de/datensaetze/vbb-fahrplandaten-januar-2017-bis-dezember-2017) [GTFS](https://developers.google.com/transit/gtfs/) [data](https://vbb-gtfs.jannisr.de/).

[![asciicast](https://asciinema.org/a/82500.png)](https://asciinema.org/a/82500)

[![npm version](https://img.shields.io/npm/v/vbb-stations-cli.svg)](https://www.npmjs.com/package/vbb-stations-cli)
[![build status](https://img.shields.io/travis/derhuerst/vbb-stations-cli.svg)](https://travis-ci.org/derhuerst/vbb-stations-cli)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-stations-cli.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 -g vbb-stations-cli
```


## Usage

```
Usage:
    vbb-stations [options] [filters]

Options:
    --id        <value>             Filter by id.
    --name      <value>             Filter by name.
    --latitude  <value>             Filter by latitude.
    --longitude <value>             Filter by longitude.
    --weight    <value>             Filter by weight.
    --format    <value>             One of csv,ndjson,pretty,json. Default: pretty
    --columns   <value>,<value>,…   Default is id,coords,weight,name,lines.

Filters:
    Each filter must be an `Array.prototype.filter`-compatible funtion.

Examples:
    vbb-stations
    vbb-stations --name "berliner strasse"
    vbb-stations --id 9003104 --columns id,name,lines
    vbb-stations "(s) => s.latitude > 52" "(s) => s.latitude > 12"
```


## 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-stations-cli/issues).

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