0.2.1 • Published 6 years ago

vbb-parse-ticket v0.2.1

Weekly downloads
388
License
ISC
Repository
github
Last release
6 years ago

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.