0.0.2 • Published 12 years ago

unravel v0.0.2

Weekly downloads
12
License
-
Repository
github
Last release
12 years ago

###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

0.0.2

12 years ago

0.0.1

12 years ago