UNPKG

@stream-io/escape-string-regexp

Version:

Escape RegExp special characters

54 lines (53 loc) 1.1 kB
{ "name": "@stream-io/escape-string-regexp", "version": "5.0.1", "publishConfig": { "access": "public" }, "description": "Escape RegExp special characters", "license": "MIT", "repository": "sindresorhus/escape-string-regexp", "funding": "https://github.com/sponsors/sindresorhus", "source": "./index.js", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "types": "dist/index.d.ts", "exports": { "require": "./dist/index.cjs", "default": "./dist/index.modern.js" }, "engines": { "node": ">=12" }, "main": "./dist/index.cjs", "module": "./dist/index.module.js", "unpkg": "./dist/index.umd.js", "scripts": { "test": "xo && ava && npm run build && tsd", "build": "microbundle && copyfiles *d.ts dist" }, "files": [ "dist" ], "keywords": [ "escape", "regex", "regexp", "regular", "expression", "string", "special", "characters" ], "devDependencies": { "ava": "^3.15.0", "xo": "^0.38.2", "copyfiles": "^2.4.1", "microbundle": "^0.14.2", "tsd": "^0.19.0" } }