UNPKG

bcbp-parser

Version:
40 lines (23 loc) 1.08 kB
[![Build Status](https://travis-ci.org/cluny85/bcbp-parser.svg?branch=master)](https://travis-ci.org/cluny85/bcbp-parser) [![Coverage Status](https://coveralls.io/repos/github/cluny85/bcbp-parser/badge.svg?branch=master)](https://coveralls.io/github/cluny85/bcbp-parser?branch=master) # bcbp-parser BCBP boarding pass code parser. ## Get Started ### Install ``` npm install bcbp-parser --save ``` ## Usage To use this lib, you have to import: ```javascript const { parseBCBP } = require('bcbp-parser'); ``` Check the test folder for use examples. ## TODO - Add implementation for security params ## IATA Link to the BCBP standard: [BCBP-Implementation-Guide](https://www.iata.org/whatwedo/stb/Documents/BCBP-Implementation-Guide-5th-Edition-June-2016.pdf) ## Contributing Please read [CONTRIBUTING.md](https://github.com/cluny85/bcbp-parser/blob/master/CONTRIBUTING.md) for details on code of conduct, and the process for submitting pull requests. ## License This project is licensed under the Apache License Version 2.0 - see the [LICENSE](LICENSE) file for details.