# @pixi/webworker-plugins

> Plugins for Web Workers

Latest version **1.0.1** (published 2025-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pixi/webworker-plugins
pnpm add @pixi/webworker-plugins
yarn add @pixi/webworker-plugins
bun add @pixi/webworker-plugins
```

## Health

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

Positive: esm support; no vulnerabilities; has provenance.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2025-12-18 |
| First published | 2023-10-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 26.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2 |
| Author | SuperSodaSea |
| Maintainers | bigtimebuddy, zyie, supersodasea |
| Keywords | jest, jest-plugin, jest-transform, rollup, rollup-plugin, web-worker, webworker, worker |

## Links

- npm: https://www.npmjs.com/package/@pixi/webworker-plugins
- Repository: https://github.com/pixijs/webworker-plugins
- Issues: https://github.com/pixijs/webworker-plugins/issues
- npm.io page: https://npm.io/package/@pixi/webworker-plugins

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2025-12-18
- 0.3.0 — 2024-02-18
- 0.2.0 — 2024-01-04
- 0.1.0 — 2023-10-19

## README

# @pixi/webworker-plugins

[![npm version](https://badge.fury.io/js/@pixi%2Fwebworker-plugins.svg)](https://www.npmjs.com/package/@pixi/webworker-plugins)

Plugins for Web Workers.

```ts
import FooWorker from 'worker:./foo.worker.ts';
```


## Install

```bash
npm install @pixi/webworker-plugins --save-dev
```


## `@pixi/webworker-plugins/jest-transform`

Jest transform for Web Workers.

### Usage

Add the following code to your **jest.config.js**:

```js
module.exports = {
    transform: {
        '\\.worker.ts$': '@pixi/webworker-plugins/lib/jest-transform',
    },
    moduleNameMapper: {
        '^worker:(.*)$': '$1',
    },
    // ...
};
```


## `@pixi/webworker-plugins/rollup-plugin`

Rollup plugin for Web Workers.

### Usage

Add the following code to your **rollup.config.mjs**:

```js
import webworker from '@pixi/webworker-plugins/rollup-plugin';

export default {
    plugins: [
        webworker(),
    ],
    // ...
};
```

---
_Source: https://npm.io/package/@pixi/webworker-plugins · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
