An open API service indexing awesome lists of open source software.

https://github.com/tea3/node-filelist

Get a list of the absolute path in the file location. This plugin reading all the files in a folder recursively.
https://github.com/tea3/node-filelist

file nodejs recursively-search

Last synced: 8 days ago
JSON representation

Get a list of the absolute path in the file location. This plugin reading all the files in a folder recursively.

Awesome Lists containing this project

README

          

# node-filelist

Get a list of the absolute path in the file location. This plugin reading all the files in a folder recursively.

## Installation

``` bash
$ npm install node-filelist --save
```

## Usage

For example. If you want to read the image file.

``` javascript
var fl = require('node-filelist');
var files = [ "/path-you-want-to-read" ];
var option = { "ext" : "jpeg|jpg|png|gif" };

fl.read(files, option , function (results){
for(var i=0; i