recursive-readir-sync
v1.0.0
Published
list all files recursively by extension given
Downloads
3
Readme
recursive-readir-sync
Recursively list all files with absolute path in a directory and its subdirectories by the extension given. It does not list the directories themselves.
Installation
npm install recursive-readdir-sync
Usage
var recursiveReaddir = require("recursive-readdir-sync");
var files = recursiveReadir('./path')
It can also take an extension which lists only files with that extension.
var recursiveReaddir = require("recursive-readdir-sync");
// list only files with extension .md
var files = recursiveReadir('./path', '.md')
License
MIT © Ashok