{"_id":"react-shiki","_rev":"32-420e6351ad0072b1fee7590e7cae34de","name":"react-shiki","dist-tags":{"latest":"0.11.3"},"versions":{"0.1.0":{"name":"react-shiki","version":"0.1.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.1.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://github.com/avgvstvs96/react-shiki#readme","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"b600894f3bb85130921e1e36a3b1bf16720be276","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.1.0.tgz","fileCount":6,"integrity":"sha512-8nxx2G9a1BOgWAks1FflHnDnB2Gl82w3Yph8S+WzQpII7k5kA6KCTAyjhpSNJpKb3UF8AeIu+htD8QX/wDme2w==","signatures":[{"sig":"MEQCIHC5qXEBYGogAKhfZZiXWXIZD21xYLimdS35M/Xn2YZTAiBkNsD5pq1LPNhUIOLxW79Xik8/42nhn4GEMjlwi4Q+bw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11391},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/4f4adbbd020e558d490becd84a1c695f/react-shiki-0.1.0.tgz","_integrity":"sha512-8nxx2G9a1BOgWAks1FflHnDnB2Gl82w3Yph8S+WzQpII7k5kA6KCTAyjhpSNJpKb3UF8AeIu+htD8QX/wDme2w==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","@types/hast":"^3.0.4","@types/react":"^18.3.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.1.0_1722825431931_0.4393883954190627","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"react-shiki","version":"0.1.1","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.1.1","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"486dad47053e309a46b73db54014e9502284a86d","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.1.1.tgz","fileCount":6,"integrity":"sha512-xxgZNlCZ4eG/01w+BQbEI2pH+cz8faPVYSumWcqP0cSwydz2MBZ8Oy+8zXVLsI0K62tS56s3xgGm49MwuccH0A==","signatures":[{"sig":"MEUCIQCO8aShY53LtRdobVL/PilUp7ZcGU1Vc7jNS81zWgEMowIgJUlvKDWYa5oCsZ7ApQvtLBNYkpsRxWu1ElXPYj+QIDE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18073},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.1.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/d4f6663c98cccf02dbbbe0938fa897a5/react-shiki-0.1.1.tgz","_integrity":"sha512-xxgZNlCZ4eG/01w+BQbEI2pH+cz8faPVYSumWcqP0cSwydz2MBZ8Oy+8zXVLsI0K62tS56s3xgGm49MwuccH0A==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","@types/hast":"^3.0.4","@types/react":"^18.3.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.1.1_1723093615549_0.2469603672796825","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"react-shiki","version":"0.1.2","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.1.2","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"a8df854c12702a59197c7734ac1564ca80116b79","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.1.2.tgz","fileCount":6,"integrity":"sha512-UZRHdnt7dJQiwlIR8QwjlTFKgkEk0f5kaofem67flHQKp5fE2YCIKyDUNxEv9R+ti5mlp6Dth7JrTJpJIofvyQ==","signatures":[{"sig":"MEQCIDKhk3wsoWHCaUOqm3mL6bQjw2hfwE3LyiBmId7y/tSEAiAoeqB1kVlH93CRSz0fhFZZkuLavo4d6cakrxSxd6eo4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18200},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.1.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/c0860bd773c7f0922a5a439e3c93483d/react-shiki-0.1.2.tgz","_integrity":"sha512-UZRHdnt7dJQiwlIR8QwjlTFKgkEk0f5kaofem67flHQKp5fE2YCIKyDUNxEv9R+ti5mlp6Dth7JrTJpJIofvyQ==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","@types/hast":"^3.0.4","@types/react":"^18.3.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.1.2_1723354285535_0.3686268345164887","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"react-shiki","version":"0.2.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.2.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"350e149503a07731d772dee8aed4521259e7c64c","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.2.0.tgz","fileCount":6,"integrity":"sha512-SusZIuhQecI0q9+G+82WO/A52zRYdIRbsTtxPVTzxJ8AJ605ZDdfmAGvpx45cblCwmMDrBmf6D7dz+W4LPU6TA==","signatures":[{"sig":"MEUCIQCzptE8oBIjFIHkH4tIBPas063mH8gZEiYAB8+t4cI6VQIgSEuQOoHDqGxPekyjFAQnE3/JJGkSXSldGk4WnA6lcpI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24623},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.2.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/3bf590fb34ad193872801b358a88f17e/react-shiki-0.2.0.tgz","_integrity":"sha512-SusZIuhQecI0q9+G+82WO/A52zRYdIRbsTtxPVTzxJ8AJ605ZDdfmAGvpx45cblCwmMDrBmf6D7dz+W4LPU6TA==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","@types/hast":"^3.0.4","@types/node":"22.10.10","@types/react":"^18.3.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.2.0_1737880394091_0.5775031027572082","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"react-shiki","version":"0.2.1","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.2.1","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"888aa074ba9c6a808631ee553d054718c805baa0","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.2.1.tgz","fileCount":6,"integrity":"sha512-kbvRBxanpswHYCPB3e+1qeb8ELWTRob1TvOzSX5zsxCmfadQf39r5OQyH4iF0ha72+p6GtGjatcx8bEibXYLQQ==","signatures":[{"sig":"MEUCIQDma9/mv5Fx3+NKO1kbqRNt4anK4Yid+EX7KfhmAla5agIgRGDQjaR3+MEesKzoBo2gvzE89TdXzz8oYvET0bZHLzA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27137},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.2.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/5e3761353e41f94b13c1549107aa4585/react-shiki-0.2.1.tgz","_integrity":"sha512-kbvRBxanpswHYCPB3e+1qeb8ELWTRob1TvOzSX5zsxCmfadQf39r5OQyH4iF0ha72+p6GtGjatcx8bEibXYLQQ==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","@types/hast":"^3.0.4","@types/node":"22.10.10","@types/react":"^18.3.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.2.1_1737882323787_0.7870913708975471","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"react-shiki","version":"0.2.2","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.2.2","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"298fe6493d56e76ebe3adc53617189cadd4467c7","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.2.2.tgz","fileCount":6,"integrity":"sha512-EZ2uzhR+AQ8YTjUKu4f+hcduitqbCUv5PbPb0R6vvBT7UzIebAmTWfWjcG0403f5bI2BHGLHDSpO5i5c85U4Mw==","signatures":[{"sig":"MEUCIGrryWx0T7e4HLyYUFxm7YZ1nmEQDDOdeq1yGTnYIqGyAiEA9ViyEViKCrMo44OrT0YTVhsXVSMlJd1/KrgVn14dz7c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28193},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.2.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/16c17b61d6c681e4a2e740b285196edb/react-shiki-0.2.2.tgz","_integrity":"sha512-EZ2uzhR+AQ8YTjUKu4f+hcduitqbCUv5PbPb0R6vvBT7UzIebAmTWfWjcG0403f5bI2BHGLHDSpO5i5c85U4Mw==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","@types/hast":"^3.0.4","@types/node":"22.10.10","@types/react":"^18.3.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.2.2_1737944168239_0.6514507054895238","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"react-shiki","version":"0.2.3","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.2.3","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"4a311bb4e8791d2be37aeb3ca2f1b6718580a546","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.2.3.tgz","fileCount":6,"integrity":"sha512-x00S3htsekwxH0bUcH3jHKEwQDOQ5cXT9t2vAPKqg/WeQphFjfrOiCffs7iKXD3oZp50FFbMzzP/DryTHY84cQ==","signatures":[{"sig":"MEQCIF/grkyRfPBjWmjC+xqpLWd2MiFRgCCMg42UvMmYA9waAiBNoE/+IFLkTtr+fkRRaCOLa+QJ5AUsCxEJARaVjWarTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27872},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.2.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/tmp/760ed4c13ec24eb0d7c8fa48767fe04a/react-shiki-0.2.3.tgz","_integrity":"sha512-x00S3htsekwxH0bUcH3jHKEwQDOQ5cXT9t2vAPKqg/WeQphFjfrOiCffs7iKXD3oZp50FFbMzzP/DryTHY84cQ==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.0","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"22.11.0","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","@types/hast":"^3.0.4","@types/node":"22.10.10","@types/react":"^18.3.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.2.3_1738200077130_0.6978029856185579","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"react-shiki","version":"0.2.4","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.2.4","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"1ba0d54a2f7a74e378ebc95e60e6b5a1e574fb8c","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.2.4.tgz","fileCount":5,"integrity":"sha512-WUrQ6dk57+WFuMwrn+cItqr5UPmNNsLequCMJUfoAi1KpgLNSeKojTYZEDpgVaIy989W6e4eBXjHU/WTup01yg==","signatures":[{"sig":"MEUCIDzBbBlzemUfa5aCwkRpBE9Eke73nYINgQtexeYqqby9AiEA8lkc4syHpWJdvG2+1zfK5lPPf6Fb+pC24VycmZuVgRk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28442},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.2.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/tmp/e42fbcd2d61ba2269cc8377e27f8ab1a/react-shiki-0.2.4.tgz","_integrity":"sha512-WUrQ6dk57+WFuMwrn+cItqr5UPmNNsLequCMJUfoAi1KpgLNSeKojTYZEDpgVaIy989W6e4eBXjHU/WTup01yg==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.0","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"22.11.0","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^22.1.0","vitest":"^0.34.0","@types/hast":"^3.0.4","@types/node":"22.10.10","@types/react":"^18.3.3","@vitejs/plugin-react":"^4.0.0","@testing-library/react":"^14.0.0","@testing-library/jest-dom":"^6.0.0"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.2.4_1738624195558_0.7645025524829452","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"react-shiki","version":"0.3.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.3.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"258a4471713c175a12d43d149fe631a749942a63","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.3.0.tgz","fileCount":6,"integrity":"sha512-oC/5k9Ks/lN0GtAQn/32sUdX4PFCu0KuSzY74RFjl8NEOGorg7wwPLGKVyxZLoVp1QR2cy0fNRpBiVqSU4kFEg==","signatures":[{"sig":"MEQCICaatmv/q3z0keEuihhuWUrY9pACrzPntCocLfcosL7MAiAbROFUNpFrxmg8zsdIrAU2SFL6l/1ysvGS1fSdwmEAQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32512},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.3.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/9b5be6819bd5ac72c7bdc13e4195568e/react-shiki-0.3.0.tgz","_integrity":"sha512-oC/5k9Ks/lN0GtAQn/32sUdX4PFCu0KuSzY74RFjl8NEOGorg7wwPLGKVyxZLoVp1QR2cy0fNRpBiVqSU4kFEg==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^1.12.1","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","jsdom":"^22.1.0","vitest":"^0.34.0","@types/hast":"^3.0.4","@types/node":"22.10.10","@types/react":"^18.3.3","@vitejs/plugin-react":"^4.0.0","@testing-library/react":"^14.0.0","@testing-library/jest-dom":"^6.0.0"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.3.0_1739858889429_0.3626978109635719","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"react-shiki","version":"0.4.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.4.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"06b29936dc05504b1afc14c8a9d60fef8bc0f3f5","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.4.0.tgz","fileCount":6,"integrity":"sha512-tfvh9rpEN9GBCD/NzNtJF5/GYRCYv4tSrVo+33dD3lTE4RcHmzTrsTpRqgAzR/KD9+Ep90xRCUnwz87uXB/NPA==","signatures":[{"sig":"MEYCIQDkYV8xEwShCPKJLPeq/15yO40uoRredyWIAgqo7t++cwIhAMyghgoFGPhZb8Mne2jGjPFCSzJbfIUM9UPcf0QjjmAL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42688},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.4.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/tmp/a1fba7807b9747acb86211caeb03ca1d/react-shiki-0.4.0.tgz","_integrity":"sha512-tfvh9rpEN9GBCD/NzNtJF5/GYRCYv4tSrVo+33dD3lTE4RcHmzTrsTpRqgAzR/KD9+Ep90xRCUnwz87uXB/NPA==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.2","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"22.13.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.0.0","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.6","jsdom":"^22.1.0","vitest":"^0.34.6","@types/hast":"^3.0.4","@types/node":"22.13.4","@types/react":"^18.3.18","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^14.3.1","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.4.0_1740610860299_0.2999783439801156","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"react-shiki","version":"0.4.1","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.4.1","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"f9e0d33085ebf78ca94b1126ed1226aad999c78f","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.4.1.tgz","fileCount":6,"integrity":"sha512-RceBISLbWBlll8JuT12I2FQ6jkuZlRatYUyZd7JfbkX7VezMJ9sIPBoAKebC70aZDlDAc3gqOrmiXUdm7EwlHw==","signatures":[{"sig":"MEUCIQCvG3u9ggFXtAdnAShzgt9YwC2STk4MN9gD8QHn9Qn2GgIga/kH7EUjh3/1OKsE02PCBqwwC/L4A5sLraPZNVwvGBM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42703},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.4.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/db0c221c1dfb6c4682262917cb2867db/react-shiki-0.4.1.tgz","_integrity":"sha512-RceBISLbWBlll8JuT12I2FQ6jkuZlRatYUyZd7JfbkX7VezMJ9sIPBoAKebC70aZDlDAc3gqOrmiXUdm7EwlHw==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.0.0","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.6","jsdom":"^22.1.0","vitest":"^0.34.6","@types/hast":"^3.0.4","@types/node":"22.13.4","@types/react":"^18.3.18","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^14.3.1","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.4.1_1741417875147_0.6212274220711895","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"react-shiki","version":"0.5.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.5.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"5c3ee464fd0f7d473e87c52fa946e1ea209d79a3","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.5.0.tgz","fileCount":6,"integrity":"sha512-2LPO0bL19RrqvM1TVkPpMEb2GSd+fXQwRF9MHBVvb0m6y8BnzWcR4fxS/trEyWJ2pAUPu/jgWy/YyZOBuQR2wA==","signatures":[{"sig":"MEUCIQD1wiwg2zaF7w++/2yaEXqC+Hyy0UABz+JCebGhpQDHTAIgWP+QMbzYYe06OVDT9mG3hanTwu434eLJ90I3x27vHwA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52854},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.5.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/e30fdc3d1e7b48fd328aa1ea6a9f0e70/react-shiki-0.5.0.tgz","_integrity":"sha512-2LPO0bL19RrqvM1TVkPpMEb2GSd+fXQwRF9MHBVvb0m6y8BnzWcR4fxS/trEyWJ2pAUPu/jgWy/YyZOBuQR2wA==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.0.0","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.6","jsdom":"^22.1.0","vitest":"^0.34.6","@types/hast":"^3.0.4","@types/node":"22.13.4","@types/react":"^18.3.18","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^14.3.1","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.5.0_1743137385290_0.5375182212731233","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"react-shiki","version":"0.5.1","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.5.1","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"d800740da45fd01676f73e1c35052c95f425f12e","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.5.1.tgz","fileCount":6,"integrity":"sha512-NPc+LqP8Mz0DODeE0lG8byvPfPy29CWvMZefCEdLCJLFy+EOQPx4wFVG+fqdMXqxIWkEVTcH4WDxu/1ifURD/w==","signatures":[{"sig":"MEYCIQCUVDX8BiSU5CwTxCFi4Gxt4gA+LnZ3h++jgfkyLLPPcQIhAM5JQXToifvIzMxQI4q4vE46QCPYqxuHvemjc5Hy9aqt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53678},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.5.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/d5068241457c9bf76c3990a63ced2bc2/react-shiki-0.5.1.tgz","_integrity":"sha512-NPc+LqP8Mz0DODeE0lG8byvPfPy29CWvMZefCEdLCJLFy+EOQPx4wFVG+fqdMXqxIWkEVTcH4WDxu/1ifURD/w==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.0.0","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","html-react-parser":"^5.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.6","jsdom":"^22.1.0","vitest":"^0.34.6","@types/hast":"^3.0.4","@types/node":"22.13.4","@types/react":"^18.3.18","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^14.3.1","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.5.1_1743486104387_0.27828024572378074","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"react-shiki","version":"0.5.2","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.5.2","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"0f2f8c24fb4b356c8965b85ded7c346b107fc5e3","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.5.2.tgz","fileCount":6,"integrity":"sha512-8gNbZrcJsABWznWuLt9qUXEO3eiBVyrJef3ydxZr78KSQDNMaobw9GFaJ7aALZZAbNVYLOBs3TV2MWqNpPjpbw==","signatures":[{"sig":"MEQCIHskZDOPeo4PNcAo5M2gVcEGTJVvuQmVJE1gP5UtevilAiA1pwc343mGMcxXkSBwqINCdv9pweejMdFGbHKOMOPHEg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52251},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.5.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest","build":"tsup"},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/db72c3bdfd8b48ee059785f666bd4496/react-shiki-0.5.2.tgz","_integrity":"sha512-8gNbZrcJsABWznWuLt9qUXEO3eiBVyrJef3ydxZr78KSQDNMaobw9GFaJ7aALZZAbNVYLOBs3TV2MWqNpPjpbw==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.2.1","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","html-react-parser":"^5.2.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","jsdom":"^22.1.0","vitest":"^0.34.6","@types/hast":"^3.0.4","@types/node":"22.14.0","@types/react":"^18.3.20","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^14.3.1","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 15.0.0","react-dom":">= 15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.5.2_1743745977308_0.5797419582682275","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"react-shiki","version":"0.5.3","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.5.3","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"2c28d6728784f27881fb775266c0d5182931a2a4","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.5.3.tgz","fileCount":6,"integrity":"sha512-UG7emTbSsIN3NG2BOvliuHpJjQdsS7I3KsEjHfYAcucMo935gUDNMCyk/LvrFU3JzoGf+h+px33HO1bws+LPmQ==","signatures":[{"sig":"MEUCIQC3Inzjnkw4N50uTcaaN+2PcEREWWjJpjtYzt5qvJ/QAQIgDlBKCkZymc5c3C/lXzCGc2CAz34ezzLnvY3p0zvOWkI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52725},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.5.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/c7827ee006a9080ad4bddeece50f04be/react-shiki-0.5.3.tgz","_integrity":"sha512-UG7emTbSsIN3NG2BOvliuHpJjQdsS7I3KsEjHfYAcucMo935gUDNMCyk/LvrFU3JzoGf+h+px33HO1bws+LPmQ==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.2.1","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","html-react-parser":"^5.2.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.1.1","@types/hast":"^3.0.4","@types/node":"22.14.0","@types/react":"^19.1.0","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.5.3_1744436684873_0.2252022538493914","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"react-shiki","version":"0.6.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.6.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"7867fe1937a04d4c7ba43f6190db22d2a706fc93","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.6.0.tgz","fileCount":6,"integrity":"sha512-RCY5KcQCtDjNO6L17dzrwp70O36Td8kTyuZmd0pThiuJ5bSamzFvdSg1JG4bH6iqYVE4aNN07keldlQuvrAyEQ==","signatures":[{"sig":"MEYCIQD9ndvRe2dzSXP3E6hALnoFn+xyBTPsfzPyd4oXOwwsegIhALuSIDp6w3CzH7AD7WEkoGdnsMm0JofpSoUU6U1YRQMR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53780},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.6.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/0ba9b821594f58f97a6ba10c9ef15906/react-shiki-0.6.0.tgz","_integrity":"sha512-RCY5KcQCtDjNO6L17dzrwp70O36Td8kTyuZmd0pThiuJ5bSamzFvdSg1JG4bH6iqYVE4aNN07keldlQuvrAyEQ==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.2.1","dequal":"^2.0.3","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","benny":"^3.7.1","jsdom":"^26.0.0","vitest":"^3.1.1","@types/hast":"^3.0.4","@types/node":"22.14.0","@types/react":"^19.1.0","html-react-parser":"^5.2.3","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.6.0_1746330644499_0.3870905980447481","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"react-shiki","version":"0.7.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.7.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"8e833bedd153f4de8e4b2eb00c4af236de0c6705","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.7.0.tgz","fileCount":15,"integrity":"sha512-PBpCYbf8w5fVAYX2zR0bUT0nayrfxh1I2HEQHSnDXltyp7Cl9zULANeOivwcHOBM/unkSkU8pT+ghAZGoBdAGw==","signatures":[{"sig":"MEUCIDNyim//2I+PxkscpmR7Z+K/kWI50zujSbVTls509xCtAiEA6m1DmiPKnmBX2gF08iA3C9Lw4vsfp/lQGK8rWLZ7NZw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77375},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.7.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/354d0f18e21ecbfcb07befbb7648c174/react-shiki-0.7.0.tgz","_integrity":"sha512-PBpCYbf8w5fVAYX2zR0bUT0nayrfxh1I2HEQHSnDXltyp7Cl9zULANeOivwcHOBM/unkSkU8pT+ghAZGoBdAGw==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.2.1","dequal":"^2.0.3","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","benny":"^3.7.1","jsdom":"^26.0.0","vitest":"^3.1.1","@types/hast":"^3.0.4","@types/node":"22.14.0","@types/react":"^19.1.0","html-react-parser":"^5.2.3","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.7.0_1748674642134_0.5914817684740039","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"react-shiki","version":"0.7.1","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.7.1","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"d6b2994133352d7c804b20fc62b0d11a27220503","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.7.1.tgz","fileCount":16,"integrity":"sha512-Fg/y1ugOZ2ZnoljRmxILw3JvP+Ha81MrAS8fjBgCMTzXSg8jXeWxLCcdmA3QQqZsHi3TZFNPbVwZLsOgqD8bDQ==","signatures":[{"sig":"MEUCIHW0PWXOVOPACrqtBSsWXBPpobWD+ZE3tgtPK+smBejyAiEAoxJ1wKhfntyuMqCIqyoLjTZ4Stqvx8u99HYGhgKzl50=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87044},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.7.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":"./src/lib/styles.css","./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/65b0b34862f7eca9c96db720aa29ebda/react-shiki-0.7.1.tgz","_integrity":"sha512-Fg/y1ugOZ2ZnoljRmxILw3JvP+Ha81MrAS8fjBgCMTzXSg8jXeWxLCcdmA3QQqZsHi3TZFNPbVwZLsOgqD8bDQ==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.2.4","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"21.6.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.2.1","dequal":"^2.0.3","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","benny":"^3.7.1","jsdom":"^26.0.0","vitest":"^3.1.1","@types/hast":"^3.0.4","@types/node":"22.14.0","@types/react":"^19.1.0","html-react-parser":"^5.2.3","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.7.1_1748747011459_0.8739696827046277","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"name":"react-shiki","version":"0.7.2","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.7.2","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"cd71af1428d4761d0ac094adc9491c821f64f387","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.7.2.tgz","fileCount":16,"integrity":"sha512-HeOr2hImtHuRKFYjxTJZ6HVnAueY3mB2ARuqw2rRnsUnaDbR8fqCFoNTByBTTD48INNlh2/jOLz1IRByG+wM+w==","signatures":[{"sig":"MEYCIQCIAVLN32MF+zRROzgEtX6rF4Qfc7KeZgSd3jRTSJR39AIhAPYW1w2hARpBLVd3I55cMKV6sQSKl0yu4zVpZ5AdA+5a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88283},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.7.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":"./src/lib/styles.css","./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/6bab1e2444196ec2487314637400105e/react-shiki-0.7.2.tgz","_integrity":"sha512-HeOr2hImtHuRKFYjxTJZ6HVnAueY3mB2ARuqw2rRnsUnaDbR8fqCFoNTByBTTD48INNlh2/jOLz1IRByG+wM+w==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.2","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"22.16.0","dependencies":{"clsx":"^2.1.1","shiki":"^3.2.1","dequal":"^2.0.3","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","benny":"^3.7.1","jsdom":"^26.0.0","vitest":"^3.1.1","@types/hast":"^3.0.4","@types/node":"22.14.0","@types/react":"^19.1.0","html-react-parser":"^5.2.3","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.7.2_1752428840619_0.27629095456541264","host":"s3://npm-registry-packages-npm-production"}},"0.7.3":{"name":"react-shiki","version":"0.7.3","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.7.3","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"f50f4155d947e8d9aa683773b8462ab1c83007f3","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.7.3.tgz","fileCount":16,"integrity":"sha512-pEuW+EYTRhie7xEVs+ciL6Mp9Um8snJzOOBsN8gS0gpBKr+PVDA0UDg6EJTamRj/VXybt8JKhSNUHoHCWanlIQ==","signatures":[{"sig":"MEQCIGbSekWufsth6Lr+0IQ3meRpR80gxqveOCvEh7s3UgG7AiBD6HXYOykTg1WsFqLEI0emhNUBdwFal6Q0k9SMfM+EGw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87823},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.7.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":"./src/lib/styles.css","./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/fdd8ce66360c7741522cceefe46bf89f/react-shiki-0.7.3.tgz","_integrity":"sha512-pEuW+EYTRhie7xEVs+ciL6Mp9Um8snJzOOBsN8gS0gpBKr+PVDA0UDg6EJTamRj/VXybt8JKhSNUHoHCWanlIQ==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.2","description":"Syntax highlighter component for react using shiki","directories":{},"_nodeVersion":"22.16.0","dependencies":{"clsx":"^2.1.1","shiki":"^3.2.1","dequal":"^2.0.3","@types/jest":"^29.5.14","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","benny":"^3.7.1","jsdom":"^26.0.0","vitest":"^3.1.1","@types/hast":"^3.0.4","@types/node":"22.14.0","@types/react":"^19.1.0","html-react-parser":"^5.2.3","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.7.3_1755563867559_0.3537926488240226","host":"s3://npm-registry-packages-npm-production"}},"0.7.4":{"name":"react-shiki","version":"0.7.4","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.7.4","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"5722fac577f513ad1442651a6c46608986af3395","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.7.4.tgz","fileCount":16,"integrity":"sha512-L5E9pWh0MqRID7bcRVZ4fx0+X/3i9i7iGdXfR18OZ8leTuTclVoycTsYaNRpFnY4kyDLYDpfk6K6UHe4NRaEcg==","signatures":[{"sig":"MEUCIQC3jHQ6VOx31XYvj3o1QPldtC7j+4977dVJMO20U2wC0QIgcf1GR8Tn4k3EKs0krqbRgTrfcR3bnG2EL/f+z2lnox4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89663},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.7.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":"./src/lib/styles.css","./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/private/var/folders/9s/_jkfc69x3bv7t991dj329m300000gn/T/82e8c506132a11a0661dc187f32b2d85/react-shiki-0.7.4.tgz","_integrity":"sha512-L5E9pWh0MqRID7bcRVZ4fx0+X/3i9i7iGdXfR18OZ8leTuTclVoycTsYaNRpFnY4kyDLYDpfk6K6UHe4NRaEcg==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.2","description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/lib/styles.css"],"_nodeVersion":"22.16.0","dependencies":{"clsx":"^2.1.1","shiki":"^3.11.0","dequal":"^2.0.3","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","benny":"^3.7.1","jsdom":"^26.1.0","vitest":"^3.2.4","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"22.17.2","@types/react":"^19.1.10","html-react-parser":"^5.2.6","@vitejs/plugin-react":"^4.7.0","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.8.0"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0","@types/react":">=16.8.0","@types/react-dom":">=16.8.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.7.4_1756700069532_0.3442664724731521","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"react-shiki","version":"0.8.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.8.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"d1f1603145a2d17243aa7c164c677e7b6fb50a07","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.8.0.tgz","fileCount":16,"integrity":"sha512-ibZ89Y8Q7jLc1Qjsdsc43ca91OvgB80phuJ7mlcWfUsEc9TB24wvx4cLX8MT8Unfa1lt9tGjrZnFUSF9Bl3eqA==","signatures":[{"sig":"MEQCIEuLr/YPTA5z9dFeyGdrWNYWd3mTD8lS4P+sR2bF5YYPAiBLzf5o1hCr2MRN+c3RRkU+t+uQ3OmamugHfB61Vzcikg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89723},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.8.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":"./src/lib/styles.css","./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/tmp/1b35528064fedbbdb8c9233229f76a9c/react-shiki-0.8.0.tgz","_integrity":"sha512-ibZ89Y8Q7jLc1Qjsdsc43ca91OvgB80phuJ7mlcWfUsEc9TB24wvx4cLX8MT8Unfa1lt9tGjrZnFUSF9Bl3eqA==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.3","description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/lib/styles.css"],"_nodeVersion":"22.19.0","dependencies":{"clsx":"^2.1.1","shiki":"^3.11.0","dequal":"^2.0.3","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.4","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"22.17.2","@types/react":"^19.1.10","html-react-parser":"^5.2.6","@vitejs/plugin-react":"^4.7.0","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.8.0"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0","@types/react":">=16.8.0","@types/react-dom":">=16.8.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.8.0_1757232488896_0.7573297138583566","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"react-shiki","version":"0.9.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.9.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/avgvstvs96/react-shiki/issues"},"dist":{"shasum":"b616312d80a578f3a04586d29d9182322a3a7613","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.9.0.tgz","fileCount":16,"integrity":"sha512-5t+vHGglJioG3LU6uTKFaiOC+KNW7haL8e22ZHSP7m174ZD/X2KgCVJcxvcUOM3FiqjPQD09AyS9/+RcOh3PmA==","signatures":[{"sig":"MEUCIQDUqbmH1/VryfOz/nv+LYut6Rdfe2bQ06VeemdS0q3ADwIgAPV+5ZObp3wZFjWMjID3NkOOMIlsHE8K8O6oDi7i7yY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94927},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.9.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":"./src/lib/styles.css","./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/tmp/fab27898da58238aae0adbcb9bcb8213/react-shiki-0.9.0.tgz","_integrity":"sha512-5t+vHGglJioG3LU6uTKFaiOC+KNW7haL8e22ZHSP7m174ZD/X2KgCVJcxvcUOM3FiqjPQD09AyS9/+RcOh3PmA==","repository":{"url":"git+https://github.com/avgvstvs96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.3","description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/lib/styles.css"],"_nodeVersion":"22.20.0","dependencies":{"clsx":"^2.1.1","shiki":"^3.11.0","dequal":"^2.0.3","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.4","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"22.17.2","@types/react":"^19.1.10","html-react-parser":"^5.2.6","@vitejs/plugin-react":"^4.7.0","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.8.0"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0","@types/react":">=16.8.0","@types/react-dom":">=16.8.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.9.0_1759484693345_0.11076791267297392","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"react-shiki","version":"0.9.1","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.9.1","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/AVGVSTVS96/react-shiki/issues"},"dist":{"shasum":"bcaa2cf26bb4714f2d1e9d9a7c1491fb59262dac","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.9.1.tgz","fileCount":16,"integrity":"sha512-Ln1PnISi7WaSlheSBRdxVruVbU1zMUkCmxe+vmbIvZSsHdfvOF5NBOgf1h4cCr6OjdR0dLAxmPKcx3tobdyxVA==","signatures":[{"sig":"MEYCIQCp9PX7mxPJFBW3xhycHy2m2z3RxiraXctoi4J+VXBb9wIhAM4UnmBasnjaCHth0kP6+Egds9uUhhzWBL9YEZcr1SI0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.9.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":95342},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.9.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":"./src/lib/styles.css","./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"avgvstvs96","email":"bassim101@gmail.com"},"_resolved":"/tmp/c175bc0e9c4e061eecb618ef42d9d60a/react-shiki-0.9.1.tgz","_integrity":"sha512-Ln1PnISi7WaSlheSBRdxVruVbU1zMUkCmxe+vmbIvZSsHdfvOF5NBOgf1h4cCr6OjdR0dLAxmPKcx3tobdyxVA==","repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"10.9.4","description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/lib/styles.css"],"_nodeVersion":"22.21.1","dependencies":{"clsx":"^2.1.1","shiki":"^3.11.0","dequal":"^2.0.3","unist-util-visit":"^5.0.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.4","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"22.17.2","@types/react":"^19.1.10","html-react-parser":"^5.2.6","@vitejs/plugin-react":"^4.7.0","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.8.0"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0","@types/react":">=16.8.0","@types/react-dom":">=16.8.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.9.1_1765549893842_0.42041403415810974","host":"s3://npm-registry-packages-npm-production"}},"0.9.2":{"name":"react-shiki","version":"0.9.2","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.9.2","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/AVGVSTVS96/react-shiki/issues"},"dist":{"shasum":"0f4ed8950277b7393921faf4874e9f89f96f72b2","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.9.2.tgz","fileCount":16,"integrity":"sha512-TMj2IYm9mWUhWF+OEffdfnaYEpYLr3vs5b8xRcnuRYR4Dkk2TU2zT9RlbSlktl5mLNdiioDnkEqZYzsGYjYQNA==","signatures":[{"sig":"MEYCIQDihxFTBcaRbS+UUpJeKLS27b6LsyrGruR5vtuWdZOwWwIhAJw+BiUlrIA9hNK4mvfAP8NlqtN4IxPl9QWYZ7Ivnj0i","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.9.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99798},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.9.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":"./src/lib/styles.css","./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7f2c0849-32be-4e2e-8826-ffc7111dbc48"}},"_resolved":"/tmp/e207cdf7da6f5f80f787d4e0619f9f3c/react-shiki-0.9.2.tgz","_integrity":"sha512-TMj2IYm9mWUhWF+OEffdfnaYEpYLr3vs5b8xRcnuRYR4Dkk2TU2zT9RlbSlktl5mLNdiioDnkEqZYzsGYjYQNA==","repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"11.8.0","description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/lib/styles.css"],"_nodeVersion":"24.13.1","dependencies":{"clsx":"^2.1.1","shiki":"^4.0.0","dequal":"^2.0.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","jsdom":"^28.1.0","vitest":"^4.0.18","@types/hast":"^3.0.4","@types/jest":"^30.0.0","@types/node":"25.3.3","@types/react":"^19.1.10","html-react-parser":"^5.2.17","@vitejs/plugin-react":"^5.1.4","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0","@types/react":">=16.8.0","@types/react-dom":">=16.8.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.9.2_1772510012153_0.06732973436328504","host":"s3://npm-registry-packages-npm-production"}},"0.9.3":{"name":"react-shiki","version":"0.9.3","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.9.3","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/AVGVSTVS96/react-shiki/issues"},"dist":{"shasum":"d4e1a723371d5b0a0c41e5c2c9aea718bbfca3bb","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.9.3.tgz","fileCount":17,"integrity":"sha512-F2Uju1/BeUTFQeS+3v3HM0Ry4p+8gcLC4ssObmXxwrzlwPJYq5RGAKcA1r5JBEnJCpEVKf9PajnwM+JMwZnzGg==","signatures":[{"sig":"MEQCIDTuhSYZbD9p5MYdAUFoGUMqri07g0kfXTLDN/c7ODG5AiAhKpP/0TLxJYXWnoeWrpM6/6ayyWdrc7AKJ8CBMxyzog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.9.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":102118},"main":"./dist/index.js","type":"module","_from":"file:react-shiki-0.9.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./css":{"types":"./src/styles/css.d.ts","default":"./src/styles/features.css"},"./web":{"types":"./dist/web.d.ts","default":"./dist/web.js"},"./core":{"types":"./dist/core.d.ts","default":"./dist/core.js"}},"scripts":{"dev":"tsup --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsup","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7f2c0849-32be-4e2e-8826-ffc7111dbc48"}},"_resolved":"/tmp/9bdff9b6c40821601184b7bbc8c37cf5/react-shiki-0.9.3.tgz","_integrity":"sha512-F2Uju1/BeUTFQeS+3v3HM0Ry4p+8gcLC4ssObmXxwrzlwPJYq5RGAKcA1r5JBEnJCpEVKf9PajnwM+JMwZnzGg==","repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"11.11.0","description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/styles/component.css","src/styles/features.css"],"_nodeVersion":"24.14.1","dependencies":{"clsx":"^2.1.1","shiki":"^4.0.0","dequal":"^2.0.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","jsdom":"^28.1.0","vitest":"^4.0.18","@types/hast":"^3.0.4","@types/jest":"^30.0.0","@types/node":"25.3.3","@types/react":"^19.1.10","html-react-parser":"^5.2.17","@vitejs/plugin-react":"^5.1.4","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"react":">= 16.8.0","react-dom":">= 16.8.0","@types/react":">=16.8.0","@types/react-dom":">=16.8.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.9.3_1776116481669_0.7907803215212792","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"react-shiki","version":"0.10.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.10.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/AVGVSTVS96/react-shiki/issues"},"dist":{"shasum":"e8f44bf0c456ad79ceca129d1686dd3fc73867a6","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.10.0.tgz","fileCount":18,"integrity":"sha512-e99c1EcbleMyjY0gjO2/i1V3EBLiagcGf6wwlcnxi8bvU6zQCP1/h39StIOHJ58ngRsy0Vyd0wDGa8FAzy4N7g==","signatures":[{"sig":"MEUCIQCPv1llW/2zNNR0EsIfdVCxN3rreMsiU7zGjO+vuLQJ7AIgdPPOyowNbxpY7QuhfCX8IE7SvOJ1BNlaEQvvikZpHjA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":105624},"main":"./dist/index.mjs","type":"module","_from":"file:react-shiki-0.10.0.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./css":{"types":"./src/styles/css.d.ts","default":"./src/styles/features.css"},"./web":{"types":"./dist/web.d.mts","default":"./dist/web.mjs"},"./core":{"types":"./dist/core.d.mts","default":"./dist/core.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsdown","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7f2c0849-32be-4e2e-8826-ffc7111dbc48"}},"_resolved":"/tmp/d20419e7e6521bf8163319e5f1abe041/react-shiki-0.10.0.tgz","_integrity":"sha512-e99c1EcbleMyjY0gjO2/i1V3EBLiagcGf6wwlcnxi8bvU6zQCP1/h39StIOHJ58ngRsy0Vyd0wDGa8FAzy4N7g==","repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"11.12.1","description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/styles/component.css","src/styles/features.css"],"_nodeVersion":"24.15.0","dependencies":{"clsx":"^2.1.1","shiki":"^4.0.2","dequal":"^2.0.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","tsdown":"^0.21.10","vitest":"^4.1.5","publint":"^0.3.19","@tsdown/css":"0.21.10","@types/hast":"^3.0.4","@types/jest":"^30.0.0","@types/node":"25.6.0","@types/react":"^19.2.14","html-react-parser":"^6.1.0","@vitejs/plugin-react":"^6.0.1","@arethetypeswrong/core":"^0.18.2","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0","@types/react":">=16.14.0","@types/react-dom":">=16.14.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.10.0_1778130300298_0.32906778171569484","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"react-shiki","version":"0.10.1","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.10.1","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","bugs":{"url":"https://github.com/AVGVSTVS96/react-shiki/issues"},"dist":{"shasum":"261df233152b3b673b2dbc0d95922043e212aecf","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.10.1.tgz","fileCount":18,"integrity":"sha512-mQ6CXwQ6mEIsQvK30+HRONZsiUKGAOubaVCfXCe0Ejsp7P6U1QDpayOHyAkcMTzSLvgfPnCkny399EK7Mb46Sg==","signatures":[{"sig":"MEUCIQCGdPAbtRSm5iLuZpRBZFa/rHJGsjvG7WolSJ2VvtczVQIgLUjGh9uTfFkv1Y2lNzV+35BFD4QVSZJyJ3GaYGpCdpw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.10.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":104302},"main":"./dist/index.mjs","type":"module","_from":"file:react-shiki-0.10.1.tgz","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./css":{"types":"./src/styles/css.d.ts","default":"./src/styles/features.css"},"./web":{"types":"./dist/web.d.mts","default":"./dist/web.mjs"},"./core":{"types":"./dist/core.d.mts","default":"./dist/core.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsdown","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7f2c0849-32be-4e2e-8826-ffc7111dbc48"}},"_resolved":"/tmp/1cdc0c0bbd06ceef8fb231ba6a728f24/react-shiki-0.10.1.tgz","_integrity":"sha512-mQ6CXwQ6mEIsQvK30+HRONZsiUKGAOubaVCfXCe0Ejsp7P6U1QDpayOHyAkcMTzSLvgfPnCkny399EK7Mb46Sg==","repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"package"},"_npmVersion":"11.12.1","description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/styles/component.css","src/styles/features.css"],"_nodeVersion":"24.15.0","dependencies":{"clsx":"^2.1.1","shiki":"^4.0.2","dequal":"^2.0.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","tsdown":"^0.21.10","vitest":"^4.1.5","publint":"^0.3.19","@tsdown/css":"0.21.10","@types/hast":"^3.0.4","@types/jest":"^30.0.0","@types/node":"25.6.0","@types/react":"^19.2.14","html-react-parser":"^6.1.0","@vitejs/plugin-react":"^6.0.1","@arethetypeswrong/core":"^0.18.2","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0","@types/react":">=16.14.0","@types/react-dom":">=16.14.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.10.1_1779701792348_0.25908125152102546","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"react-shiki","version":"0.11.0","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.11.0","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","dist":{"shasum":"74a1c02c28dfa87e06e9d4e3031401cc559164da","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.11.0.tgz","fileCount":18,"integrity":"sha512-rqQtAvR8igCA9TVPfRhG6BSNeV+pLJZIkySms/K0/jYIoehG4/EsXD3cEhC94RXEpUVpmCrNkYhKR7RBO1YUGw==","signatures":[{"sig":"MEUCIHFb0dan6Gdsh+cptpYKGI53xN6Xvtdh9xzT2uveuj7AAiEA8WkLOayCY+/bEumlcf1nL1lbheOcsoF+apb4RrsAu6I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":115326},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./css":{"types":"./src/styles/css.d.ts","default":"./src/styles/features.css"},"./web":{"types":"./dist/web.d.mts","default":"./dist/web.mjs"},"./core":{"types":"./dist/core.d.mts","default":"./dist/core.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsdown","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7f2c0849-32be-4e2e-8826-ffc7111dbc48"}},"repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"package"},"description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["src/styles/component.css","src/styles/features.css"],"_nodeVersion":"24.18.0","dependencies":{"clsx":"^2.1.1","shiki":"^4.3.0","dequal":"^2.0.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","tsdown":"^0.22.3","vitest":"^4.1.9","publint":"^0.3.21","@tsdown/css":"0.22.3","@types/hast":"^3.0.4","@types/jest":"^30.0.0","@types/node":"25.9.4","@types/react":"^19.2.17","html-react-parser":"^6.1.3","@vitejs/plugin-react":"^6.0.3","@arethetypeswrong/core":"^0.18.4","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0","@types/react":">=16.14.0","@types/react-dom":">=16.14.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.11.0_1783641671682_0.6804391015228017","host":"s3://npm-registry-packages-npm-production"}},"0.11.1":{"name":"react-shiki","version":"0.11.1","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.11.1","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","dist":{"shasum":"285ea6120ef36d578785747bfe787fe454541bab","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.11.1.tgz","fileCount":19,"integrity":"sha512-LCxMH0pij36TApfGq6QN22xAv1ndUDI0aA7OoIFhZBPaeqPdlDE97Zp7A7dVUp4q8+Nst4Jv/p9lfOa3v+BA6A==","signatures":[{"sig":"MEUCIGzONVtWCWfODi1lNdzX81Kb+P5vJF9yWAGAAsKT1WXMAiEAj0F5912iWY0CYykVNMGyYsEDgkOLGqvtVF92d4x0yIY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.11.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":132747},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./css":{"types":"./src/styles/css.d.ts","default":"./dist/style.css"},"./web":{"types":"./dist/web.d.mts","default":"./dist/web.mjs"},"./core":{"types":"./dist/core.d.mts","default":"./dist/core.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench","build":"tsdown","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write .","check:package":"node scripts/check-package.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7f2c0849-32be-4e2e-8826-ffc7111dbc48"}},"repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"package"},"description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"24.18.0","dependencies":{"clsx":"^2.1.1","shiki":"^4.3.0","dequal":"^2.0.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^29.1.1","tsdown":"^0.22.9","vitest":"^4.1.9","publint":"^0.3.21","rolldown":"^1.2.0","@tsdown/css":"^0.22.9","@types/hast":"^3.0.4","@types/jest":"^30.0.0","@types/node":"25.9.4","@types/react":"^19.2.17","html-react-parser":"^6.1.3","@vitejs/plugin-react":"^6.0.3","@arethetypeswrong/core":"^0.18.4","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0","@types/react":">=16.14.0","@types/react-dom":">=16.14.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.11.1_1786490434853_0.3996739551981998","host":"s3://npm-registry-packages-npm-production"}},"0.11.2":{"name":"react-shiki","version":"0.11.2","keywords":["react","shiki","code","syntax","highlighter","syntax-highlighter","react-syntax-highlighter"],"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","_id":"react-shiki@0.11.2","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"homepage":"https://react-shiki.vercel.app/","dist":{"shasum":"a1c6a6de8b681f39cde7b4a9a435782b29ce5969","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.11.2.tgz","fileCount":19,"integrity":"sha512-oyhQea4Wx5JkSGVXImolgcL1P6NdGnFrHTJE+574gkjqJQrlPbbghT6UREsvSroJsb21++bgBlOaSj0Pi7Jnnw==","signatures":[{"sig":"MEUCIQCGwtyvsjvAhE4Msem2vPeC+H9GrPvWh4h60b9faBPjrAIgM5+NXO2wWWP9Jy2z7Dx+L2pri2x+1ARFc+fEUk2stPQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGliZ5K+UT/eR+34FCoPLbAhQyH58dhB1n4J0Uq6spTRAiBbgNy9FZYjn5r4YwT+jVGk7pBUJzS3ZB63kMaG45gLqg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.11.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":156885},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./css":{"types":"./src/styles/css.d.ts","default":"./dist/style.css"},"./web":{"types":"./dist/web.d.mts","default":"./dist/web.mjs"},"./core":{"types":"./dist/core.d.mts","default":"./dist/core.mjs"}},"scripts":{"dev":"tsdown --watch","lint":"biome lint .","test":"vitest","bench":"vitest bench --typecheck.enabled=false","build":"tsdown","check":"tsc && biome check .","format":"biome format --write .","lint:fix":"biome lint --write .","check:package":"node scripts/check-package.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7f2c0849-32be-4e2e-8826-ffc7111dbc48"}},"repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"package"},"description":"Syntax highlighter component for react using shiki","directories":{},"sideEffects":["**/*.css"],"dependencies":{"clsx":"^2.1.1","shiki":"^4.5.0","dequal":"^2.0.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^30.1.2","react":"^19.3.0","tsdown":"^0.23.0","vitest":"^5.0.3","publint":"^0.3.25","rolldown":"^1.2.12","react-dom":"^19.3.0","@tsdown/css":"^0.23.0","@types/hast":"^3.0.5","@types/jest":"^30.0.0","@types/node":"25.9.9","@types/react":"^19.3.0","@types/react-dom":"^19.3.0","html-react-parser":"^6.1.8","@testing-library/dom":"^10.4.2","@vitejs/plugin-react":"^6.1.2","@arethetypeswrong/core":"^0.18.5","@testing-library/react":"^16.3.3","@testing-library/jest-dom":"^7.0.1"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0","@types/react":">=16.14.0","@types/react-dom":">=16.14.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-shiki_0.11.2_1791312273699_0.05957834251904082","host":"s3://npm-registry-packages-npm-production"}},"0.11.3":{"_id":"react-shiki@0.11.3","dist":{"shasum":"f87be81e051421ea9ef97c59f0d539377dfe625a","tarball":"https://registry.npmjs.org/react-shiki/-/react-shiki-0.11.3.tgz","fileCount":19,"integrity":"sha512-HNnw4849CGKf/+NCeT8n/+KhCTw9POKSjtlGBINk/tS4sC402IbleYWFIp5o5sMc5LhgJU88ohB7LxL4lQY1/g==","signatures":[{"sig":"MEUCIQDpxgRjDkxc8USzRTRuWIyDHuNjaL70N5la4qm1uv/JCwIgcR0U6ILWfwql3DaInlmuFp/YpMjWQvXWFN7anTM332w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHPWHMITkWUjI0jvGXf7mj5dXOMuovrHYQ/91BrnRRE0AiB6zhHoxm/PdDns8HCmT6lQOpEtVxnHG3Vnz9agCqHJuw=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-shiki@0.11.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":164294},"main":"./dist/index.mjs","name":"react-shiki","type":"module","types":"./dist/index.d.mts","author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./css":{"types":"./src/styles/css.d.ts","default":"./dist/style.css"},"./web":{"types":"./dist/web.d.mts","default":"./dist/web.mjs"},"./core":{"types":"./dist/core.d.mts","default":"./dist/core.mjs"}},"license":"MIT","scripts":{"dev":"tsdown --watch","test":"vitest run","bench":"vitest bench --typecheck.enabled=false","build":"tsdown","typecheck":"tsc","check:package":"node scripts/check-package.ts"},"version":"0.11.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"7f2c0849-32be-4e2e-8826-ffc7111dbc48"}},"homepage":"https://react-shiki.vercel.app/","keywords":["code","highlighter","react","react-syntax-highlighter","shiki","syntax","syntax-highlighter"],"repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"packages/react-shiki"},"description":"Syntax highlighter component for react using shiki","directories":{},"maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"sideEffects":["**/*.css"],"dependencies":{"clsx":"^2.1.1","shiki":"^4.5.0","dequal":"^2.0.3","unist-util-visit":"^5.1.0","hast-util-to-jsx-runtime":"^2.3.6"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^31.0.0","react":"^19.3.1","tsdown":"^0.23.7","vitest":"^5.1.0","publint":"^0.3.25","rolldown":"^1.3.0","react-dom":"^19.3.1","@tsdown/css":"^0.23.7","@types/hast":"^3.0.5","@types/node":"25.9.9","@types/react":"^19.3.0","@types/react-dom":"^19.3.0","html-react-parser":"^6.1.9","@testing-library/dom":"^10.4.2","@vitejs/plugin-react":"^6.2.1","@arethetypeswrong/core":"^0.18.5","@testing-library/react":"^16.3.3","@testing-library/jest-dom":"^7.0.1"},"peerDependencies":{"react":">=16.14.0","react-dom":">=16.14.0","@types/react":">=16.14.0","@types/react-dom":">=16.14.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-shiki_0.11.3_1794548743399_0.22549228389707132"}}},"time":{"created":"2024-08-05T02:37:11.837Z","modified":"2026-11-13T05:45:43.870Z","0.1.0":"2024-08-05T02:37:12.074Z","0.1.1":"2024-08-08T05:06:55.746Z","0.1.2":"2024-08-11T05:31:25.673Z","0.2.0":"2025-01-26T08:33:14.293Z","0.2.1":"2025-01-26T09:05:23.967Z","0.2.2":"2025-01-27T02:16:08.441Z","0.2.3":"2025-01-30T01:21:17.453Z","0.2.4":"2025-02-03T23:09:55.752Z","0.3.0":"2025-02-18T06:08:09.675Z","0.4.0":"2025-02-26T23:01:00.492Z","0.4.1":"2025-03-08T07:11:15.324Z","0.5.0":"2025-03-28T04:49:45.455Z","0.5.1":"2025-04-01T05:41:44.585Z","0.5.2":"2025-04-04T05:52:57.551Z","0.5.3":"2025-04-12T05:44:45.117Z","0.6.0":"2025-05-04T03:50:44.732Z","0.7.0":"2025-05-31T06:57:22.322Z","0.7.1":"2025-06-01T03:03:31.659Z","0.7.2":"2025-07-13T17:47:20.795Z","0.7.3":"2025-08-19T00:37:47.792Z","0.7.4":"2025-09-01T04:14:29.719Z","0.8.0":"2025-09-07T08:08:09.093Z","0.9.0":"2025-10-03T09:44:53.540Z","0.9.1":"2025-12-12T14:31:34.003Z","0.9.2":"2026-03-03T03:53:32.312Z","0.9.3":"2026-04-13T21:41:21.849Z","0.10.0":"2026-05-07T05:05:00.465Z","0.10.1":"2026-05-25T09:36:32.505Z","0.11.0":"2026-07-10T00:01:11.852Z","0.11.1":"2026-08-11T23:20:35.021Z","0.11.2":"2026-10-06T18:44:33.786Z","0.11.3":"2026-11-13T05:45:43.520Z"},"author":{"url":"https://bassim.build","name":"Bassim Shahidy","email":"bassim@shahidy.com"},"license":"MIT","homepage":"https://react-shiki.vercel.app/","keywords":["code","highlighter","react","react-syntax-highlighter","shiki","syntax","syntax-highlighter"],"repository":{"url":"git+https://github.com/AVGVSTVS96/react-shiki.git","type":"git","directory":"packages/react-shiki"},"description":"Syntax highlighter component for react using shiki","maintainers":[{"name":"avgvstvs96","email":"bassim101@gmail.com"}],"readme":"# 🎨 react-shiki\n\nA performant client-side syntax highlighting component and hook for React, built with [Shiki](https://shiki.matsu.io/).\n\n<!--toc:start-->\n- [🎨 react-shiki](#-react-shiki)\n  - [Features](#features)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Bundle Options](#bundle-options)\n    - [`react-shiki` (Full Bundle)](#react-shiki-full-bundle)\n    - [`react-shiki/web` (Web Bundle)](#react-shikiweb-web-bundle)\n    - [`react-shiki/core` (Minimal Bundle)](#react-shikicore-minimal-bundle)\n    - [RegExp Engines](#regexp-engines)\n      - [Full and Web Bundles](#full-and-web-bundles)\n      - [Custom Highlighters (Core Bundle)](#custom-highlighters-core-bundle)\n        - [JavaScript Raw Engine](#javascript-raw-engine)\n  - [Output Formats](#output-formats)\n  - [Configuration](#configuration)\n    - [Common Configuration Options](#common-configuration-options)\n      - [react-shiki Options](#react-shiki-options)\n      - [Shiki Pass-through Options](#shiki-pass-through-options)\n    - [Component-specific Props](#component-specific-props)\n    - [Embedded Language Highlighting](#embedded-language-highlighting)\n    - [Multi-theme Support](#multi-theme-support)\n      - [Making Themes Reactive](#making-themes-reactive)\n        - [Option 1: Using `light-dark()` Function (Recommended)](#option-1-using-light-dark-function-recommended)\n        - [Option 2: CSS Theme Switching](#option-2-css-theme-switching)\n    - [Custom Themes](#custom-themes)\n    - [Custom Languages](#custom-languages)\n      - [Preloading Languages](#preloading-languages)\n    - [Language Aliases](#language-aliases)\n    - [Custom Transformers](#custom-transformers)\n    - [Line Numbers](#line-numbers)\n  - [Integration](#integration)\n    - [Integration with react-markdown](#integration-with-react-markdown)\n    - [Handling Inline Code](#handling-inline-code)\n  - [Performance](#performance)\n    - [Throttling Real-time Highlighting](#throttling-real-time-highlighting)\n<!--toc:end-->\n\n## Features\n\n- 🖼️ Provides both a `ShikiHighlighter` component and a `useShikiHighlighter` hook for more flexibility\n- 🔐 Flexible output: Choose between React elements (no `dangerouslySetInnerHTML`) or HTML strings\n- 📦 Multiple bundle options: Full bundle (~1.2MB gz), web bundle (~707KB gz), or minimal core bundle for fine-grained bundle control\n- 🖌️ Full support for custom TextMate themes and languages, passed as objects or dynamic imports\n- 🧬 Automatic highlighting of embedded languages (e.g. TypeScript fenced inside Markdown) via Shiki's `guessEmbeddedLanguages`\n- 🔧 Supports passing custom Shiki transformers to the highlighter, in addition to all other options supported by `codeToHast`\n- 🚰 Performant highlighting of streamed code, with optional throttling\n- 📚 Includes minimal default styles for code blocks\n- 🚀 Shiki dynamically imports only the languages and themes used on a page for optimal performance\n- 🖥️ `ShikiHighlighter` component displays a language label for each code block\n  when `showLanguage` is set to `true` (default)\n- 🎨 Customizable styling of generated code blocks and language labels\n- 📏 Optional line numbers with customizable starting number and styling\n\n## Installation\n\n```bash\nnpm i react-shiki\n```\n\n## Usage\n\nYou can use either the `ShikiHighlighter` component or the `useShikiHighlighter` hook to highlight code.\n\n**Using the Component:**\n\n```tsx\nimport ShikiHighlighter from \"react-shiki\";\n\nfunction CodeBlock() {\n  return (\n    <ShikiHighlighter language=\"jsx\" theme=\"ayu-dark\">\n      {code.trim()}\n    </ShikiHighlighter>\n  );\n}\n```\n\n**Using the Hook:**\n\n```tsx\nimport { useShikiHighlighter } from \"react-shiki\";\n\nfunction CodeBlock({ code, language }) {\n  const highlightedCode = useShikiHighlighter(code, language, \"github-dark\");\n\n  return <div className=\"code-block\">{highlightedCode}</div>;\n}\n```\n\n## Bundle Options\n`react-shiki`, like `shiki`, offers three entry points to balance convenience and bundle optimization:\n\n### `react-shiki` (Full Bundle)\n```tsx\nimport ShikiHighlighter from 'react-shiki';\n```\n- **Size**: ~6.4MB minified, ~1.2MB gzipped (react-shiki itself: ~9KB minified, ~4KB gzipped)\n- **Languages**: All Shiki [languages](https://shiki.style/languages) and [themes](https://shiki.style/themes)\n- **Exported engines**: `createJavaScriptRegexEngine`, `createJavaScriptRawEngine`\n- **Use case**: Unknown language requirements, maximum language support\n- **Setup**: Zero configuration required\n\n### `react-shiki/web` (Web Bundle)\n```tsx\nimport ShikiHighlighter from 'react-shiki/web';\n```\n- **Size**: ~3.8MB minified, ~707KB gzipped (react-shiki itself: ~9KB minified, ~4KB gzipped)\n- **Languages**: [Web-focused languages](https://shiki.style/guide/bundles#shiki-bundle-web) (HTML, CSS, JS, TS, JSON, Markdown, Vue, JSX, Svelte)\n- **Exported engines**: `createJavaScriptRegexEngine`, `createJavaScriptRawEngine`\n- **Use case**: Web applications with balanced size/functionality\n- **Setup**: Drop-in replacement for main entry point\n\n### `react-shiki/core` (Minimal Bundle)\n```tsx\nimport ShikiHighlighter, { \n  createHighlighterCore,        // re-exported from shiki/core\n  createOnigurumaEngine,        // re-exported from shiki/engine/oniguruma\n  createJavaScriptRegexEngine,  // re-exported from shiki/engine/javascript\n} from 'react-shiki/core';\n\n// Create custom highlighter with dynamic imports to optimize client-side bundle size\nconst highlighter = await createHighlighterCore({\n  themes: [import('@shikijs/themes/nord')],\n  langs: [import('@shikijs/langs/typescript')],\n  engine: createOnigurumaEngine(import('shiki/wasm')) \n    // or createJavaScriptRegexEngine()\n});\n\n<ShikiHighlighter highlighter={highlighter} language=\"typescript\" theme=\"nord\">\n  {code}\n</ShikiHighlighter>\n```\n- **Size**: ~9KB minified (~4KB gzipped) + your imported themes/languages\n- **Languages**: User-defined via custom highlighter  \n- **Use case**: Production apps requiring maximum bundle control\n- **Setup**: Requires custom highlighter configuration\n- **Engine options**: Choose JavaScript engine (smaller bundle, faster startup) or Oniguruma (WASM, maximum language support)\n\n### RegExp Engines\n\nShiki offers three built-in engines for syntax highlighting:\n\n| Engine | Payload (gzip) | Startup | Grammar support |\n| --- | --- | --- | --- |\n| **Oniguruma** (default) | ~150 KB (466 KB WASM) | fetch + compile WASM | Reference engine, all grammars |\n| **JavaScript RegExp** | ~20 KB | none, plain JS | All built-in languages ([compatibility table](https://shiki.style/references/engine-js-compat)); [strict by default](#full-and-web-bundles) |\n| **JavaScript Raw** | ~1 KB | none | [Pre-compiled grammars](https://shiki.style/guide/regex-engines#pre-compiled-languages) only, has a [known bug](https://github.com/shikijs/shiki/issues/918) |\n\nPayload sizes measured against shiki 4.3.0: `onig.wasm` is 466 KB (149 KB gzipped), the JavaScript engine's pattern transpiler ([oniguruma-to-es](https://github.com/slevithan/oniguruma-to-es)) is 57 KB (20 KB gzipped), and the raw engine skips the transpiler entirely. Beyond the smaller download, the JavaScript engine also starts instantly (no WASM fetch and compile) and [runs patterns as native JavaScript RegExp](https://shiki.style/guide/regex-engines#javascript-regexp-engine), which is faster for some languages.\n\n#### Full and Web Bundles\n\nThe full and web bundles use Oniguruma by default. You can swap to the JavaScript engine by passing `'javascript'` to `engine`. react-shiki creates and caches the engine internally, no need to import it, no WASM fetch with `'javascript'`, and it's safe to pass inline:\n\n```tsx\n// Hook\nconst highlightedCode = useShikiHighlighter(code, 'typescript', 'github-dark', {\n  engine: 'javascript'\n});\n\n// Component\n<ShikiHighlighter language=\"typescript\" theme=\"github-dark\" engine=\"javascript\">\n  {code}\n</ShikiHighlighter>\n```\n\n> [!NOTE]\n> The underlying highlighter is a singleton created on the first highlight, so pass the same engine at every call site; mixed engines resolve to whichever highlighted first. \n\nTo customize engine configuration beyond the named defaults, pass an engine instance. **Create it once at module scope**; this avoids recreating new instances on every render, which would defeat memoization:\n\n```tsx\nimport { useShikiHighlighter, createJavaScriptRegexEngine } from 'react-shiki';\n\n// Ensure this is at the module scope: created once, stable across renders\nconst engine = createJavaScriptRegexEngine({ forgiving: true });\n\nconst highlightedCode = useShikiHighlighter(code, 'typescript', 'github-dark', {\n  engine\n});\n```\n\nThe JavaScript engine is strict by default: it throws when a grammar uses patterns it can't convert. `forgiving: true` skips those patterns for best-effort output. It also accepts `target` and `regexConstructor`, see [Shiki - RegExp Engines](https://shiki.style/guide/regex-engines) for details.\n\nThe JavaScript Raw engine works the same way, but only with [pre-compiled languages](https://shiki.style/guide/regex-engines#pre-compiled-languages) (`@shikijs/langs-precompiled`). The full and web bundles don't support the raw engine because they bundle standard grammars, you need a [custom highlighter](#custom-highlighters-core-bundle).\n\n> [!IMPORTANT]\n> **Heads up:** in a future release, react-shiki's default engine will be swapped from Oniguruma WASM to the JavaScript engine (with [`forgiving`](https://shiki.style/guide/regex-engines#use-with-unsupported-languages) enabled by default).\n\n#### Custom Highlighters (Core Bundle)\n\nNamed engines (`'javascript'`, `'oniguruma'`) don't apply to the core bundle since you create the highlighter with `createHighlighterCore`; instead, use `createJavaScriptRegexEngine` or `createOnigurumaEngine` to create a custom engine instance:\n\n```tsx\nimport {\n  createHighlighterCore,\n  createOnigurumaEngine,\n  createJavaScriptRegexEngine\n} from 'react-shiki/core';\n\nconst highlighter = await createHighlighterCore({\n  themes: [import('@shikijs/themes/nord')],\n  langs: [import('@shikijs/langs/typescript')],\n  engine: createJavaScriptRegexEngine() // or createOnigurumaEngine(import('shiki/wasm'))\n});\n```\n\n##### JavaScript Raw Engine\n\nThe JavaScript Raw engine is the smallest option at only ~1 KB, but requires [pre-compiled languages](https://shiki.style/guide/regex-engines#pre-compiled-languages), and faces a known upstream bug -- [shikijs/shiki:issue#918](https://github.com/shikijs/shiki/issues/918) -- causing some languages (Python, HTML, Perl, and YAML among those reported) to highlight incorrectly.\n\n```tsx\nimport {\n  useShikiHighlighter,\n  createHighlighterCore,\n  createJavaScriptRawEngine,\n} from 'react-shiki/core';\n\n// Module scope: raw engine + pre-compiled grammars, smallest and fastest\nconst highlighter = await createHighlighterCore({\n  themes: [import('@shikijs/themes/github-dark')],\n  langs: [import('@shikijs/langs-precompiled/typescript')],\n  engine: createJavaScriptRawEngine()\n});\n\nconst highlightedCode = useShikiHighlighter(code, 'typescript', 'github-dark', {\n  highlighter\n});\n```\n\nBe sure to verify your language highlights correctly if you choose to use the raw engine ([shikijs/shiki:issue#918](https://github.com/shikijs/shiki/issues/918)).\n\n\n## Output Formats\n\n`react-shiki` can return highlighted code in three formats:\n\n**React Nodes (Default)** - Rendered as React elements, no `dangerouslySetInnerHTML` required\n```tsx\n// Hook\nconst highlightedCode = useShikiHighlighter(code, \"tsx\", \"github-dark\");\n\n// Component\n<ShikiHighlighter language=\"tsx\" theme=\"github-dark\">\n  {code}\n</ShikiHighlighter>\n```\n\n**HTML String** - Rendered via `dangerouslySetInnerHTML`\n```tsx\n// Hook (returns HTML string, use dangerouslySetInnerHTML to render)\nconst highlightedCode = useShikiHighlighter(code, \"tsx\", \"github-dark\", {\n  outputFormat: 'html'\n});\n\n// Component (automatically uses dangerouslySetInnerHTML when outputFormat is 'html')\n<ShikiHighlighter language=\"tsx\" theme=\"github-dark\" outputFormat=\"html\">\n  {code}\n</ShikiHighlighter>\n```\n\n**Shiki Tokens (Experimental)** - Hook-only output (bring your own renderer, react-shiki does not provide one)\n```tsx\nconst highlighted = useShikiHighlighter(code, \"tsx\", \"github-dark\", {\n  outputFormat: \"tokens\",\n});\n\n// Sample only, not a production renderer: you own rendering, memoization,\n// and commit management (critical for streaming highlighting)\nconst rendered = highlighted?.tokens.map((line, i) => (\n  <div key={i}>\n    {line.map((token, j) => (\n      <span key={j} style={{ color: token.color }}>\n        {token.content}\n      </span>\n    ))}\n  </div>\n));\n```\n\nThe React and HTML formats spend their rendering work in different phases. HTML output skips per-token React element creation and reconciliation, reducing render-phase overhead for large, one-shot highlights, but each update replaces the code block's entire DOM subtree via `innerHTML`. React output pays for element creation and diffing on every update, but commits only incremental DOM mutations, minimizing DOM churn for frequently re-highlighted code such as streaming LLM output.\n\nHTML output hands the highlighted markup to the DOM via `dangerouslySetInnerHTML`, so only use it with trusted code sources. The default React output is the safe choice for untrusted content.\n\nToken output is for when you need to own rendering yourself; it is intentionally available on the hook, not the `ShikiHighlighter` component, since react-shiki's markup-based features no longer apply once you control the markup. Note that Shiki's `codeToTokens` does not run transformers or decorations, so markup-producing options, including transformers, decorations, line numbers, and `structure`, have no effect on token output.\n\n## Configuration\n\n### Common Configuration Options\n\nThe core inputs, positional arguments on the hook, props/children on the component:\n\n| Input               | Type               | Default         | Description                                                                   |\n| ------------------- | ------------------ | --------------- | ----------------------------------------------------------------------------- |\n| `code`            | `string`           | -               | Code to highlight                                                               |\n| `language`          | `string \\| object` | -               | Language to highlight, built-in or custom TextMate grammar object             |\n| `theme`             | `string \\| object` | `'github-dark'` | Single or multi-theme configuration, built-in or custom TextMate theme object |\n\n#### react-shiki Options\n\n\n| Option              | Type               | Default         | Description                                                                   |\n| ------------------- | ------------------ | --------------- | ----------------------------------------------------------------------------- |\n| `delay`             | `number`           | -               | Minimum time between highlights (in milliseconds), no throttling by default   |\n| `cache`             | `Map`              | -               | Keeps highlighted output across unmounts, see [Caching Across Remounts](#caching-across-remounts) |\n| `engine`            | `'javascript' \\| 'oniguruma' \\| RegexEngine` | `'oniguruma'` | RegExp engine for syntax highlighting; named engines are created and cached internally |\n| `highlighter`       | `Highlighter \\| HighlighterCore` | -  | Custom highlighter instance, required for the core bundle                     |\n| `outputFormat`      | `string`           | `'react'`       | Output format: 'react' for React nodes, 'html' for HTML string, or 'tokens' for Shiki tokens (hook only, experimental) |\n| `preloadLanguages`  | `array`            | `[]`            | Preload bundled language IDs, custom grammar objects, or dynamic grammar imports |\n| `customLanguages`   | `array`            | `[]`            | **Deprecated**: use `preloadLanguages` instead. |\n| `showLineNumbers`   | `boolean`          | `false`         | Display line numbers alongside code                                           |\n| `startingLineNumber` | `number`           | `1`             | Starting line number when line numbers are enabled                           |\n| `highlightLineNumbers` | `number[]`     | -               | Displayed line numbers to highlight                                           |\n\n#### Shiki Pass-through Options\n\nAll of Shiki's options pass-through and are accessible in react-shiki.\n\nBased on `outputFormat`:\n- `'tokens'`: All options supported by Shiki's [`codeToTokens`](https://github.com/shikijs/shiki/blob/v4.3.0/packages/types/src/tokens.ts#L27)\n- `'html'`: All options supported by Shiki's [`codeToHtml`](https://github.com/shikijs/shiki/blob/v4.3.0/packages/types/src/options.ts#L136)\n- `'react'`: All options supported by Shiki's [`codeToHast`](https://github.com/shikijs/shiki/blob/v4.3.0/packages/types/src/options.ts#L136)\n\nCommonly used:\n- `transformers`: modify the highlighting output with Shiki transformers (default: `[]`)\n- `decorations`: wrap ranges of highlighted tokens (default: `[]`)\n- `defaultColor`: default theme mode with multi-theme, `false` to disable (default: `'light'`)\n- `cssVariablePrefix`: prefix for theme color CSS variables (default: `'--shiki-'`)\n- `langAlias`: map custom language names to bundled ones (default: `{}`)\n- `structure`: `'classic'` or `'inline'` HAST/HTML shape (default: `'classic'`)\n- `tabindex`: tab index of the code block (default: `0`)\n- `meta`: arbitrary metadata passed to transformers (default: `{}`)\n\n### Component-specific Props\n\nThe `ShikiHighlighter` component offers minimal built-in styling and customization options out-of-the-box:\n\n| Prop               | Type      | Default | Description                                                |\n| ------------------ | --------- | ------- | ---------------------------------------------------------- |\n| `showLanguage`     | `boolean` | `true`  | Displays language label in top-right corner                |\n| `addDefaultStyles` | `boolean` | `true`  | Adds minimal default styling to the highlighted code block |\n| `as`               | `string`  | `'div'` | Component's Root HTML element                              |\n| `className`        | `string`  | -       | Custom class name for the code block                       |\n| `langClassName`    | `string`  | -       | Class name for styling the language label                  |\n| `style`            | `object`  | -       | Inline style object for the code block                     |\n| `langStyle`        | `object`  | -       | Inline style object for the language label                 |\n\n### Embedded Language Highlighting\n\nreact-shiki uses Shiki's [`guessEmbeddedLanguages`](https://github.com/shikijs/shiki/blob/main/packages/core/src/utils/strings.ts) to automatically detect, load, and highlight languages nested inside other languages. For example, a TypeScript fenced code block inside a Markdown document will be highlighted as TypeScript without any extra configuration. Embedded languages are dynamically loaded on demand, as long as they exist in your bundle.\n\n### Multi-theme Support\n\nTo use multiple theme modes, pass an object with your multi-theme configuration to the `theme` prop in the `ShikiHighlighter` component:\n\n```tsx\n<ShikiHighlighter\n  language=\"tsx\"\n  theme={{\n    light: \"github-light\",\n    dark: \"github-dark\",\n    dim: \"github-dark-dimmed\",\n  }}\n  defaultColor=\"dark\"\n>\n  {code.trim()}\n</ShikiHighlighter>\n```\n\nOr, when using the hook, pass it to the `theme` parameter:\n\n```tsx\nconst highlightedCode = useShikiHighlighter(\n  code,\n  \"tsx\",\n  {\n    light: \"github-light\",\n    dark: \"github-dark\",\n    dim: \"github-dark-dimmed\",\n  },\n  {\n    defaultColor: \"dark\",\n  }\n);\n```\n\n#### Making Themes Reactive\n\nThere are two approaches to make multi-themes reactive to your site's theme:\n\n##### Option 1: Using `light-dark()` Function (Recommended)\n\nSet `defaultColor=\"light-dark()\"` to use CSS's built-in `light-dark()` function. This automatically switches themes based on the user's `color-scheme` preference:\n\n```tsx\n// Component\n<ShikiHighlighter\n  language=\"tsx\"\n  theme={{\n    light: \"github-light\",\n    dark: \"github-dark\",\n  }}\n  defaultColor=\"light-dark()\"\n>\n  {code.trim()}\n</ShikiHighlighter>\n\n// Hook\nconst highlightedCode = useShikiHighlighter(code, \"tsx\", {\n  light: \"github-light\",\n  dark: \"github-dark\",\n}, {\n  defaultColor: \"light-dark()\"\n});\n```\n\nEnsure your site sets the `color-scheme` CSS property:\n```css\n:root {\n  color-scheme: light dark;\n}\n\n/* Or dynamically for class based dark mode */\n:root {\n  color-scheme: light;\n}\n\n:root.dark {\n  color-scheme: dark;\n}\n```\n\n##### Option 2: CSS Theme Switching\n\nFor broader browser support or more control, add CSS snippets to your site to enable theme switching with media queries or class-based switching. See [Shiki's documentation](https://shiki.matsu.io/guide/dual-themes) for the required CSS snippets.\n\n> **Note**: The `light-dark()` function requires [modern browser support](https://caniuse.com/wf-light-dark). For older browsers, use the manual CSS variables approach.\n\n### Custom Themes\n\nCustom themes can be passed as a TextMate theme JavaScript object ([example](https://github.com/antfu/textmate-grammars-themes/blob/main/packages/tm-themes/themes/dark-plus.json)).\n\n```tsx\nimport tokyoNight from \"../styles/tokyo-night.json\";\n\n// Component\n<ShikiHighlighter language=\"tsx\" theme={tokyoNight}>\n  {code.trim()}\n</ShikiHighlighter>\n\n// Hook\nconst highlightedCode = useShikiHighlighter(code, \"tsx\", tokyoNight);\n```\n\nWhen using a fine-grained highlighter via `react-shiki/core`: pass the theme as a dynamic import to `createHighlighterCore` so it stays out of the initial chunk, then reference it by its `name` field:\n\n```tsx\nconst highlighter = await createHighlighterCore({\n  themes: [import(\"../styles/tokyo-night.json\")],\n  langs: [import(\"@shikijs/langs/tsx\")],\n  engine: createJavaScriptRegexEngine(),\n});\n\n// Component\n<ShikiHighlighter highlighter={highlighter} language=\"tsx\" theme=\"tokyo-night\">\n  {code.trim()}\n</ShikiHighlighter>\n\n// Hook\nconst highlightedCode = useShikiHighlighter(code, \"tsx\", tokyoNight, {\n  highlighter,\n});\n```\n\n### Custom Languages\n\nCustom languages should be passed as a TextMate grammar JavaScript object ([example](https://github.com/shikijs/textmate-grammars-themes/blob/main/packages/tm-grammars/grammars/typescript.json)).\n```tsx\nimport mcfunction from \"../langs/mcfunction.tmLanguage.json\";\n\n// Component\n<ShikiHighlighter language={mcfunction} theme=\"github-dark\">\n  {code.trim()}\n</ShikiHighlighter>\n\n// Hook\nconst highlightedCode = useShikiHighlighter(code, mcfunction, \"github-dark\");\n```\n\nPassing grammar objects as props works with the full and web bundles, where react-shiki creates the highlighter and loads them for you. To keep custom grammars out of the main bundle, pass them as dynamic imports via `preloadLanguages` and reference them by name — see [Preloading Languages](#preloading-languages).\n\nOn the core bundle you own the highlighter, so include grammars there as dynamic imports:\n\n```tsx\nconst highlighter = await createHighlighterCore({\n  themes: [import(\"@shikijs/themes/github-dark\")],\n  langs: [import(\"../langs/mcfunction.tmLanguage.json\")],\n  engine: createJavaScriptRegexEngine(),\n});\n\n// Component\n<ShikiHighlighter highlighter={highlighter} language=\"mcfunction\" theme=\"github-dark\">\n  {code.trim()}\n</ShikiHighlighter>\n\n// Hook\nconst highlightedCode = useShikiHighlighter(code, \"mcfunction\", \"github-dark\", {\n  highlighter,\n});\n```\n\n#### Preloading Languages\n\nIf highlighting is dynamic at runtime, preload custom languages. \n\n```tsx\nimport mcfunction from \"../langs/mcfunction.tmLanguage.json\";\nimport bosque from \"../langs/bosque.tmLanguage.json\";\n\n// Component\n<ShikiHighlighter\n  language=\"typescript\"\n  theme=\"github-dark\"\n  preloadLanguages={[mcfunction, bosque]}\n>\n  {code.trim()}\n</ShikiHighlighter>\n\n// Hook\nconst highlightedCode = useShikiHighlighter(code, \"typescript\", \"github-dark\", {\n  preloadLanguages: [mcfunction, bosque],\n});\n```\n\nCustom grammars can also be dynamic imports, keeping them out of the main bundle. Reference them by the grammar's `name` field:\n\n```tsx\n// Module scope: stable identity across renders, fetched on first highlight\nconst preloadLanguages = [\n  () => import(\"../langs/mcfunction.tmLanguage.json\"),\n  () => import(\"../langs/bosque.tmLanguage.json\"),\n];\n\n<ShikiHighlighter\n  language=\"mcfunction\"\n  theme=\"github-dark\"\n  preloadLanguages={preloadLanguages}\n>\n  {code.trim()}\n</ShikiHighlighter>\n```\n\n> [!IMPORTANT]\n> Define dynamic imports at module scope, preferring the getter form (`() => import(...)`). A fresh arrow function on every render re-triggers highlighting; bare promises are compared by type, so swapping one at runtime won't be picked up.\n\n> [!NOTE] \n> Bundled languages are loaded on demand and do not need to be preloaded. `preloadLanguages` applies to the full and web bundles; with a custom highlighter, load languages in `createHighlighterCore` instead.\n\n### Language Aliases\n\nYou can define custom aliases for languages using the `langAlias` option. This is useful when you need to support alternative names for languages:\n\n```tsx\n// Component\n<ShikiHighlighter \n  language=\"indents\" \n  theme=\"github-dark\" \n  langAlias={{ indents: \"python\" }}\n>\n  {code.trim()}\n</ShikiHighlighter>\n\n// Hook\nconst highlightedCode = useShikiHighlighter(code, \"indents\", \"github-dark\", {\n  langAlias: { indents: \"python\" },\n});\n```\n\n### Custom Transformers\n\n```tsx\nimport { customTransformer } from \"../utils/shikiTransformers\";\n\n// Component\n<ShikiHighlighter language=\"tsx\" transformers={[customTransformer]}>\n  {code.trim()}\n</ShikiHighlighter>\n\n// Hook\nconst highlightedCode = useShikiHighlighter(code, \"tsx\", \"github-dark\", {\n  transformers: [customTransformer],\n});\n```\n\n### Line Numbers\n\nLine numbers are CSS-based and can be customized with CSS variables:\n\n```tsx\n// Component\n<ShikiHighlighter \n  language=\"javascript\"\n  theme=\"github-dark\"\n  showLineNumbers\n  startingLineNumber={0} // default is 1\n  highlightLineNumbers={[2, 4]}\n>\n  {code}\n</ShikiHighlighter>\n\n// Hook (line-number styles inject automatically when enabled)\nconst highlightedCode = useShikiHighlighter(code, \"javascript\", \"github-dark\", {\n  showLineNumbers: true,\n  startingLineNumber: 0,\n  highlightLineNumbers: [2, 4],\n});\n```\n\n> [!NOTE]\n> No CSS import is needed: the shared highlighting hook injects line-number and highlight styles automatically when those features are enabled, including when used through the component.\n> To customize them, override `.rs-line-number` (line `span`), `.rs-highlighted-line` (line `span`), and `.rs-has-line-numbers` / `.rs-has-highlighted-lines` (container `code` element) in your own CSS.\n\n`highlightLineNumbers` uses displayed line numbers, so it works with `startingLineNumber`.\n\nComponent styles are embedded in the JS and installed automatically when the component mounts — no CSS import or bundler configuration needed. Injection is scoped to usage: component styles tree-shake out of hook-only bundles entirely, while line-number/highlight styles are installed only when those options are enabled. The complete compiled stylesheet is also exported as `react-shiki/css` for build-time CSS pipelines or as an externally loaded fallback. Importing it does not disable automatic runtime injection.\n\nComponent-internal default classes are namespaced under `rs-*` and written with zero-specificity `:where()` selectors, so they can't be clobbered by CSS resets (e.g. Tailwind preflight) regardless of stylesheet load order, while any rule in your own CSS — even a bare element selector — overrides them.\n\nAvailable CSS variables for customization:\n```css\n--rs-line-numbers-foreground: rgba(107, 114, 128, 0.5);\n--rs-line-numbers-width: 2ch;\n--rs-line-numbers-padding-left: 0ch;\n--rs-line-numbers-padding-right: 2ch;\n--rs-line-numbers-font-size: inherit;\n--rs-line-numbers-font-weight: inherit;\n--rs-line-numbers-opacity: 1;\n--rs-highlighted-line-background: color-mix(in srgb, currentColor 10%, transparent);\n--rs-highlighted-line-number-foreground: color-mix(in srgb, currentColor 65%, transparent);\n```\n\nWith default styles, highlighted-line backgrounds automatically extend into the `pre`'s horizontal padding, reaching the container edges. When styling the `pre` yourself, highlights cover the code content area.\n\nYou can customize them in your own CSS or by using the style prop on the component:\n```tsx\n<ShikiHighlighter \n  language=\"javascript\"\n  theme=\"github-dark\"\n  showLineNumbers\n  style={{\n    '--rs-line-numbers-foreground': '#60a5fa',\n    '--rs-line-numbers-width': '3ch'\n  }}\n>\n  {code}\n</ShikiHighlighter>\n```\n\n## Integration\n\n### Integration with react-markdown\n\nCreate a component to handle syntax highlighting:\n\n```tsx\nimport ReactMarkdown from \"react-markdown\";\nimport ShikiHighlighter, { isInlineCode } from \"react-shiki\";\n\nconst CodeHighlight = ({ className, children, node, ...props }) => {\n  const code = String(children).trim();\n  const match = className?.match(/language-(\\w+)/);\n  const language = match ? match[1] : undefined;\n  const isInline = node ? isInlineCode(node) : undefined;\n\n  return !isInline ? (\n    <ShikiHighlighter language={language} theme=\"github-dark\" {...props}>\n      {code}\n    </ShikiHighlighter>\n  ) : (\n    <code className={className} {...props}>\n      {code}\n    </code>\n  );\n};\n```\n\nPass the component to react-markdown as a code component:\n\n```tsx\n<ReactMarkdown\n  components={{\n    code: CodeHighlight,\n  }}\n>\n  {markdown}\n</ReactMarkdown>\n```\n\n### Handling Inline Code\n\nPrior to `9.0.0`, `react-markdown` exposed the `inline` prop to `code` \ncomponents which helped to determine if code is inline. This functionality was \nremoved in `9.0.0`. For your convenience, `react-shiki` provides two \nways to replicate this functionality and API.\n\n**Method 1: Using the `isInlineCode` helper:**\n\n`react-shiki` exports `isInlineCode` which parses the `node` prop from `react-markdown` and identifies inline code by checking for the absence of newline characters:\n\n```tsx\nimport ShikiHighlighter, { isInlineCode } from \"react-shiki\";\n\nconst CodeHighlight = ({ className, children, node, ...props }) => {\n  const match = className?.match(/language-(\\w+)/);\n  const language = match ? match[1] : undefined;\n\n  const isInline = node ? isInlineCode(node) : undefined;\n\n  return !isInline ? (\n    <ShikiHighlighter language={language} theme=\"github-dark\" {...props}>\n      {String(children).trim()}\n    </ShikiHighlighter>\n  ) : (\n    <code className={className} {...props}>\n      {children}\n    </code>\n  );\n};\n```\n\n**Method 2: Using the `rehypeInlineCodeProperty` plugin:**\n\n`react-shiki` also exports `rehypeInlineCodeProperty`, a rehype plugin that \nadds an `inline` prop to `react-markdown` code components. It works by checking \nif `<code>` is nested within a `<pre>` tag; if not, it's considered inline code \nand the `inline` prop is set to `true`.\n\nIt's passed as a `rehypePlugin` to `react-markdown`:\n\n```tsx\nimport ReactMarkdown from \"react-markdown\";\nimport { rehypeInlineCodeProperty } from \"react-shiki\";\n\n<ReactMarkdown\n  rehypePlugins={[rehypeInlineCodeProperty]}\n  components={{\n    code: CodeHighlight,\n  }}\n>\n  {markdown}\n</ReactMarkdown>;\n```\n\nNow `inline` can be accessed as a prop in the `code` component:\n\n```tsx\nconst CodeHighlight = ({\n  inline,\n  className,\n  children,\n  node,\n  ...props\n}: CodeHighlightProps): JSX.Element => {\n  const match = className?.match(/language-(\\w+)/);\n  const language = match ? match[1] : undefined;\n  const code = String(children).trim();\n\n  return !inline ? (\n    <ShikiHighlighter language={language} theme=\"github-dark\" {...props}>\n      {code}\n    </ShikiHighlighter>\n  ) : (\n    <code className={className} {...props}>\n      {code}\n    </code>\n  );\n};\n```\n\n## Performance\n\n### Throttling Real-time Highlighting\n\nTo reduce highlighting work for frequently changing code:\n\n```tsx\n// With the component\n<ShikiHighlighter language=\"tsx\" theme=\"github-dark\" delay={150}>\n  {code.trim()}\n</ShikiHighlighter>\n\n// With the hook\nconst highlightedCode = useShikiHighlighter(code, \"tsx\", \"github-dark\", {\n  delay: 150,\n});\n```\n\n### Caching Across Remounts\n\nLists that remount their content, like chat transcripts when switching threads or virtualized lists while scrolling, highlight every code block again by default. Pass a `Map` as `cache` and unchanged blocks paint on their first render instead:\n\n```tsx\nconst cache = new Map();\n\n<ShikiHighlighter language=\"tsx\" theme=\"github-dark\" cache={cache}>\n  {code}\n</ShikiHighlighter>\n```\n\n- A block's output is stored when it unmounts, so the partial code of a streaming block is never cached.\n- Entries are keyed by code, language, theme and options, so blocks with different settings can share one cache. Transformers are told apart by `name`, so give blocks with different transformers of the same name their own cache.\n- The cache is yours: keep one per app or per conversation and `clear()` it when that content goes away.\n\n---\n\nMade with ❤️ by [Bassim (AVGVSTVS96)](https://github.com/AVGVSTVS96)\n","readmeFilename":""}