UNPKG

@stryke/fs

Version:

A package containing various file system utilities that expand the functionality of NodeJs's built-in `fs` module.

26 lines 1.03 kB
import { InstallPackageOptions, installPackage } from "@antfu/install-pkg"; //#region src/install.d.ts /** * Install a specific package * * @param name - The name of the package to install * @param options - The options to use when installing the package */ declare function install(name: string, options?: InstallPackageOptions): Promise<ReturnType<typeof installPackage>>; /** * Install a list of packages * * @param names - The list of package names to install * @param options - The options to use when installing the package */ declare function install(names: string[], options?: InstallPackageOptions): Promise<ReturnType<typeof installPackage>>; /** * Check if a package exists and install it if it does not * * @param name - The name of the package to check * @param options - The options to use when installing the package */ declare const packageExists: (name: string, options?: InstallPackageOptions) => Promise<void>; //#endregion export { install, packageExists }; //# sourceMappingURL=install.d.cts.map