Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 899 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 899 Bytes

cup-parser

Build Status

CUP waypoint and task file parser

Install

npm install --save cup-parser

or using yarn:

yarn add cup-parser

Usage

const fs = require('fs');
const CUPParser = require('cup-parser');

let result = CUPParser.parse(fs.readFileSync('waypoints.cup', 'utf8'));

For more examples have a look at our test suite.

License

cup-parser is licensed under the MIT License.