Skip to content

A simple JavaScript file and module loader by namespace.

License

Notifications You must be signed in to change notification settings

rodgeraraujo/uses-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uses

Import the modules by name, not by the file path, simple JavaScript file and module loader.

npm version License: MIT

Installation

npm:

$ npm i uses-js

yarn:

$ yarn add uses-js

Example usage

This is a simple example of usage the lib.

require('uses-js'); //require in any JS file to get `use` reference

const LocalModule = use('project-name/module-name');

const NodeModule = use('module-name');

Changelog

All notable changes to this project will be documented here.

[0.1.0] - 2020-07-26

Initial release.

[0.1.1] - 2020-07-26

Added, a contributing guide file;
Updated the README, added `contributing` section;

Contributing

If you want to contribute to the project and make it better, feel free to fork and contribute after reading the CONTRIBUTING.md file.

License

Licensed under the MIT license.

Author 👽

Made with ❤ by Rogério Araújo

About

A simple JavaScript file and module loader by namespace.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published