Home > @rushstack/node-core-library > Import
Import class
Helpers for resolving and importing Node.js modules.
Signature:
export declare class Import
Methods
Method | Modifiers | Description |
|---|---|---|
| Provides a way to improve process startup times by lazy-loading imported modules. | |
| This resolves a module path using similar logic as the Node.js | |
| Async version of Import.resolveModule(). | |
| Performs module resolution to determine the folder where a package is installed. | |
| Async version of Import.resolvePackage(). |