Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    read-bulkpublic

    node-read-bulk

    Just a little helper module to save some time.

    Installation

    npm install read-bulk
    

    Usage

    var bulk = require('read-bulk');
    
    bulk.readFiles(['file', 'names'], function(err, files) {
        
        // Loop over each file.
        files.each(function(contents) {
            console.log(contents);
        });
    
        // Return a specific file by filename
        files.get('file');
        files.get('names');
    });

    Keywords

    none

    install

    npm i read-bulk

    Downloadsweekly downloads

    2

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar