recursive-readir-sync

1.0.0 • Public • Published

recursive-readir-sync

Build Status

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

Package Sidebar

Install

npm i recursive-readir-sync

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • aks-