Skip to content

sundeepnarang/stream2file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stream2file

usage

const stream2file = require("stream2file");

stream2file(fileStream, filePath, (err) => {
    if (err) {
        console.log("Error Saving Stream to File : ", err);
    }
});

async usage

const {asynstream2file} = require("stream2file");

try{
    await asyncStream2File(fileStream, filePath);
} catch(e) {
    console.log("Error Saving Stream to File : ", err);
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published