# @types/rollup-plugin-natives

> TypeScript definitions for rollup-plugin-natives

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

## Install

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

## Health

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

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.7.5 |
| Published | 2023-11-07 |
| First published | 2023-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.7.5 (latest) — 2023-11-07
- 0.7.0 (ts4.3) — 2023-05-28
- 0.7.4 — 2023-10-18
- 0.7.3 — 2023-10-10
- 0.7.2 — 2023-09-27
- 0.7.1 — 2023-09-15

## README

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

interface RollupPluginNativesOptions {
    copyTo?: string;
    destDir?: string;
    dlopen?: boolean;
    map?: (modulePath: string) => string | { name: string; copyTo: string };
    targetEsm?: boolean;
    sourcemap?: boolean;
}

declare function nativePlugin(options: RollupPluginNativesOptions): Plugin;

export = nativePlugin;

````

### 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 [Mohammad Kermani](https://github.com/mkermani144).

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