crawls directory for files recursively

npm install list_files
2 downloads in the last week
8 downloads in the last month


crawls a directory for files.

Build Status


You need node v0.6 or higher to run this program.

Quick Examples

var list_files  = require('../lib/list_files').list_files;

var cache = "CACHE MANIFEST\n# version 1\n\nCACHE:\n";

    function(error, file, fstat) {
        // each matching file
        cache += file + "\n";
    function(error) {
        // in the end
        cache += "\nNETWORK:\n";


Releases are available for download from

"list_files" is owned by Markus Felten. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.

"Node.js" and "node" are trademarks owned by Joyent, Inc.

npm loves you