Util tools for Mono framework developed at jillix.
$ npm install mono-tools
Util functions related to application environment.
Requires files from application directory.
- String
file
: The absolute path to the file that is required (where the root is the application directory).
- Anything The parsed content of the file.
Returns the application descriptor.
- Object The application descriptor.
Util functions related to module environment.
Returns module instance object with additional fields.
- String
miid
: The module instance name.
- Object An object containing the following fields:
_miid
(Object): The raw module instance object.source
(String): Module source.owner
(String): Module owner.name
(String): Module name.version
(String): Module version.
Gets the path to the module directory.
- String
miid
: The module instance name.
- String The absolute path to the module directory.
Requires files from application directory.
- String
miid
: The module instance name. - String
file
: The absolute path to the file that is required (where the root is the module directory).
- Anything The parsed content of the file.
- File an issue in the repository, using the bug tracker, describing the contribution you'd like to make. This will help us to get you started on the right foot.
- Fork the project in your account and create a new branch:
your-great-feature
. - Commit your changes in that branch.
- Open a pull request, and reference the initial issue in the pull request message.
- Initial stable release
See the LICENSE file.