UNPKG

fast-replaceall

Version:

Supports global replacement, case-insensitive mode, start index control, and functional replacement compatible with native `String.replace`.

45 lines 1.22 kB
{ "name": "fast-replaceall", "version": "2.0.2", "description": "Supports global replacement, case-insensitive mode, start index control, and functional replacement compatible with native `String.replace`.", "types": "dist/index.d.ts", "module": "dist/index.mjs", "main": "dist/index.js", "unpkg": "dist/index.umd.js", "jsdelivr": "dist/index.umd.js", "keywords": [ "string", "replace", "replaceall" ], "devDependencies": { "@rollup/plugin-typescript": "^12.1.2", "@vitest/coverage-v8": "^3.1.1", "tiret": "^3.0.4", "vite": "^6.2.6", "vite-plugin-build-chunk": "^6.0.0", "vitest": "^3.1.1" }, "files": [ "dist" ], "directories": { "test": "test" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/fengxinming/util.git" }, "author": "Jesse Feng <fxm0016@126.com>", "license": "MIT", "bugs": { "url": "https://github.com/fengxinming/util/issues" }, "homepage": "https://fengxinming.github.io/util/modules/fast-replaceall/", "scripts": { "build": "vite build", "release": "pnpm publish --no-git-checks", "test": "vitest run --coverage", "benchmark": "tiret ./benchmark/*.test.ts" } }