Nifty Purring Manticore

    stream2file

    2.0.0 • Public • Published

    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);
    }
    

    Keywords

    Install

    npm i stream2file

    DownloadsWeekly Downloads

    3

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    4.61 kB

    Total Files

    4

    Last publish

    Collaborators

    • sundeepnarang