Streaming recursive directory reading
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example init May 25, 2012
test fix failing test May 25, 2012
.gitignore init May 25, 2012
.travis.yml init May 25, 2012
Makefile init May 25, 2012
index.js fix global May 25, 2012
package.json init May 25, 2012
readme.md init May 25, 2012

readme.md

###Unravel - Streaming recursive directory reading.
Install: npm install unravel


###unravel.dir(directory):
Pass the folder to recursively read. Events file, end and error will be emitted.

var unravel = require('unravel')

unravel.dir(__dirname)

unravel.on('file', function(file){
  console.log(file)
})

unravel.on('end', function(){
  console.log('end')
})

unravel.on('error', function(err){
  console.log(err)
})

###Examples: View the examples


###Tests

npm test

Build Status