Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vbb-parse-ticket

derhuerst346ISC0.2.1

Parse ticket information from the VBB HAFAS API.

vbb, parse, ticket, hafas, api

readme

vbb-parse-ticket

Parse ticket information from the VBB HAFAS API.

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

will be parsed to

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

npm version build status dependency status dev dependency status ISC-licensed gitter channel

Installing

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.