# vbb-parse-ticket

> Parse ticket information from the VBB HAFAS API.

Latest version **0.2.1** (published 2017-12-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install vbb-parse-ticket
pnpm add vbb-parse-ticket
yarn add vbb-parse-ticket
bun add vbb-parse-ticket
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2017-12-10 |
| First published | 2016-05-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jannis R |
| Maintainers | derhuerst |
| Keywords | vbb, parse, ticket, hafas, api |

## Links

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

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.2.1 (latest) — 2017-12-10
- 0.2.0 — 2017-12-06
- 0.1.1 — 2016-05-24
- 0.1.0 — 2016-05-24

## README

# vbb-parse-ticket

**Parse ticket information from the VBB HAFAS API.**

```js
{
	  name:  'foo'
	, price: 321
	, shpCtx: '{"TLS": "B3TK"}'
}
```

will be parsed to

```js
{
	  name:      'foo'
	, price:     3.21
	, amount:    1
	, fullDay:   true
	, group:     true
	, tariff:    'Berlin'
	, coverage:  'ABC'
	, variant:   '1 day, group'
}
```

[![npm version](https://img.shields.io/npm/v/vbb-parse-ticket.svg)](https://www.npmjs.com/package/vbb-parse-ticket)
[![build status](https://img.shields.io/travis/derhuerst/vbb-parse-ticket.svg)](https://travis-ci.org/derhuerst/vbb-parse-ticket)
[![dependency status](https://img.shields.io/david/derhuerst/vbb-parse-ticket.svg)](https://david-dm.org/derhuerst/vbb-parse-ticket)
[![dev dependency status](https://img.shields.io/david/dev/derhuerst/vbb-parse-ticket.svg)](https://david-dm.org/derhuerst/vbb-parse-ticket#info=devDependencies)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-parse-ticket.svg)
[![gitter channel](https://badges.gitter.im/derhuerst/vbb-rest.svg)](https://gitter.im/derhuerst/vbb-rest)


## Installing

```shell
npm install vbb-parse-ticket
```


## 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-parse-ticket/issues).

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