UNPKG

react-ai-highlight-parser

Version:

Parse and render AI streaming responses with semantic highlighting. Supports multiple modes (highlights, underline, both) and color palettes.

49 lines (48 loc) 1.28 kB
{ "name": "react-ai-highlight-parser", "version": "1.0.4", "description": "Parse and render AI streaming responses with semantic highlighting. Supports multiple modes (highlights, underline, both) and color palettes.", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts", "prepublishOnly": "npm run build" }, "keywords": [ "react", "highlight", "parser", "semantic-highlighting", "text-styling", "ai-response", "underline", "markdown" ], "author": "Julio Calvo <juliocalvorios@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/juliocalvo/react-ai-highlight-parser" }, "homepage": "https://github.com/juliocalvo/react-ai-highlight-parser#readme", "bugs": { "url": "https://github.com/juliocalvo/react-ai-highlight-parser/issues" }, "peerDependencies": { "react": ">=17.0.0", "react-dom": ">=17.0.0" }, "devDependencies": { "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "react": "^18.2.0", "react-dom": "^18.2.0", "tinyexec": "^1.0.2", "tsup": "^8.0.0", "typescript": "^5.0.0" } }