# @types/rollup-plugin-auto-external

> TypeScript definitions for rollup-plugin-auto-external

Latest version **2.0.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/rollup-plugin-auto-external
pnpm add @types/rollup-plugin-auto-external
yarn add @types/rollup-plugin-auto-external
bun add @types/rollup-plugin-auto-external
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.5 |
| Published | 2023-11-07 |
| First published | 2021-06-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51376 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/rollup-plugin-auto-external
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-auto-external
- npm.io page: https://npm.io/package/@types/rollup-plugin-auto-external

## Dependencies (1)

- [rollup](https://npm.io/package/rollup.md) >=2.0.0

## Recent versions

- 2.0.5 (latest) — 2023-11-07
- 2.0.2 (ts3.6) — 2021-07-08
- 2.0.4 — 2023-10-18
- 2.0.3 — 2023-09-27
- 2.0.1 — 2021-06-25
- 2.0.0 — 2021-06-08

## README

# Installation
> `npm install --save @types/rollup-plugin-auto-external`

# Summary
This package contains type definitions for rollup-plugin-auto-external (https://github.com/stevenbenisek/rollup-plugin-auto-external).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-auto-external.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-auto-external/index.d.ts)
````ts
import { Plugin } from "rollup";

interface AutoExternalOptions {
    /**
     * defaults to true. Add all Node.js builtin modules (in the running version) as externals. Specify a string value (e.g., '6.0.0') to add all builtin modules for a specific version of Node.js.
     * Rollup will complain if builtins is present, and the build target is a browser. You may want [rollup-plugin-node-builtins](https://npm.im/package/rollup-plugin-node-builtins).
     */
    builtins?: boolean | string | undefined;

    /**
     * defaults to true.
     */
    dependencies?: boolean | undefined;

    /**
     * defaults to process.cwd(). Path to a package.json file or its directory.
     */
    packagePath?: string | undefined;

    /**
     * defaults to true.
     */
    peerDependencies?: boolean | undefined;
}

declare function autoExternal(options?: AutoExternalOptions): Plugin;
export = autoExternal;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [rollup](https://npmjs.com/package/rollup)

# Credits
These definitions were written by [rxliuli](https://github.com/rxliuli).

---
_Source: https://npm.io/package/@types/rollup-plugin-auto-external · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
