npm.io
2.0.0 • Published 2 weeks ago

regexp-helper

Licence
ISC
Version
2.0.0
Deps
3
Size
31 kB
Vulns
0
Weekly
0
Stars
8

regexp-helper

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

install

# 使用 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

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;

Keywords