{"library":"react-shiki","type":"library","category":null,"description":"react-shiki is a performant client-side syntax highlighting component and hook for React, leveraging the Shiki library. As of version 0.9.3, it offers flexible output options, including React elements to avoid `dangerouslySetInnerHTML` or raw HTML strings for improved performance. The package provides multiple bundle choices (Full, Web, Core) to optimize bundle size depending on the languages and themes required. It fully supports custom TextMate themes, languages, and Shiki transformers. Key features include dynamic language and theme imports for optimal performance, optional line numbers, and performance optimizations like throttling for real-time highlighting. The project maintains a regular patch release cadence, with minor versions introducing features such as output format selection and regex engine customization, ensuring active development and feature expansion.","language":"javascript","status":"active","version":"0.9.3","tags":["javascript","react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter","typescript"],"install":[{"cmd":"npm install react-shiki","imports":["import ShikiHighlighter from 'react-shiki';","import { useShikiHighlighter } from 'react-shiki';","import ShikiHighlighter from 'react-shiki/web';","import type { ShikiHighlighterProps } from 'react-shiki';"]},{"cmd":"yarn add react-shiki","imports":[]},{"cmd":"pnpm add react-shiki","imports":[]}],"homepage":"https://react-shiki.vercel.app/","github":"https://github.com/AVGVSTVS96/react-shiki","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-shiki","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-shiki/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}