@janiscommerce/modules-path

1.1.0 • Public • Published

modules-path

The modules-path module allows to include modules recursively.

Installation

npm install @janiscommerce/modules-path

Example

const ModulesPath = require('@janiscommerce/modules-path');

const modulePath = ModulesPath.get('modules', 'product'); // expected result: 'node/process/path/modules/other/paths/product'

require(modulePath);

Readme

Keywords

none

Package Sidebar

Install

npm i @janiscommerce/modules-path

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

6.97 kB

Total Files

7

Last publish

Collaborators

  • janiscommerce