# babel-plugin-rm-iife

> Babel plugin to remove code with iife.

Latest version **1.0.0** (published 2022-12-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-rm-iife
pnpm add babel-plugin-rm-iife
yarn add babel-plugin-rm-iife
bun add babel-plugin-rm-iife
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-12-19 |
| First published | 2022-12-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | JayFate |
| Maintainers | jayfate |
| Keywords | babel-plugin, iife, remove |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-rm-iife
- Repository: https://github.com/JayFate/babel-plugin-rm-iife
- Homepage: https://github.com/JayFate/babel-plugin-rm-iife#readme
- Issues: https://github.com/JayFate/babel-plugin-rm-iife/issues
- npm.io page: https://npm.io/package/babel-plugin-rm-iife

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2022-12-19

## README

# babel-plugin-rm-iife [![Build Status](https://travis-ci.org/JayFate/babel-plugin-rm-iife.svg?branch=master)](https://travis-ci.org/JayFate/babel-plugin-rm-iife)

> Wrap file with iife.


## Install

With [npm](https://npmjs.org/package/babel-plugin-rm-iife) do:
****
```bash
npm i babel-plugin-rm-iife --D
```


## Example

### Input

```js
(() => {
    __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
})();
```

### Output

```js
__webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);
```


## Usage

In your Babel configuration:

```json
{
  "plugins": ["babel-plugin-rm-iife"]
}
```

## Contributing

Pull requests are welcome. If you add functionality, then please add unit tests
to cover it.


## License

MIT © [JayFate](https://github.com/JayFate)

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