UNPKG

@zag-js/highlight-word

Version:

Highlight a portion of text in a string

52 lines 1.21 kB
{ "name": "@zag-js/highlight-word", "version": "1.21.9", "description": "Highlight a portion of text in a string", "keywords": [ "js", "query", "highlight", "word", "text", "search" ], "author": "Segun Adebayo <sage@adebayosegun.com>", "homepage": "https://github.com/chakra-ui/zag#readme", "license": "MIT", "main": "dist/index.js", "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/highlight-word", "sideEffects": false, "files": [ "dist/**/*" ], "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/chakra-ui/zag/issues" }, "clean-package": "../../../clean-package.config.json", "devDependencies": { "clean-package": "2.2.0" }, "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./package.json": "./package.json" }, "scripts": { "build": "tsup", "lint": "eslint src", "typecheck": "tsc --noEmit" } }