{"_id":"rehype-code-group","_rev":"14-662a7b2b40d722f7cb5747ec17918962","name":"rehype-code-group","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"rehype-code-group","version":"0.0.1","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-group-tabs","rehype-code-grouping-tabs"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.0.1","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"aa5a6ddd4fc4b7b1714b6ee23e18588b066de4f1","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.0.1.tgz","fileCount":8,"integrity":"sha512-q5DIoM6WOfgitfi/G6dsYnZ06MHGfPihqkRkyMatJlUXDx7s3Rs0pk8moTzKWgbxCSk+7tJKNhQn8u+9IJmttQ==","signatures":[{"sig":"MEQCIEYDKUFYv0THhHJXAPN3XfZEbOt/126wwl+EPS/KeUuZAiAiVw3spbAWyUjaib2XZYcngudIYAlbPd7ptDhEKD0CKQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14494},"main":"dist/index.cjs","type":"module","_from":"file:rehype-code-group-0.0.1.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome check --fix","build":"pnpm clean && rollup -c --bundleConfigAsCjs","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/3595d7d6b5af96ff389b9d16e68e3575/rehype-code-group-0.0.1.tgz","_integrity":"sha512-q5DIoM6WOfgitfi/G6dsYnZ06MHGfPihqkRkyMatJlUXDx7s3Rs0pk8moTzKWgbxCSk+7tJKNhQn8u+9IJmttQ==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A rehype plugin for grouping code blocks with tabs with any code highlighter","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"_nodeVersion":"22.10.0","dependencies":{"rehype":"^13.0.2","unified":"^11.0.5","unist-util-visit":"^5.0.0","hast-util-to-string":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","rimraf":"^6.0.1","rollup":"^4.25.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"^22.9.0","lint-staged":"^15.2.10","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","simple-git-hooks":"^2.11.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^12.1.1","@rollup/plugin-node-resolve":"^15.3.0","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.0.1_1731398792917_0.07970092863523215","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"rehype-code-group","version":"0.1.0","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-group-tabs","rehype-code-grouping-tabs"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.1.0","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"1dfdcf5fbc43f2a8a00f9d3031755c52d82a6812","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.1.0.tgz","fileCount":20,"integrity":"sha512-2/HpwDj7AzgxDO3fXC6VUE1QcWOQmimzozWSswKTSJCujz69xTCYAQJJQ7Ml7wTywHtW/YfEvbcmaY9jhWheHQ==","signatures":[{"sig":"MEUCIQDOzAZS/k1j1B9QLFVU7/4Mi1qrEJOqH0vf6RbstJ6aVAIgTirdSGvLj9+LYsqrWTjDw4wpDQ+KeGjUlFmUZpkfbvA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26784},"main":"dist/index.cjs","type":"module","_from":"file:rehype-code-group-0.1.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome check --fix","build":"pnpm clean && rollup -c --bundleConfigAsCjs","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/d4c9a0ec420bfb319edc8d2911493d51/rehype-code-group-0.1.0.tgz","_integrity":"sha512-2/HpwDj7AzgxDO3fXC6VUE1QcWOQmimzozWSswKTSJCujz69xTCYAQJJQ7Ml7wTywHtW/YfEvbcmaY9jhWheHQ==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A rehype plugin for grouping code blocks with tabs with any code highlighter","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"_nodeVersion":"22.10.0","dependencies":{"rehype":"^13.0.2","unified":"^11.0.5","unist-util-visit":"^5.0.0","hast-util-to-string":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","rimraf":"^6.0.1","rollup":"^4.25.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"^22.9.0","lint-staged":"^15.2.10","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","simple-git-hooks":"^2.11.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^12.1.1","@rollup/plugin-node-resolve":"^15.3.0","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.1.0_1731438105053_0.338530540758589","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"rehype-code-group","version":"0.1.1","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.1.1","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"55651ca7afdc43fe4964c163af8519eb9034b98f","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.1.1.tgz","fileCount":26,"integrity":"sha512-gv4qYx8uVaHfWSW8hwYnCqjht+JeoJDQfqW8xBIlGve2uLCqR6orJatweC9DxJS9HsZ0AfyC6BtKmVZ+bzdHRA==","signatures":[{"sig":"MEUCIH5Ojl82E/v1h18h7lD2ZFTunv7Rmfq1sau/JG0HY/10AiEAogfQGt1O55kHAp0skcIqWsNWAhWo6H6O50rl/NFmzHU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39880},"main":"dist/index.cjs","type":"module","_from":"file:rehype-code-group-0.1.1.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome check --fix","build":"pnpm clean && rollup -c --bundleConfigAsCjs","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/5da372f4486e8aff70e0bf46aa0cce67/rehype-code-group-0.1.1.tgz","_integrity":"sha512-gv4qYx8uVaHfWSW8hwYnCqjht+JeoJDQfqW8xBIlGve2uLCqR6orJatweC9DxJS9HsZ0AfyC6BtKmVZ+bzdHRA==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"_nodeVersion":"22.10.0","dependencies":{"rehype":"^13.0.2","unified":"^11.0.5","unist-util-visit":"^5.0.0","hast-util-to-string":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","rimraf":"^6.0.1","rollup":"^4.25.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"^22.9.0","lint-staged":"^15.2.10","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","simple-git-hooks":"^2.11.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^12.1.1","@rollup/plugin-node-resolve":"^15.3.0","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.1.1_1731451512976_0.8113082600585766","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"rehype-code-group","version":"0.1.2","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.1.2","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"e832cd93d0f8a735a189df97a58d4ea7c0018478","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.1.2.tgz","fileCount":26,"integrity":"sha512-hMN3+J1s/fgQfL5aU20L2xx/KdCH8X3q20qhhebIf5uOrxvd1ecIVEtIhnf/1/wmRWNkya0PZOfo8Da6kc8QEA==","signatures":[{"sig":"MEYCIQCNyAV0A1zTPqLdyaiAg7aHqXRC4pAjZzlFyg8zEqd13QIhAIvdl+aCAaaSrcKbtkYi3/CPxn/zbyzvbCCF/9zoMypm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42449},"main":"dist/index.cjs","type":"module","_from":"file:rehype-code-group-0.1.2.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome check --fix","build":"pnpm clean && rollup -c --bundleConfigAsCjs","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/b067b8c1238d1f51ac685b6ff606b584/rehype-code-group-0.1.2.tgz","_integrity":"sha512-hMN3+J1s/fgQfL5aU20L2xx/KdCH8X3q20qhhebIf5uOrxvd1ecIVEtIhnf/1/wmRWNkya0PZOfo8Da6kc8QEA==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"_nodeVersion":"22.10.0","dependencies":{"rehype":"^13.0.2","unified":"^11.0.5","unist-util-visit":"^5.0.0","hast-util-to-string":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","rimraf":"^6.0.1","rollup":"^4.25.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"^22.9.0","lint-staged":"^15.2.10","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","simple-git-hooks":"^2.11.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^12.1.1","@rollup/plugin-node-resolve":"^15.3.0","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.1.2_1731534189250_0.01716795564600515","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"rehype-code-group","version":"0.1.3","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.1.3","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"c51b6f4bde0a1291eaf40985959107b2f312df6d","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.1.3.tgz","fileCount":26,"integrity":"sha512-8I0N4t3Cmz9/qMBIIIQYx487VhRH1bt0lkbREcw2PBoblBIO3KiuaFPV5VY3uuA8MqqTpcvGsjUVH6oxcq2c5w==","signatures":[{"sig":"MEUCIH3QZya4HlkJEWR8XBsMWTccKkHJ+P3Xa5JJCuerJ8MMAiEA9VhuynCjb4QUAFjhj/wIPbqxFCN/6NipGDbKr9wO4jg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42055},"main":"dist/index.cjs","type":"module","_from":"file:rehype-code-group-0.1.3.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"lint":"biome check --fix","build":"pnpm clean && rollup -c --bundleConfigAsCjs","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/07657fecf1c1bfe34057fbae37d935dd/rehype-code-group-0.1.3.tgz","_integrity":"sha512-8I0N4t3Cmz9/qMBIIIQYx487VhRH1bt0lkbREcw2PBoblBIO3KiuaFPV5VY3uuA8MqqTpcvGsjUVH6oxcq2c5w==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"sideEffects":false,"_nodeVersion":"22.10.0","dependencies":{"rehype":"^13.0.2","unified":"^11.0.5","unist-util-visit":"^5.0.0","hast-util-to-string":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","rimraf":"^6.0.1","rollup":"^4.25.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"^22.9.0","lint-staged":"^15.2.10","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","simple-git-hooks":"^2.11.1","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-typescript":"^12.1.1","@rollup/plugin-node-resolve":"^15.3.0","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.1.3_1731536693777_0.39287036690734234","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"rehype-code-group","version":"0.2.0","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.2.0","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"304ce8d58d7afbb97e5ef1d070cd360fea7d88c4","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.2.0.tgz","fileCount":24,"integrity":"sha512-nQXo/dDOVmMNVaL29mHS/7M1L8QxaVI4bkuBhvA2AO6Dth4XTWyG1mm+y0dtdykP37OZ5o5HOUDpFPKtXKj5FA==","signatures":[{"sig":"MEUCIQDD5YuRYWiHzDsMazI9HEi2P9DOh8j9+h3SGLsjHCHfGgIgdeCyWMN3rhZM+warrRiCmY+cDpTxUFjQzAPibR823jM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30292},"main":"dist/index.js","type":"module","_from":"file:rehype-code-group-0.2.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check --fix","build":"pnpm clean && tsc","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/771b82d046fe95324169481cb586c3a9/rehype-code-group-0.2.0.tgz","_integrity":"sha512-nQXo/dDOVmMNVaL29mHS/7M1L8QxaVI4bkuBhvA2AO6Dth4XTWyG1mm+y0dtdykP37OZ5o5HOUDpFPKtXKj5FA==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"sideEffects":false,"_nodeVersion":"22.10.0","dependencies":{"rehype":"^13.0.2","unified":"^11.0.5","unist-util-visit":"^5.0.0","hast-util-to-string":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.8.1","rimraf":"^6.0.1","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/jest":"^29.5.14","@types/node":"^22.9.0","lint-staged":"^15.2.10","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","simple-git-hooks":"^2.11.1","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.2.0_1731620267746_0.41871148385964196","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"rehype-code-group","version":"0.2.1","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.2.1","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"ec3a9a18df1b53b9f5813ab20752bbd9d00cc78e","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.2.1.tgz","fileCount":24,"integrity":"sha512-8t+QJ7S+E+OL7wxtkez4k3Vjr6yLzTLHwWBFI2J133wpUn/lLtPfQe2Iy7zIwKZA31oiZ91rewcVqlr7umNYgw==","signatures":[{"sig":"MEUCIGg9rzjTVPy+NmzRjoql9asnN+VCVHTyuiDTG4oNJyg6AiEAnoIknziB0pESOBDtauGl52p01OaGVaA7RamqFbmSpLQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30668},"main":"dist/index.js","type":"module","_from":"file:rehype-code-group-0.2.1.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check --fix","test":"vitest","build":"pnpm clean && tsc","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest --watch","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","test:coverage":"vitest run --coverage","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version","generate:fixtures":"npx tsx scripts/generateFixtures.ts"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/654f0ddec0963c0b1f3aae7fceff0f54/rehype-code-group-0.2.1.tgz","_integrity":"sha512-8t+QJ7S+E+OL7wxtkez4k3Vjr6yLzTLHwWBFI2J133wpUn/lLtPfQe2Iy7zIwKZA31oiZ91rewcVqlr7umNYgw==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"sideEffects":false,"_nodeVersion":"22.11.0","dependencies":{"rehype":"^13.0.2","unified":"^11.0.5","unist-util-visit":"^5.0.0","hast-util-to-string":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rimraf":"^6.0.1","vitest":"^2.1.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/node":"^22.9.0","lint-staged":"^15.2.10","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","rehype-stringify":"^10.0.1","simple-git-hooks":"^2.11.1","@vitest/coverage-v8":"2.1.5","rehype-minify-whitespace":"^6.0.2","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm test:coverage && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.2.1_1731687304765_0.7652224908688192","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"rehype-code-group","version":"0.2.2","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block","rehype-code-grouping-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.2.2","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"09461bc4e1ae69a434d4b9743afa7dc22d03ce72","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.2.2.tgz","fileCount":24,"integrity":"sha512-B8xrc9NwjmgkuoHfSc2VbqykyQZAz3UnWR+rOGXhc84YW3k9QioBUehV5/H29UPViMEn6xPJ2W1lTnRzYj8FQg==","signatures":[{"sig":"MEQCIA83xQu9YHZf07ZCxpwguWYzHhlcHrw65WCqhiaKZHDuAiB2JDC2osgf5y1etxVXKd1FyyHWhvSTGyqmLiL9YnUvZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31802},"main":"dist/index.js","type":"module","_from":"file:rehype-code-group-0.2.2.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check --fix","test":"vitest","build":"pnpm clean && tsc","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest --watch","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","test:coverage":"vitest run --coverage","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version","generate:fixtures":"npx tsx scripts/generateFixtures.ts"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/0eba8e8abe2f6d880abe569d8ceb361d/rehype-code-group-0.2.2.tgz","_integrity":"sha512-B8xrc9NwjmgkuoHfSc2VbqykyQZAz3UnWR+rOGXhc84YW3k9QioBUehV5/H29UPViMEn6xPJ2W1lTnRzYj8FQg==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"sideEffects":false,"_nodeVersion":"22.11.0","dependencies":{"rehype":"^13.0.2","unified":"^11.0.5","unist-util-visit":"^5.0.0","hast-util-to-string":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rimraf":"^6.0.1","vitest":"^2.1.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/node":"^22.9.0","lint-staged":"^15.2.10","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","rehype-stringify":"^10.0.1","simple-git-hooks":"^2.11.1","@vitest/coverage-v8":"2.1.5","rehype-minify-whitespace":"^6.0.2","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm test:coverage && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.2.2_1732133152667_0.6188495310528463","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"rehype-code-group","version":"0.2.3","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block","rehype-code-grouping-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.2.3","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"514f5dd73b76d1930f87a520b8fc4c4dbbc9ed55","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.2.3.tgz","fileCount":24,"integrity":"sha512-umvtm139AL1JxYRdOlq6PO8zz0P3zbbgo6j9FRCSr6MqrY4aku3Ch0itPslwW6tHnK0FNpjqaLeaexhJuNTamg==","signatures":[{"sig":"MEUCIB7N53tCfDbXD2eK7jdyH9uFLf0sf7efeKjyjGvw1ePKAiEA1JV4u+WcPYt09D30PYbN7NyvvDWKD7a/DECR4ddkje8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31802},"main":"dist/index.js","type":"module","_from":"file:rehype-code-group-0.2.3.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check --fix","test":"vitest","build":"pnpm clean && tsc","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest --watch","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","test:coverage":"vitest run --coverage","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version","generate:fixtures":"npx tsx scripts/generateFixtures.ts"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/2e4832bc38eb7cebdeb5f04128c7d929/rehype-code-group-0.2.3.tgz","_integrity":"sha512-umvtm139AL1JxYRdOlq6PO8zz0P3zbbgo6j9FRCSr6MqrY4aku3Ch0itPslwW6tHnK0FNpjqaLeaexhJuNTamg==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.0","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"rehype":"~13.0.2","unified":"~11.0.5","unist-util-visit":"~5.0.0","hast-util-to-string":"~3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rimraf":"^6.0.1","vitest":"^2.1.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/node":"^22.9.0","lint-staged":"^15.2.10","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","rehype-stringify":"^10.0.1","simple-git-hooks":"^2.11.1","@vitest/coverage-v8":"2.1.5","rehype-minify-whitespace":"^6.0.2","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm test:coverage && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.2.3_1734191696554_0.2251424697494797","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"rehype-code-group","version":"0.2.4","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block","rehype-code-grouping-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.2.4","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"7b0e9d6ed2066e19a7964174da14c5d75a9dadc0","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.2.4.tgz","fileCount":24,"integrity":"sha512-ExGjvA5dZz+UiTyIRWGclk1RDuTjqMiC0JxxSpcQ8W9AHWaJmzdyzQB4MiofnzRc2SCTvXDzuFhd1Co5TLMKmA==","signatures":[{"sig":"MEUCIDfHNwxiA90UFlOVjIGLQqr6nNIpJGWFeTLWQxZtMrk1AiEAwGffXtscJ1jYOy5RzUKlJ0syn5LIoJMs/MF618bdLVM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31919},"main":"dist/index.js","type":"module","_from":"file:rehype-code-group-0.2.4.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check --fix","test":"vitest","build":"pnpm clean && tsc","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest --watch","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","test:coverage":"vitest run --coverage","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version","generate:fixtures":"npx tsx scripts/generateFixtures.ts"},"_npmUser":{"name":"sohabsk","email":"sksohablocal@gmail.com"},"_resolved":"/tmp/ee09e80563a40899a9400a909033877f/rehype-code-group-0.2.4.tgz","_integrity":"sha512-ExGjvA5dZz+UiTyIRWGclk1RDuTjqMiC0JxxSpcQ8W9AHWaJmzdyzQB4MiofnzRc2SCTvXDzuFhd1Co5TLMKmA==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"10.9.2","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"rehype":"~13.0.2","unified":"~11.0.5","unist-util-visit":"~5.0.0","hast-util-to-string":"~3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rimraf":"^6.0.1","vitest":"^2.1.5","ts-node":"^10.9.2","typescript":"^5.6.3","@types/hast":"^3.0.4","@types/node":"^22.9.0","lint-staged":"^15.2.10","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","@biomejs/biome":"1.9.4","@changesets/cli":"^2.27.9","rehype-stringify":"^10.0.1","simple-git-hooks":"^2.11.1","@vitest/coverage-v8":"2.1.5","rehype-minify-whitespace":"^6.0.2","@changesets/changelog-github":"^0.5.0"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm test:coverage && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.2.4_1741077833268_0.525501138910812","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"rehype-code-group","version":"0.3.0","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block","rehype-code-grouping-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.3.0","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"3109f03316200e9c86e1d76581becda674fc6ff9","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.3.0.tgz","fileCount":24,"integrity":"sha512-ty0dy9Korn7V+2Nws/vxzQaeYYkohrmvk2tjxduu4aRM595KyXaPoBlwJtJSre6m3+bPt1UPBEr8EtSwNsrdwg==","signatures":[{"sig":"MEUCIHr5M8um0EczEZM0v7D4E/zdsUsqvzYW19aTb5OomImSAiEAvWUxBvTQxL4CU3PO4Sp11NkTkuhB7jurjQ/nOoumg/o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-code-group@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32561},"main":"dist/index.js","type":"module","_from":"file:rehype-code-group-0.3.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check --fix","test":"vitest","build":"pnpm clean && tsc","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest --watch","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","test:coverage":"vitest run --coverage","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version","generate:fixtures":"npx tsx scripts/generateFixtures.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:33167942-b596-4940-9e7c-39b79d0a559d"}},"_resolved":"/tmp/52c88556b7b54bea734ec661d6b30915/rehype-code-group-0.3.0.tgz","_integrity":"sha512-ty0dy9Korn7V+2Nws/vxzQaeYYkohrmvk2tjxduu4aRM595KyXaPoBlwJtJSre6m3+bPt1UPBEr8EtSwNsrdwg==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"11.10.1","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"rehype":"~13.0.2","unified":"~11.0.5","node-emoji":"^2.2.0","unist-util-visit":"~5.0.0","hast-util-to-string":"~3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rimraf":"^6.1.3","vitest":"^2.1.9","ts-node":"^10.9.2","typescript":"^5.9.3","@types/hast":"^3.0.4","@types/node":"^24.0.3","lint-staged":"^16.1.2","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@biomejs/biome":"1.9.4","@changesets/cli":"^2.29.8","rehype-stringify":"^10.0.1","simple-git-hooks":"^2.13.1","@vitest/coverage-v8":"2.1.5","rehype-minify-whitespace":"^6.0.2","@changesets/changelog-github":"^0.5.2"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm test:coverage && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.3.0_1771758989691_0.10040466818929694","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"rehype-code-group","version":"0.3.1","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block","rehype-code-grouping-tab-block"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@0.3.1","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://github.com/ITZSHOAIB/rehype-code-group#readme","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"9555d617df5ad39f1a3f18da7fb0a84ab507d23a","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-0.3.1.tgz","fileCount":24,"integrity":"sha512-8sp/Uk9LI5yarnu+1yNETx0MQ7QDwCsXXZa3rlJOEurkEPN9PREFjYLFi2HxPtQycWykjX4NEHrmQufOU+gdyw==","signatures":[{"sig":"MEUCIHwxFBl/DjLG4h/vq9du6YudJ+CnzKV8b9m4bSWCPFX4AiEArOlIiHV49S3L6w/5dOJYLlzbeggtZfvzWyvPwoS29xE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-code-group@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32627},"main":"dist/index.js","type":"module","_from":"file:rehype-code-group-0.3.1.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check --fix","test":"vitest","build":"pnpm clean && tsc","clean":"rimraf dist","format":"biome format --write","changeset":"changeset","typecheck":"tsc --noEmit","test:watch":"vitest --watch","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","test:coverage":"vitest run --coverage","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version","generate:fixtures":"npx tsx scripts/generateFixtures.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:33167942-b596-4940-9e7c-39b79d0a559d"}},"_resolved":"/tmp/be3d8ae1b309b267ac7f02c6f97de7c2/rehype-code-group-0.3.1.tgz","_integrity":"sha512-8sp/Uk9LI5yarnu+1yNETx0MQ7QDwCsXXZa3rlJOEurkEPN9PREFjYLFi2HxPtQycWykjX4NEHrmQufOU+gdyw==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"11.10.1","description":"A Rehype plugin for grouping code blocks with tabs, perfect for documentation and tutorials. Works with all Code Syntax Highlighters.","directories":{},"lint-staged":{"*":["pnpm lint","git add"]},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"rehype":"~13.0.2","unified":"~11.0.5","node-emoji":"^2.2.0","unist-util-visit":"~5.1.0","hast-util-to-string":"~3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rimraf":"^6.1.3","vitest":"^4.0.18","ts-node":"^10.9.2","typescript":"^5.9.3","@types/hast":"^3.0.4","@types/node":"^25.3.0","lint-staged":"^16.2.7","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@biomejs/biome":"2.4.4","@changesets/cli":"^2.29.8","rehype-stringify":"^10.0.1","simple-git-hooks":"^2.13.1","@vitest/coverage-v8":"4.0.18","rehype-minify-whitespace":"^6.0.2","@changesets/changelog-github":"^0.5.2"},"peerDependencies":{"typescript":">=5.0.4"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm test:coverage && pnpm lint:staged"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_0.3.1_1772014702933_0.15953993095425623","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"rehype-code-group","version":"1.0.0","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block","rehype-code-grouping-tab-block","remark-plugin","unified","markdown","mdx","astro","starlight","documentation","code-tabs","accessible","syntax-highlighting"],"author":{"name":"Sohab Sk"},"license":"MIT","_id":"rehype-code-group@1.0.0","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"homepage":"https://rehype-code-group.pages.dev/","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"dist":{"shasum":"3a6c72453417df1bd0d3c8651dc4ca0de879973a","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-1.0.0.tgz","fileCount":44,"integrity":"sha512-csPdGRPCitpcTxhg2AAs+CDVzBvGnjyyQrBzauLCtCic2MsShVo7slWH7irY/fnC4mizxGaENWgq8kBbfPC52w==","signatures":[{"sig":"MEUCIQC2cIL06GSEgwUhD1HxvBv0W5p/FYtOYAcgzrULkNY+NwIgVnNpL/PWlnmgy7ywCaPFm5i5Z1Z8XQXCSmcCUInaaDk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-code-group@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":71174},"main":"dist/index.js","type":"module","_from":"file:rehype-code-group-1.0.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./emoji":{"types":"./dist/emoji.d.ts","import":"./dist/emoji.js"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js"},"./remark":{"types":"./dist/remark.d.ts","import":"./dist/remark.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"},"./package-managers":{"types":"./dist/package-managers.d.ts","import":"./dist/package-managers.js"}},"scripts":{"lint":"biome check","test":"vitest run","audit":"pnpm audit --audit-level low","build":"pnpm clean && tsc && node scripts/buildAssets.mjs","clean":"rimraf dist","format":"biome format --write","docs:dev":"pnpm build && pnpm --dir docs dev","lint:fix":"biome check --write","test:e2e":"pnpm build && playwright test","changeset":"changeset","test:docs":"pnpm docs:build && playwright test --config playwright.docs.config.ts","typecheck":"tsc --noEmit","audit:prod":"pnpm audit --prod --audit-level low","docs:build":"pnpm build && pnpm --dir docs build","test:watch":"vitest --watch","lint:staged":"lint-staged","run:example":"pnpm build && node example/index.js","docs:preview":"pnpm --dir docs preview","test:package":"pnpm build && tsc -p test-dts/tsconfig.json && node scripts/checkPackage.mjs","deps:outdated":"pnpm outdated","release:check":"node scripts/checkReleasePlan.mjs","test:coverage":"vitest run --coverage","security:patches":"node scripts/checkPatchedDependencies.mjs","changeset:publish":"pnpm build && changeset publish","changeset:version":"changeset version","generate:fixtures":"npx tsx scripts/generateFixtures.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:33167942-b596-4940-9e7c-39b79d0a559d"}},"_resolved":"/tmp/81530209f367d5420cfc5df8f087d672/rehype-code-group-1.0.0.tgz","_integrity":"sha512-csPdGRPCitpcTxhg2AAs+CDVzBvGnjyyQrBzauLCtCic2MsShVo7slWH7irY/fnC4mizxGaENWgq8kBbfPC52w==","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"_npmVersion":"12.0.2","description":"Accessible, framework-neutral code and content tabs for rehype, with syncing, persistence, and CSP-safe asset modes.","directories":{},"lint-staged":{"*":["biome check --write --no-errors-on-unmatched"]},"sideEffects":["./dist/styles.css","./dist/client.js"],"_nodeVersion":"24.18.0","dependencies":{"unified":"~11.0.5","node-emoji":"^2.2.0","@types/hast":"3.0.5","@types/mdast":"4.0.4","unist-util-visit":"~5.1.0","hast-util-to-string":"~3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rehype":"~13.0.2","rimraf":"^6.1.3","vitest":"4.1.10","typescript":"7.0.2","@types/node":"20.19.43","lint-staged":"17.3.0","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@biomejs/biome":"2.5.7","@changesets/cli":"2.31.1","@playwright/test":"1.62.1","rehype-stringify":"^10.0.1","simple-git-hooks":"^2.13.1","@vitest/coverage-v8":"4.1.10","@axe-core/playwright":"4.12.1","rehype-minify-whitespace":"^6.0.2","@changesets/changelog-github":"0.7.0","@changesets/get-release-plan":"4.0.16"},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm test:coverage && pnpm lint:staged"},"_npmOperationalInternal":{"tmp":"tmp/rehype-code-group_1.0.0_1786475628282_0.4334840842739862","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"rehype-code-group","version":"1.0.1","description":"Accessible, framework-neutral code and content tabs for rehype, with syncing, persistence, and CSP-safe asset modes.","main":"dist/index.js","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js"},"./remark":{"types":"./dist/remark.d.ts","import":"./dist/remark.js"},"./package-managers":{"types":"./dist/package-managers.d.ts","import":"./dist/package-managers.js"},"./emoji":{"types":"./dist/emoji.d.ts","import":"./dist/emoji.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"types":"dist/index.d.ts","type":"module","dependencies":{"@types/hast":"3.0.5","@types/mdast":"4.0.4","hast-util-to-string":"~3.0.1","node-emoji":"^2.2.0","unified":"~11.0.5","unist-util-visit":"~5.1.0"},"devDependencies":{"@axe-core/playwright":"4.12.1","@biomejs/biome":"2.5.7","@changesets/changelog-github":"0.7.0","@changesets/cli":"2.31.1","@changesets/get-release-plan":"4.0.16","@playwright/test":"1.62.1","@types/node":"20.19.43","@vitest/coverage-v8":"4.1.10","lint-staged":"17.3.0","rehype":"~13.0.2","rehype-minify-whitespace":"^6.0.2","rehype-parse":"^9.0.1","rehype-stringify":"^10.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","rimraf":"^6.1.3","simple-git-hooks":"^2.13.1","typescript":"7.0.2","vitest":"4.1.10"},"keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block","rehype-code-grouping-tab-block","remark-plugin","unified","markdown","mdx","astro","starlight","documentation","code-tabs","accessible","syntax-highlighting"],"author":{"name":"Sohab Sk"},"license":"MIT","repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"publishConfig":{"access":"public"},"lint-staged":{"*":["biome check --write --no-errors-on-unmatched"]},"simple-git-hooks":{"pre-commit":"pnpm typecheck && pnpm test:coverage && pnpm lint:staged"},"engines":{"node":">=20.0.0"},"sideEffects":["./dist/styles.css","./dist/client.js"],"homepage":"https://rehype-code-group.pages.dev/","bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"scripts":{"run:example":"pnpm build && node example/index.js","build":"pnpm clean && tsc && node scripts/buildAssets.mjs","clean":"rimraf dist","format":"biome format --write","lint":"biome check","lint:fix":"biome check --write","lint:staged":"lint-staged","changeset":"changeset","changeset:version":"changeset version","changeset:publish":"pnpm build && changeset publish","release:check":"node scripts/checkReleasePlan.mjs","typecheck":"tsc --noEmit","test":"vitest run","test:watch":"vitest --watch","test:coverage":"vitest run --coverage","test:e2e":"pnpm build && playwright test","test:docs":"pnpm docs:build && playwright test --config playwright.docs.config.ts","test:package":"pnpm build && tsc -p test-dts/tsconfig.json && node scripts/checkPackage.mjs","docs:build":"pnpm build && pnpm --dir docs build","docs:dev":"pnpm build && pnpm --dir docs dev","docs:preview":"pnpm --dir docs preview","generate:fixtures":"npx tsx scripts/generateFixtures.ts","audit":"pnpm audit --audit-level low","audit:prod":"pnpm audit --prod --audit-level low","security:patches":"node scripts/checkPatchedDependencies.mjs","deps:outdated":"pnpm outdated"},"_id":"rehype-code-group@1.0.1","_integrity":"sha512-fVpjTIgIic0f6qjTHw8Cm3FSdcBgrLO8Mjm6zJE2HswldvGM6/C0XpsJ4y4xB2pZ6oLD9gxNyhXEP20QLt7gpg==","_resolved":"/tmp/6884c0e586371d7674e6fc5bccea6f3d/rehype-code-group-1.0.1.tgz","_from":"file:rehype-code-group-1.0.1.tgz","_nodeVersion":"24.18.0","_npmVersion":"12.0.2","dist":{"integrity":"sha512-fVpjTIgIic0f6qjTHw8Cm3FSdcBgrLO8Mjm6zJE2HswldvGM6/C0XpsJ4y4xB2pZ6oLD9gxNyhXEP20QLt7gpg==","shasum":"2eecd21e89d4496323e91dc8ba181935556c3e2d","tarball":"https://registry.npmjs.org/rehype-code-group/-/rehype-code-group-1.0.1.tgz","fileCount":44,"unpackedSize":71290,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-code-group@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAVO74RVOti7hVtx4qJpZ0YF3xP5w7xVQn6S4cpriFpcAiBGmNqybxmoIl2bV53QOk7092gbWnjda0KR6FadaS/4Dw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:33167942-b596-4940-9e7c-39b79d0a559d"}},"directories":{},"maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-code-group_1.0.1_1786476883554_0.08155007124324198"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-12T08:06:32.819Z","modified":"2026-08-11T19:34:44.050Z","0.0.1":"2024-11-12T08:06:33.074Z","0.1.0":"2024-11-12T19:01:45.309Z","0.1.1":"2024-11-12T22:45:13.230Z","0.1.2":"2024-11-13T21:43:09.458Z","0.1.3":"2024-11-13T22:24:54.008Z","0.2.0":"2024-11-14T21:37:47.934Z","0.2.1":"2024-11-15T16:15:04.981Z","0.2.2":"2024-11-20T20:05:52.872Z","0.2.3":"2024-12-14T15:54:56.740Z","0.2.4":"2025-03-04T08:43:53.444Z","0.3.0":"2026-02-22T11:16:29.850Z","0.3.1":"2026-02-25T10:18:23.083Z","1.0.0":"2026-08-11T19:13:48.442Z","1.0.1":"2026-08-11T19:34:43.714Z"},"bugs":{"url":"https://github.com/ITZSHOAIB/rehype-code-group/issues"},"author":{"name":"Sohab Sk"},"license":"MIT","homepage":"https://rehype-code-group.pages.dev/","keywords":["rehype","rehype-plugin","rehype-code-group","rehype-code-tabs","rehype-code-grouping","rehype-code-group-tabs","rehype-code-grouping-tabs","rehype-tabs","rehype-tab","rehype-code-block","rehype-code-group-block","rehype-code-grouping-block","rehype-code-grouping-tabs-block","rehype-tabs-block","rehype-tab-block","rehype-code-grouping-tab-block","remark-plugin","unified","markdown","mdx","astro","starlight","documentation","code-tabs","accessible","syntax-highlighting"],"repository":{"url":"git+https://github.com/ITZSHOAIB/rehype-code-group.git"},"description":"Accessible, framework-neutral code and content tabs for rehype, with syncing, persistence, and CSP-safe asset modes.","maintainers":[{"name":"sohabsk","email":"sksohablocal@gmail.com"}],"readme":"<p align=\"center\">\n  <img width=\"1280\" height=\"640\" alt=\"rehype-code-group\" src=\"https://github.com/user-attachments/assets/d7da11d1-9f5b-4c93-9023-fcf4d0f2c288\" />\n</p>\n\n# rehype-code-group\n\n[![npm version](https://img.shields.io/npm/v/rehype-code-group)](https://www.npmjs.com/package/rehype-code-group)\n[![weekly downloads](https://img.shields.io/npm/dw/rehype-code-group)](https://www.npmjs.com/package/rehype-code-group)\n[![bundle size](https://img.shields.io/bundlephobia/minzip/rehype-code-group)](https://bundlephobia.com/package/rehype-code-group)\n[![license](https://img.shields.io/npm/l/rehype-code-group)](./LICENSE)\n\nAccessible, framework-neutral code tabs for rehype. Group highlighted code or arbitrary content, synchronize related choices, persist state, and choose exactly how browser assets are delivered.\n\n[Documentation](https://rehype-code-group.pages.dev/) · [npm](https://www.npmjs.com/package/rehype-code-group) · [Report an issue](https://github.com/ITZSHOAIB/rehype-code-group/issues)\n\n## Why use it?\n\n- Works after any syntax highlighter instead of owning highlighting.\n- Uses ARIA tabs, roving focus, RTL-aware arrows, vertical navigation, and `Home`/`End`.\n- Keeps every panel readable when JavaScript is unavailable and when printing.\n- Supports compact code groups and rich tabs containing prose, lists, or multiple blocks.\n- Synchronizes only with explicit keys; state can live in local storage or a shareable URL.\n- Offers inline, external, nonce-bearing, and application-owned asset modes for strict CSPs.\n- Includes remark helpers for fence metadata and npm/pnpm/Yarn/Bun command conversion.\n- Ships an ESM browser client, authoritative CSS, and TypeScript declarations as public subpaths.\n\nInspired by [VitePress code groups](https://vitepress.dev/guide/markdown#code-groups), designed for the wider unified ecosystem.\n\n## Install\n\nThis package is ESM-only and supports Node.js 20 or newer.\n\n```sh\nnpm install rehype-code-group\n# pnpm add rehype-code-group\n# yarn add rehype-code-group\n# bun add rehype-code-group\n```\n\n## Quick start\n\n```ts\nimport { rehype } from \"rehype\";\nimport rehypeStringify from \"rehype-stringify\";\nimport remarkParse from \"remark-parse\";\nimport remarkRehype from \"remark-rehype\";\nimport rehypeCodeGroup from \"rehype-code-group\";\n\nconst file = await rehype()\n  .use(remarkParse)\n  .use(remarkRehype)\n  .use(rehypeCodeGroup)\n  .use(rehypeStringify)\n  .process(markdown);\n```\n\nThen write one label per code block:\n\n````md\n::: code-group labels=[npm, pnpm, yarn]\n\n```sh\nnpm install rehype-code-group\n```\n\n```sh\npnpm add rehype-code-group\n```\n\n```sh\nyarn add rehype-code-group\n```\n\n:::\n````\n\nLabels containing commas can be quoted. The small default resolver supports common shortcodes including `:package:`, `:yarn:`, `:robot:`, `:rocket:`, and `:sparkles:`.\n\n## Rich-content groups\n\nUse four colons around nested `code-tab` directives. Panels may contain any content emitted into HAST.\n\n`````md\n:::: code-group label=\"Choose a runtime\" default=\"node\" sync=\"runtime\" persist=\"local\"\n\n::: code-tab label=\"Node.js\" value=\"node\"\n\nUse the current LTS release:\n\n```sh\nnode app.js\n```\n\n:::\n\n::: code-tab label=\"Bun\" value=\"bun\"\n\nRun TypeScript directly:\n\n```sh\nbun app.ts\n```\n\n:::\n\n::::\n`````\n\nSet `orientation=\"vertical\"` for an `ArrowUp`/`ArrowDown` tab list. Use `persist=\"url\"` when the selected value should be shareable as `?rcg-runtime=bun`.\n\n## Fence metadata\n\nRun the remark companion before `remark-rehype` to use fence metadata as labels:\n\n```ts\nimport remarkCodeGroup from \"rehype-code-group/remark\";\n\nprocessor.use(remarkCodeGroup).use(remarkRehype);\n```\n\n````md\n::: code-group\n\n```sh [npm]\nnpm install package\n```\n\n```sh [pnpm]\npnpm add package\n```\n\n:::\n````\n\n## Package-manager tabs\n\nThe optional remark converter translates install aliases, removals, scripts, multiline fences, and `npx` executables. Unsupported npm commands emit a diagnostic rather than guessing.\n\n```ts\nimport remarkPackageManagers from \"rehype-code-group/package-managers\";\n\nprocessor\n  .use(remarkPackageManagers, { packageManagers: [\"npm\", \"pnpm\", \"yarn\", \"bun\"] })\n  .use(remarkCodeGroup)\n  .use(remarkRehype);\n```\n\n````md\n```sh npm2yarn\nnpm install rehype-code-group\n```\n````\n\n## Asset delivery\n\nInline assets are the zero-config default and are emitted only when a group exists.\n\n```ts\nprocessor.use(rehypeCodeGroup, {\n  assets: { mode: \"inline\", nonce: requestNonce },\n});\n```\n\nFor a global application bundle:\n\n```ts\n// Markdown configuration\nprocessor.use(rehypeCodeGroup, { assets: \"none\" });\n\n// Application entry point\nimport \"rehype-code-group/styles.css\";\nimport { initCodeGroups } from \"rehype-code-group/client\";\n\nconst cleanup = initCodeGroups(document);\n```\n\nStrict CSP deployments can ask the plugin to emit external URLs:\n\n```ts\nprocessor.use(rehypeCodeGroup, {\n  assets: {\n    mode: \"external\",\n    stylesheetHref: \"/assets/code-group.css\",\n    scriptSrc: \"/assets/code-group.js\",\n    nonce: requestNonce,\n  },\n});\n```\n\n## Options\n\n```ts\ntype RehypeCodeGroupOptions = {\n  assets?:\n    | \"inline\"\n    | \"none\"\n    | { mode: \"inline\"; nonce?: string }\n    | {\n        mode: \"external\";\n        nonce?: string;\n        scriptSrc: string;\n        stylesheetHref: string;\n      };\n  customClassNames?: Partial<ClassNames>;\n  diagnostics?: \"warn\" | \"error\" | \"silent\";\n  idPrefix?: string;\n  labelResolver?: (label: string) => string;\n};\n```\n\nMalformed compact groups remain untouched. `diagnostics: \"warn\"` adds a VFile message, `\"error\"` fails the build, and `\"silent\"` suppresses the message.\n\nGenerated IDs are deterministic per transformation. Supply `idPrefix` when separately compiled fragments will later share one document.\n\n## Styling\n\nDefault classes are retained when custom classes are added, keeping browser behavior stable. The bundled styles keep tabs aligned inside host typography systems and follow the page's light or dark `color-scheme`. Theme with `--rcg-accent`, `--rcg-border-color`, `--rcg-focus-color`, `--rcg-tab-background`, `--rcg-tab-background-active`, and `--rcg-tab-color`.\n\n```css\n.rehype-code-group {\n  --rcg-accent: rebeccapurple;\n  --rcg-tab-background-active: color-mix(in srgb, rebeccapurple 12%, transparent);\n}\n```\n\n## Emoji catalog\n\nThe default resolver intentionally stays small. Opt into the complete catalog:\n\n```ts\nimport rehypeCodeGroup from \"rehype-code-group\";\nimport { fullEmojiResolver } from \"rehype-code-group/emoji\";\n\nprocessor.use(rehypeCodeGroup, { labelResolver: fullEmojiResolver });\n```\n\nAny application-defined label resolver is supported.\n\n## Browser events\n\nDirect selections emit a bubbling `rehype-code-group:change` event with `{ index, source, syncKey, value }`. The client observes dynamically inserted groups and repeated initialization of the same root is safe and returns its existing cleanup function.\n\n## Astro\n\n```ts\nimport { defineConfig } from \"astro/config\";\nimport rehypeCodeGroup from \"rehype-code-group\";\n\nexport default defineConfig({\n  markdown: {\n    rehypePlugins: [[rehypeCodeGroup, { assets: \"inline\" }]],\n  },\n});\n```\n\nSee the [framework guide](https://rehype-code-group.pages.dev/guides/frameworks/) for Astro and Vocs integration notes.\n\n## Documentation site\n\nThe documentation is a fully static [Vocs](https://vocs.dev/) site with interactive examples powered by the package's public browser client and stylesheet.\n\n```sh\npnpm docs:dev\npnpm docs:build\n```\n\nFor Cloudflare Pages, keep the repository root as the project root, use `pnpm docs:build` as the build command, and use `docs/dist/public` as the output directory. Set `VOCS_BASE_URL` to the canonical deployed URL in the production environment only; leave it unset for local and branch previews so their assets and navigation remain self-contained.\n\n## Quality and security\n\nUnit tests enforce coverage thresholds. Playwright exercises Chromium, Firefox, WebKit, dynamic content, keyboard behavior, no-JavaScript fallback, and axe checks. CI also tests supported Node releases, audits all dependencies, performs dependency review and CodeQL analysis, generates an SBOM, validates the packed npm artifact, and can run Snyk when `SNYK_TOKEN` is configured.\n\nSecurity reports follow the private process in [SECURITY.md](./SECURITY.md).\n\n## Contributing\n\nContributions are welcome. Read [CONTRIBUTING.md](./CONTRIBUTING.md), add a failing public-behavior test first, and include a changeset for user-visible changes.\n\n## License\n\n[MIT](./LICENSE) © Sohab Sk\n","readmeFilename":"README.md"}