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.
- Host: GitHub
- URL: https://github.com/tea3/node-filelist
- Owner: tea3
- Created: 2016-08-05T10:33:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T10:13:32.000Z (about 9 years ago)
- Last Synced: 2025-08-26T21:05:29.930Z (11 months ago)
- Topics: file, nodejs, recursively-search
- Language: JavaScript
- Size: 1.95 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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