Class: Parser

Parser


new Parser(opts, done)

The document parser

Parameters:
Name Type Argument Description
opts Object | function <optional>

The parser options

done function

The callback once parsing is complete

Source:

Methods


_transform(chunk, enc, fn)

Handles the transform stream

Parameters:
Name Type Description
chunk Buffer

The data buffer

enc string

The data encoding

fn function

The callback function

Source: