<commit_before># Get Module

> Include local NodeJS modules relative to your root path

[![NPM version][npm-version-image]][npm-version-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]

[![NPM][npm-image]][npm-url]

## Installation

```js
npm i --save getmodule
```

## Usage

Add on your `app.js` (or on main file to your app):

```js
require( 'getmodule' );
```

Now, you can call any module with base on root of your application.

If your module is `app/modules/mymodule.js`, but your call is on the file `app/controllers/controller.js`, doesn't matter! Just type this:

```js
var mymodule = getmodule( 'app/modules/mymodule' );
```

Enjoy ;)

## License

[MIT License](https://github.com/fdaciuk/getmodule/blob/master/LICENSE)

[npm-version-image]: https://badge.fury.io/js/getmodule.svg
[npm-version-url]: https://npmjs.org/package/getmodule
[travis-image]: https://travis-ci.org/fdaciuk/getmodule.svg
[travis-url]: https://travis-ci.org/fdaciuk/getmodule
[coveralls-image]: https://img.shields.io/coveralls/fdaciuk/getmodule.svg
[coveralls-url]: https://coveralls.io/r/fdaciuk/getmodule?branch=dev
[npm-image]: https://nodei.co/npm/getmodule.png?downloads=true&downloadRank=true&stars=true
[npm-url]: https://nodei.co/npm/getmodule/<commit_msg>Update coveralls badge<commit_after># Get Module

> Include local NodeJS modules relative to your root path

[![NPM version][npm-version-image]][npm-version-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]

[![NPM][npm-image]][npm-url]

## Installation

```js
npm i --save getmodule
```

## Usage

Add on your `app.js` (or on main file to your app):

```js
require( 'getmodule' );
```

Now, you can call any module with base on root of your application.

If your module is `app/modules/mymodule.js`, but your call is on the file `app/controllers/controller.js`, doesn't matter! Just type this:

```js
var mymodule = getmodule( 'app/modules/mymodule' );
```

Enjoy ;)

## License

[MIT License](https://github.com/fdaciuk/getmodule/blob/master/LICENSE)

[npm-version-image]: https://badge.fury.io/js/getmodule.svg
[npm-version-url]: https://npmjs.org/package/getmodule
[travis-image]: https://travis-ci.org/fdaciuk/getmodule.svg
[travis-url]: https://travis-ci.org/fdaciuk/getmodule
[coveralls-image]: https://img.shields.io/coveralls/fdaciuk/getmodule.svg
[coveralls-url]: https://coveralls.io/repos/fdaciuk/getmodule/badge.png?branch=dev
[npm-image]: https://nodei.co/npm/getmodule.png?downloads=true&downloadRank=true&stars=true
[npm-url]: https://nodei.co/npm/getmodule/
{'fraction_non_alphanumeric': 0.17497147204260174, 'fraction_numerical': 0.0, 'mean_word_length': 5.130536130536131, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 18, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '581462', 'n_tokens_mistral': 989, 'n_tokens_neox': 944, 'n_words': 193}