speedload

1.0.3 • Public • Published

speedload

A Zero-dependency, asynchronous, and fast tool for recursively loading files (by a given extension) from a directory tree into a convenient, flat array.

Install

npm i speedload

Example Usage

const { join } = require("node:path");
const { getFiles } = require("speedload");
const ext = ".js";
const path = join(__dirname, "../");

getFiles(ext, path, (results, info) => {
  console.log(results, info);
});

Notice

It's most likely not production-ready, but could be useful in specific cases

To-Do

Add more features and refactor a lot

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.31latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.31
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i speedload

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

3.47 kB

Total Files

4

Last publish

Collaborators

  • forzelcode