Browse files

updated readme

  • Loading branch information...
1 parent 5ef41c9 commit 779bdf64b0d04ece8281538820963e632e318593 Jasper Palfree committed Oct 28, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.mkd
View
4 README.mkd
@@ -1,13 +1,15 @@
**read-files** extends `fs` by the static method `readFiles`.
-## `fs.readFiles(filenames[, encoding], callback)`
+## `fs.readFiles(filenames[, encoding, batchCount], callback)`
Asynchronously reads the entire contents of the files specified in `filenames`.
`filenames` is an array of filenames.
`encoding` is a string specifying the files' encodings. The default is "utf8".
+`batchCount` is a number specifying the number of files to process at a time before moving to the next batch (default 100).
+
`callback` is a callback function that is passed two arguments `(err, data)`
where `data` is an object of the form:

0 comments on commit 779bdf6

Please sign in to comment.