UNPKG

install-module-linked

Version:
8 lines (7 loc) 596 B
import type { InstallCallback, InstallOptions } from './types.ts'; export { default as clear } from './lib/clear.ts'; export { default as parseInstallString } from './lib/parseInstallString.ts'; export type * from './types.ts'; export default function installModule(installString: string, nodeModulesPath: string, options?: InstallOptions | InstallCallback, callback?: InstallCallback): undefined | Promise<string>; export declare function sync(installString: string, nodeModulesPath: string, options?: InstallOptions): string | undefined; export { default as install } from './lib/install.cjs';