Organize code into modules for easier comprehension (had grown some spaghetti over the years)
Export hybrid module so it works with both non-node import and commonjs require()
Extend EventEmitter instead of Minipass, because it's a write-only stream that processes its input immediately, so doesn't need buffering etc.
Clarify in docs that TAP version 14 is also supported. (Technically any version >=13 would've already worked, but now that TAP 14 is the latest and greatest spec, may as well make that clear.)
import
and commonjsrequire()
EventEmitter
instead ofMinipass
, because it's a write-only stream that processes its input immediately, so doesn't need buffering etc.TAP version 14
is also supported. (Technically any version >=13 would've already worked, but now that TAP 14 is the latest and greatest spec, may as well make that clear.)