UNPKG

@jsdocs-io/extractor

Version:

The API extractor for npm packages powering jsdocs.io

13 lines (11 loc) 381 B
/** `Bun` is a wrapper for the Bun package manager. */ export declare class Bun { #private; constructor(bunCmd?: string); /** `add` installs the given package in the given directory and returns a list of all installed packages (e.g., `["foo@1.0.0"]`). @see {@link https://bun.sh/docs/cli/add} */ add(pkg: string, cwd: string): Promise<string[]>; }