CUP waypoint and task file parser
npm install --save cup-parser
or using yarn
:
yarn add cup-parser
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.
cup-parser is licensed under the MIT License.