The library extend the EventEmitter and emit the following events:
Emitted by the parser on each line with the line content as an array of fields.
Emitted when no more data will be parsed.
Emitted when an error occured.
Parse a string which may hold multiple lines. Private state object is enriched on each character until transform is called on a new line.