Nonflavored Prescription Medicine
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    co-walkpublic

    co-walk

    walk a file tree and return a list of files

    Installation

    $ npm install co-walk
    

    Example

    var path = __dirname + '/app'
     
    var files = yield walk(path, {
      symlinks: true,
      ignore: ['art/**', 'node_modules']
    })
    // -> ['/home/user/app/.gitignore', ...]

    Api

    walk(path, opts)

    walk a file tree and return a list of files

    • path: full path to folder
    • opts:
      • symlinks: follow symlinks and return origin path [false]
      • ignore: a list which folders, files you want to ignore

    Tests

    $ make test
    

    Licence

    MIT

    install

    npm i co-walk

    Downloadsweekly downloads

    15

    version

    0.0.2

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar