# regexp-helper

> regexp-helper

Latest version **2.0.0** (published 2026-11-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install regexp-helper
pnpm add regexp-helper
yarn add regexp-helper
bun add regexp-helper
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-11-14 |
| First published | 2018-04-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 31 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | bluelovers |
| Maintainers | bluelovers |
| Keywords | check, es2018, esnext, flag, flags, helper, is, pattern, re, regex, regexp, regular expression, support, supported, unicode, util, valid |

## Links

- npm: https://www.npmjs.com/package/regexp-helper
- Repository: https://github.com/bluelovers/ws-regexp
- Homepage: https://github.com/bluelovers/ws-regexp/tree/master/packages/regexp-helper#readme
- Issues: https://github.com/bluelovers/ws-regexp/issues
- npm.io page: https://npm.io/package/regexp-helper

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) >=2
- [regexp-support](https://npm.io/package/regexp-support.md) ^2.0.0
- [regexp-helper-core](https://npm.io/package/regexp-helper-core.md) ^3.0.0

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2026-11-14
- 1.0.46 — 2026-09-06
- 1.0.45 — 2026-09-06
- 1.0.44 — 2026-09-06
- 1.0.43 — 2025-03-12
- 1.0.42 — 2024-09-03
- 1.0.41 — 2024-09-02
- 1.0.40 — 2024-08-24
- 1.0.39 — 2024-03-01
- 1.0.38 — 2024-01-29
- 1.0.37 — 2023-02-28
- 1.0.36 — 2022-10-26
- 1.0.35 — 2022-10-16
- 1.0.34 — 2022-02-04
- 1.0.32 — 2021-12-08
- … 23 more at https://npm.io/package/regexp-helper/versions

## README

# regexp-helper

> 正規表達式輔助工具 (RegExp helper utilities)

## install

```bash
# 使用 yarn / Using yarn
yarn add regexp-helper

# 使用 yarn-tool / Using yarn-tool
yarn-tool add regexp-helper
# yt 是 yarn-tool 的別名 / yt is an alias for yarn-tool
yt add regexp-helper

# 使用 pnpm / Using pnpm
pnpm add regexp-helper

# 使用 npm / Using npm
npm install regexp-helper
```

## API

[index.d.ts](index.d.ts)

```ts
export * from 'regexp-helper-core';
import { getNativeFlags, stripNonNativeFlags, isNativeFlags, prototypeToFlags, prototypeToFlagsArray } from './lib';
import { parseRegularExpressionString } from './lib/parse';
export declare const nativeFlags: string;
export { getNativeFlags, stripNonNativeFlags, isNativeFlags };
export { prototypeToFlags, prototypeToFlagsArray };
export { parseRegularExpressionString };
declare const _default: typeof import(".");
export default _default;
```

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