promisified-pipe
npm i promisified-pipe
API
Example
Usage example in an Express.js request handler (middleware). This code will send the file from disk back to the browser.
const fs = ;const promisifiedPipe = ; { ;}
npm i promisified-pipe
Usage example in an Express.js request handler (middleware). This code will send the file from disk back to the browser.
const fs = ;const promisifiedPipe = ; { ;}
npm i promisified-pipe
322
1.0.0
MIT
10.7 kB
9