Newly Purchased Memories

    tap-line-parsers

    1.0.2 • Public • Published

    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.

    version(line)

    plan(line)

    test(line)

    bailout(line)

    diagnostic(line)

    Install

    npm i tap-line-parsers

    DownloadsWeekly Downloads

    5

    Version

    1.0.2

    License

    CC0-1.0

    Last publish

    Collaborators

    • m59