pvorb/node-read-files — pull request #1 by wellcaffeinated (2011-10-28 04:47:12+00:00)
Title: Fix for "Error: EMFILE, Too many open files 'js/shjs/lang/sh_python.js'"

If running original source on a large number of files, the following error may occur:
Error: EMFILE, Too many open files 'js/shjs/lang/sh_python.js'

This change fixes this problem by processing files one batch at a time. The size of each batch is defaulted to 100, but easily changeable by specifying the batchCount parameter.

This is backwards compatible with the original module.