Transform to cut string and binary streams import * as ez from 'ez-streams' transform = ez.transforms.cut(options) cuts a string or binary stream in chunks of equal size