open-index/open-npm huggingface dataset:
npm package: @rollinsafary/phaser3-doms-plugin
Description: Phaser3 Dom Objects as Game Objects
Author: RollinSafary
Latest version: 0.0.3

# Phaser3 Doms Plugin

[![GitHub license](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/rollinsafary/phaser3-doms-plugin/blob/master/LICENSE)
[![npm version](https://badge.fury.io/js/%40rollinsafary%2Fphaser3-doms-plugin.svg)](https://badge.fury.io/js/%40rollinsafary%2Fphaser3-doms-plugin)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

Phaser3 Doms plugin adds dom based game objects to Phaser 3 with their event handling.
TODO: make it possible to use them for physics too.

## License

[MIT](LICENSE)
npm package: @rollipop/rolldown
Description: Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Latest version: 1.0.0-rc.6

# Rolldown

> Fast Rust-based bundler for JavaScript with Rollup-compatible API

- ⚡️ Lightning Fast Performance
- 🔌 Rollup-Compatible APIs
- ⏩ esbuild Feature Parity

Rolldown is primarily designed to serve as the underlying bundler in [Vite](https://vite.dev/), with the goal to replace esbuild and Rollup with one unified build tool. Although designed for Vite, Rolldown is also fully capable of being used as a standalone, general-purpose bundler. It can serve as a drop-in replacement for Rollup in most cases, and can also be used as an esbuild alternative when better chunking control is needed.

[Read the Docs to Learn More](https://rolldown.rs).
npm package: @rollipop/rolldown-binding-linux-arm64-gnu
Description: Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Latest version: 1.0.0-rc.6

# `@rollipop/rolldown-binding-linux-arm64-gnu`

This is the **aarch64-unknown-linux-gnu** binary for `@rollipop/rolldown-binding`
npm package: @rollipop/rolldown-binding-linux-arm64-musl
Description: Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Latest version: 1.0.0-rc.6

# `@rollipop/rolldown-binding-linux-arm64-musl`

This is the **aarch64-unknown-linux-musl** binary for `@rollipop/rolldown-binding`
npm package: @rollipop/rolldown-binding-linux-x64-gnu
Description: Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Latest version: 1.0.0-rc.6

# `@rollipop/rolldown-binding-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `@rollipop/rolldown-binding`
npm package: @rollipop/rolldown-binding-linux-x64-musl
Description: Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Latest version: 1.0.0-rc.6

# `@rollipop/rolldown-binding-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `@rollipop/rolldown-binding`
npm package: @rollipop/rolldown-binding-win32-arm64-msvc
Description: Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Latest version: 1.0.0-rc.6

# `@rollipop/rolldown-binding-win32-arm64-msvc`

This is the **aarch64-pc-windows-msvc** binary for `@rollipop/rolldown-binding`
npm package: @rollipop/rolldown-binding-win32-x64-msvc
Description: Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
Latest version: 1.0.0-rc.6

# `@rollipop/rolldown-binding-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `@rollipop/rolldown-binding`
npm package: @rollipop/rolldown-pluginutils
Description: A utility library for building flexible, composable filter expressions that can be used in plugin hook filters of Rolldown/Vite/Rollup/Unplugin plugins.
Latest version: 1.0.0-rc.6

# @rolldown/pluginutils

A utility library for building flexible, composable filter expressions that can be used in plugin hook filters of Rolldown/Vite/Rollup/Unplugin plugins.

## Installation

```sh
pnpm add @rolldown/pluginutils
```

## Usage

### Simple Filters

```ts
import { exactRegex, makeIdFiltersToMatchWithQuery, prefixRegex } from '@rolldown/pluginutils';

// Match exactly 'foo.js'
const filter = exactRegex('foo.js');

// Match any id starting with 'lib/'
const prefix = prefixRegex('lib/');

// Match ids with query params (e.g. 'foo.js?bar')
const idFilters = makeIdFiltersToMatchWithQuery(['**/*.js', /\.ts$/]);

// Usage in a plugin to define a hook filter
const myPlugin = {
  resolveId: {
    filter: {
      id: [exactRegex('MY_ID_TO_CHECK'), /some-other-regex/],
    },
    handler(id) {
      // Your code here
    },
  },
};
```

### Composable Filters

> [!WARNING]
> Composable filters are not yet supported in Vite or unplugin. They can be used in Rolldown plugins only.

```ts
import { and, id, include, moduleType, query } from '@rolldown/pluginutils';

// Build a filter expression
const filterExpr = and(id(/\.ts$/), moduleType('ts'), query('foo', true));

// Usage in a plugin to define a hook filter
const myPlugin = {
  transform: {
    filter: [include(filterExpr)],
    handler(code, id, options) {
      // Your code here
    },
  },
};
```

## API Reference

### Simple Filters

- `exactRegex(str: string, flags?: string): RegExp` — Matches the exact string.
- `prefixRegex(str: string, flags?: string): RegExp` — Matches values with the given prefix.
- `makeIdFiltersToMatchWithQuery(input: string | RegExp | (string | RegExp)[]): string | RegExp | (string | RegExp)[]` — Adapts filters to match ids with query params.

### Composable Filters

- `and(...exprs)` / `or(...exprs)` / `not(expr)` — Logical composition of filter expressions.
- `id(pattern, params?)` — Filter by id. A `string` pattern is matched by exact equality (not glob); a `RegExp` is tested against the id.
- `importerId(pattern, params?)` — Filter by importer id. A `string` pattern is matched by exact equality; a `RegExp` is tested against the importer id. Only usable with the `resolveId` hook.
- `moduleType(type)` — Filter by module type (e.g. 'js', 'tsx', or 'json').
- `code(pattern)` — Filter by code content.
- `query(key, pattern)` — Filter by query parameter.
- `include(expr)` / `exclude(expr)` — Top-level include/exclude wrappers.
- `queries(obj)` — Compose multiple query filters.

### Utilities

- `filterVitePlugins(plugins)` — Filters out Vite plugins with `apply: 'serve'`.