Back to Explore
troygoode/node-require-directory
require-directory is a Node.js utility that recursively iterates over a specified directory, calls require() for each file, and returns the results as a nested hash (tree) of module exports. It is useful for building structured module exports automatically, such as mapping a routes directory into an object you can access by name.
A status summary will appear after the next weekly refresh.
AI-generated from public sources. May be inaccurate. Report
Recent updates
No recent updates have been summarized for this source yet.