v4.0.0
- Fixes #6 by introducing the stream interface (
parse
,stringify
andresync
are now stream-based functions) - Add
parseSync
andstringifySync
as synchronous version ofparse
andstringify
- Add
map
andfilter
to manipulate the parse stream - Update the nodes tree so it can support more types than just a cue
- Refactor the internals by creating the Parser and Formatter classes
- Format types are now
"SRT"
and"WebVTT"
instead of"srt"
and"vtt"