Skip to content

derhuerst/vbb-parse-ticket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.