tap-line-parsers
v1.0.2
Published
Functions for each type of TAP line that parse lines into objects.
Downloads
15
Readme
tap-line-parsers
Functions for each type of TAP line that parse lines into objects.
Install
npm install tap-line-parsers
Usage
const parsers = require('tap-line-parsers')
const parsePlan = require('tap-line-parsers/plan')
parse.version('TAP version 13') // -> {version: '13'}
parsePlan('TAP version 13') // -> {version: '13'}
API
See tests for sample input/output.