as @jesusabdullah said on twitter the fs module should be outside the scope of this one
fs.createReadStream('./file.shp').pipe(require('shp')())
or
req.pipe(require('shp')())
or any readable stream (there are lots of use cases) should be possible to use
as @jesusabdullah said on twitter the
fsmodule should be outside the scope of this oneor
or any readable stream (there are lots of use cases) should be possible to use