Novelty Polygonal Mathematics
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    fs-readdir-recursivepublic

    fs.readdirSyncRecursive

    NPM version Build status Test coverage Dependency Status License Downloads Gittip

    Read a directory recursively.

    Install

    npm install fs-readdir-recursive

    Example

    var read = require('fs-readdir-recursive')
    read(__dirname) === [
      'test/test.js',
      'index.js',
      'LICENSE',
      'package.json',
      'README.md'
    ]

    API

    read(root [, filter])

    root is the directory you wish to scan. filter is an optional filter for the files with three params(name, index, dir). By default, filter is:

    function (name) {
      return name[0] !== '.'
    }

    Which basically just ignores . files.

    Keywords

    none

    install

    npm i fs-readdir-recursive

    Downloadslast 7 days

    1,027,626

    version

    1.1.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar