
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
simply-get-files
Advanced tools
Recursively get all the files in a directory.
const getFiles = require('simply-get-files');
(async function() {
const files = await getFiles(`static`);
// -> [ `global.css`, `fonts/font1.woff`, `images/background.png`, `images/web/small/loading.gif`]
})();
See test/index.js for more information.
The default directory is process.cwd().
If the directory does not exist, an empty array is returned.
This package only returns the files in a directory. Empty folders are ignored.
FAQs
Recursively get all the files in a directory
We found that simply-get-files demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.