# @types/rollup-plugin-node-globals

> TypeScript definitions for rollup-plugin-node-globals

Latest version **1.4.5** (published 2024-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/rollup-plugin-node-globals
pnpm add @types/rollup-plugin-node-globals
yarn add @types/rollup-plugin-node-globals
bun add @types/rollup-plugin-node-globals
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.4.5 |
| Published | 2024-10-07 |
| First published | 2019-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 51444 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [rollup](https://npm.io/package/rollup.md) ^0.63.4

## Recent versions

- 1.4.5 (latest) — 2024-10-07
- 1.4.4 (ts4.6) — 2023-11-07
- 1.4.1 (ts3.9) — 2021-07-08
- 1.4.0 (ts2.3) — 2019-02-01
- 1.4.3 — 2023-10-18
- 1.4.2 — 2023-09-27

## README

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

declare namespace RollupPluginsNodeGlobals {
    interface Options {
        // Every files will be parsed by default, but you can specify which files to include or exclude
        include?: Array<string | RegExp> | string | RegExp | null | undefined;
        exclude?: Array<string | RegExp> | string | RegExp | null | undefined;

        // Enable sourcemaps support
        sourceMap?: boolean | undefined;

        // Plugin's options
        process?: boolean | undefined;
        global?: boolean | undefined;
        buffer?: boolean | undefined;
        dirname?: boolean | undefined;
        filename?: boolean | undefined;
        baseDir?: string | undefined;
    }
}

declare function RollupPluginsNodeGlobals(options?: RollupPluginsNodeGlobals.Options): Plugin;

export = RollupPluginsNodeGlobals;

````

### Additional Details
 * Last updated: Mon, 07 Oct 2024 22:38:10 GMT
 * Dependencies: [rollup](https://npmjs.com/package/rollup)

# Credits
These definitions were written by [Hugo Alliaume](https://github.com/kocal).

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