helpers

helpers

Source:

Methods

(static) tryRequire(packageName, basePathopt) → {Object}

Try require a package module directly or fallback to normal require logic with the starting point of current working folder.

Source:
Parameters:
Name Type Attributes Description
packageName String
basePath String <optional>

Base path to find the module

Returns:
Type:
Object