A generic loader tool to extend Node's native require() function for better structured module and file loading.
Written in ECMAScript 6, currently only Node is supported, nodeuse is in early alpha stage.
npm install nodeuse
// load a partial from node_modules const foreach = use('js.partial.foreach'); // load a package from node_modules const Module = use('js.module.Module'); // load packages from node_modules under specific namespace const js = use('js.*'); // use files from current package const pkg = use('//package.json');
Check the source here since it's well structured and documented. Also you can find the rendered jsDoc documentation on Doclets.io.
Also, check the unit tests in order to grasp the full-fledged capabilities.
Have fun! ;)
If you find any bugs and other issues, check the GSDC Guide - Issues section on how to submit issues in a standardized way on the project's issues page.
In case you have any suggestions regarding the project (features, additional capabilities, etc.), check the GSDC Guide - Suggestions section on how to submit suggestions in an easy, standardized way on the project's issues page.
In order to contribute to this project, check the GSDC Guide for an easy, standardized way on how to contribute to projects.
If you by any means find this project useful, consider supporting the organization.
There are multiple options to support the project and the developers. Any means of support is beneficial and helpful.
MIT @ Richard King