recursive-files
asynchronous recursive readdir
Last updated 5 years ago by talles .
Fair · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install recursive-files 
SYNC missed versions from official npm registry.

recursive-files

Asynchronous recursive readdir. Note that the given callback it's called multiple times, one for each found file.

Usage

recursiveFiles(dir, [options], callback)
  • dir directory path;
  • options
    • hidden list hidden files (files starting with .), defaults to false
    • ext list only files with the provided extension
    • nonregular list non regular files such as devices or sockets, defaults to false
  • callback function (err, file)
    • err eventual error
    • file a relative path of the found file to the given directory path;

Current Tags

  • 1.0.2                                ...           latest (4 years ago)

3 Versions

  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 22
Dependencies (0)
None
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |