Skip to content
Example project how to stream files while doing upload with NodeJS and Express
Branch: master
Clone or download
Latest commit c2701f0 Nov 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Initial commit Mar 31, 2018
.gitignore Initial commit Mar 31, 2018
README.md
main.js Initial commit Mar 31, 2018
package.json
yarn.lock Initial commit Mar 31, 2018

README.md

Example code how to handle large file upload in NodeJS

Aka how to stream the data directly to disk while they are beeing uploaded.

You can read more info https://pagep.net/2018/03/31/how-to-handle-large-file-upload-with-nodejs-express-server/

But the code should be pretty self-explanatory...

All the magic happens in the main.js

Run the code

  1. git clone https://github.com/petrvecera/node-file-upload.git
  2. cd node-file-upload
  3. yarn install
  4. yarn start

You can also use npm instead of yarn.

You can’t perform that action at this time.