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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i recursive-readir-sync

Weekly Downloads

1

Version

1.0.0

License

none

Last publish

Collaborators

  • aks-