Skip to content

Latest commit

 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

GitHub Actions status | linter GitHub Actions status | publish GitHub Actions status | test

Parse stream of multipart into sub streams per part

Install

npm install --save git+https://git@github.com/anzerr/form.pipe.git

Example

const fs = require('fs'),
	path = require('path'),
	FormPipe = require('form.pipe');

fs.createReadStream('./test/out.dump').pipe(new FormPipe()).on('data', (file) => {
	file.stream.pipe(fs.createWriteStream(path.join(__dirname, file.filename))).on('close', () => {
		console.log(file.name, 'done');
	});
});

About

Parse stream of multipart into sub streams per part

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages