- Source:
- index.js
Methods
-
<static> tryRequire(packageName)
-
Try require a package module and show install tips if not found.
Parameters:
Name Type Description packageNamestring - Source:
- helpers/tryRequire.js
Returns:
- Type
- object
Try require a package module and show install tips if not found.
| Name | Type | Description |
|---|---|---|
packageName |
string |