uses-js

0.1.1 • Public • Published

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

/uses-js/

    Package Sidebar

    Install

    npm i uses-js

    Weekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    8.07 kB

    Total Files

    6

    Last publish

    Collaborators

    • rodgeraraujo