asyncdirectory

6.0.4 • Public • Published

Project Name

asyncdirectory

Installation

npm install asyncdirectory

Usage

---You cant use it via (npm install asyncdirectory), oversheet .js must exist under the same directory of asyncdirectory => (asyncdirectory\node_modules\oversheet\)

---asyncdirectory has a function getList(path,[,extensions],callback); where extensions array is an array of files extensions.

example:

var asyncDirectory=require("asyncdirectory");
asyncDirectory.getList("c:\\randomFolder",["mp4","mp3","doc"],function(list){
    console.log("Paths are "+list);
}
    );
//this call will get you all paths to files in c:\\randomFolder directory and sub directories
that have any of mp4,mp3,doc extensions.

Readme

Keywords

none

Package Sidebar

Install

npm i asyncdirectory

Weekly Downloads

3

Version

6.0.4

License

ISC

Last publish

Collaborators

  • jodevak
  • jodevsa