fabriziomoscon

fabriziomoscon/rootpath

Little helper to make node.js require relative to your project root

JavaScript
45
9
No license

`rootpath` is a Node.js utility that simplifies module imports by allowing `require()` statements to be absolute to the project root, eliminating complex relative path calculations. It's designed for developers working on multi-folder Node.js projects who frequently reference internal modules across subdirectories. The tool requires a one-time setup and helps keep code cleaner and more maintainable.

Total donated
Undistributed
Share with your subscribers: