# rollup-plugin-deno

> Create a bundle for Deno runtime

Latest version **1.0.1** (published 2021-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install rollup-plugin-deno
pnpm add rollup-plugin-deno
yarn add rollup-plugin-deno
bun add rollup-plugin-deno
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-03-29 |
| First published | 2021-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 26.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | egoist |

## Links

- npm: https://www.npmjs.com/package/rollup-plugin-deno
- npm.io page: https://npm.io/package/rollup-plugin-deno

## Recent versions

- 1.0.1 (latest) — 2021-03-29
- 1.0.0 — 2021-03-29

## README

**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**

---

# rollup-plugin-deno

[![npm version](https://badgen.net/npm/v/rollup-plugin-deno)](https://npm.im/rollup-plugin-deno)

This plugin uses [Deno's Node.js compatibility layer](https://deno.land/std@0.90.0/node/README.md), not all built-in Node.js modules are supported.

## Install

```bash
npm i rollup-plugin-deno -D
```

## Usage

```js
import deno from 'rollup-plugin-deno'

export default {
  input: './index.ts',
  output: {
    format: 'esm',
    file: 'mod.js',
  },
  plugins: [deno()],
}
```

It's also recommended to use [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) to bundle your TypeScript declaration file.

## License

MIT &copy; [EGOIST](https://github.com/sponsors/egoist)

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