UNPKG

@syntropiq/py-regex

Version:

Python-compatible regular expressions for TypeScript/JavaScript, mirroring Python's re/regex API.

52 lines 1.21 kB
{ "name": "@syntropiq/py-regex", "version": "1.0.0", "description": "Python-compatible regular expressions for TypeScript/JavaScript, mirroring Python's re/regex API.", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "repository": { "type": "git", "url": "https://github.com/syntropiq/py-regex" }, "bugs": { "url": "https://github.com/syntropiq/py-regex/issues" }, "homepage": "https://github.com/syntropiq/py-regex#readme", "author": "Syntropiq", "license": "MIT", "keywords": [ "regex", "python", "pcre", "typescript", "javascript", "re", "regular-expressions", "named-groups" ], "dependencies": { "@syntropiq/libpcre-ts": "latest" }, "devDependencies": { "vitest": "latest", "typescript": "latest" }, "scripts": { "build": "bun run clean && bun run build:esm", "build:esm": "bunx tsc", "test": "vitest", "clean": "rm -rf dist", "prepublishOnly": "bun run build && bun run test" }, "publishConfig": { "access": "public" } }