LOADER Packages

event-handler-loader

A simple and lightweight way load event handlers from a directory and attach them to any EventEmitter-like instance. It supports two ways of importing files, flexible event handler structures, and lets you customize how listeners are added.

3.0.1 • Published 4 months ago

file-folder-loader

A simple (lowkey over-engineered) utility that wraps around `node:fs/promises#readdir` for reading files and folders and `await import` for importing modules from those files. If you want a simpler approach with the least overhead, just use the former two

4.1.2 • Published 4 months ago

file-to-url

A module that handles loads files from disk & url returning either the buffer or encoded url formats.

1.0.1 • Published 7 months ago