import * as ez from 'ez-streams'
reader = ez.devices.node.reader(stream, options)
wraps a node.js stream as an EZ reader.
For a full description of the options, seeReadableStream
in https://github.com/Sage/ez-streams/blob/master/lib/node-wrappers.mdwriter = ez.devices.node.writer(stream, options)
wraps a node.js stream as an EZ writer.
For a full description of the options, seeWritableStream
in https://github.com/Sage/ez-streams/blob/master/lib/node-wrappers.md