modulegala-js

1.0.2 • Public • Published

modulegala-js

A simple way to alias a module in NodeJS.

Build Status

Install

npm: run the command npm install modulegala-js

yarn: run the command yarn add modulegala-js

Usage

Loads the module in the entrypoint file your application.

  1. Adds modulegala configuration in your package.json file, like below.
        "modulegala": {
            "@foo": "path-to-foo-source-folder",
            "@bar": "path-to-bar-source-folder"
        }
    }
  • To register the aliasing system, copy the following line and paste it in your application's root file. require('modulegala-js');

Contributor

  1. Manyanda Chitimbo manyanda.chitimbo@gmail.com

/modulegala-js/

    Package Sidebar

    Install

    npm i modulegala-js

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    26.9 kB

    Total Files

    12

    Last publish

    Collaborators

    • machi27