New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

recursive-files

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recursive-files

Asynchronous recursive readdir.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

recursive-files

Asynchronous recursive readdir. Note that the given callback it's called multiple times, one for each found file.

Usage

recursiveFiles(dir, [options], callback)
  • dir directory path;
  • options
    • hidden list hidden files (files starting with .), defaults to false
    • ext list only files with the provided extension
    • nonregular list non regular files such as devices or sockets, defaults to false
  • callback function (err, file)
    • err eventual error
    • file a relative path of the found file to the given directory path;

Keywords

async

FAQs

Package last updated on 20 Jun 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