nodeuse

A generic loader tool to extend Node's native require() function for better structured module and file loading.

Usage no npm install needed!

<script type="module">
  import nodeuse from 'https://cdn.skypack.dev/nodeuse';
</script>

README

nodeuse

Recent Version Travis CI - Build Status Coveralls - Code Coverage Status David - Dependencies David - DevDependencies Doclets Gitter - Repository Chat

Synopsis

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.

Install

npm install nodeuse

Usage

// 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');    

Documentation

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! ;)

Issues

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.

Contribution

In order to contribute to this project, check the GSDC Guide for an easy, standardized way on how to contribute to projects.

Support

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.

License

MIT @ Richard King