New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

asyncdirectory

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asyncdirectory

Deep asynchronous search (in current directory and sub directories) for files with some extenstions in a particular path

  • 6.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
2
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 22 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc