{"_id":"astro-mermaid","_rev":"16-2b27c4e45c41d3727671f96d92f8e8eb","name":"astro-mermaid","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"astro-mermaid","version":"1.0.0","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.0.0","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"609f339dcb84cb792973876c8c9400d36d014a55","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.0.0.tgz","fileCount":4,"integrity":"sha512-8dWHjclnTxPuUx08p0nJN95+eEB9yuRUygUoJn0Ru43tU1ZT1OEhMYRqx93t43+62y3pbAKrnyGFaxPqzKv7qw==","signatures":[{"sig":"MEYCIQDL/g+2VDrHMxUhBUvILnqjFyHKqtUAw+rsfzV1wSZ9XgIhANxgEHxnccVTi08nXPAOK9fhAemwjr/RvjvWYrB6Hhe8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12088},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"793a3ab09c7222156e54bcf15dd3b07b7c593b7b","_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.3.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","mermaid":"^11.0.0","typescript":"^5.0.0","@types/hast":"^3.0.4"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.0.0_1749314507805_0.2481309480572349","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"astro-mermaid","version":"1.0.1","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.0.1","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"7f1ee01dd117d2ec5427b1167d71735e4eb5bc7e","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.0.1.tgz","fileCount":4,"integrity":"sha512-9mG0SLeUWgus5N2+R4J3r8vJAXkiSOWXGSy1X0NRdi0tOjM6qsEHfZwCu9zh+tNqm+vniuJftD08wfoaE3rRUQ==","signatures":[{"sig":"MEQCIAbl38F50/p+mIkH0SnFwOkwIBCEKSsR5Iq2a7IUx+pOAiB9Xbg2D21RPR12BljPGTdwTfNEDCzIaUT5/dRTJOn3fA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12191},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"e5791d92a35edff713925dfc70467067d23244d8","_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.3.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","mermaid":"^11.0.0","typescript":"^5.0.0","@types/hast":"^3.0.4"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.0.1_1749315067988_0.6327127839474072","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"astro-mermaid","version":"1.0.2","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.0.2","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"20cfd0d8f40eb1fcb39adc4c3b297c9f46e49df7","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.0.2.tgz","fileCount":4,"integrity":"sha512-cavcHMaDTqhuI3ba4okdCf5qEbntu1cE0cOauVxBgK/6mWX4LWIemVmk4UG8e2L/YuURvh/n/iDADgHQ8m5u6w==","signatures":[{"sig":"MEQCIE2cCuWbabk0wGpxbmS6liddbdXXSdIF8anr0d2OqW+gAiA1faAPyd0zxW5OIX6CCvqVY2hkmYL8kXu4ZzMAlKzRNg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17030},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"cde4b990925e6bb49b6c2222a6b21c2cf40447b2","_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"10.9.2","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","mermaid":"^11.0.0","typescript":"^5.0.0","@types/hast":"^3.0.4"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.0.2_1749737857564_0.44788802139250206","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"astro-mermaid","version":"1.0.3","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.0.3","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"824ac0df17408757e90d3bad471e45e4f9abf3e0","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.0.3.tgz","fileCount":4,"integrity":"sha512-Xa8QN2NUWJLrFoueG1FO1XpzDu5LOiXH5dCpOTpiO/oqTHAN6N3iTUBTOchZHJZkVVPv1MT1FjxJ3TgmR6NlbA==","signatures":[{"sig":"MEQCIAGYAsoMFDsAnpfbmjdkECGB+BcfwhrSHGOeWqm0KGhfAiB3Q4G1k/kcnTlBPGutqMXVLBC8bp8B800+VQjyCqxeIg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19151},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"b0da35475e2e96d877f7b5befb55133f86a1d14a","_npmUser":{"name":"joesaby","actor":{"name":"joesaby","type":"user","email":"joesaby@gmail.com"},"email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"10.9.2","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","mermaid":"^11.0.0","typescript":"^5.0.0","@types/hast":"^3.0.4"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.0.3_1750272286523_0.8541234438835708","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"astro-mermaid","version":"1.0.4","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.0.4","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"5b79db776bb3abfd864ccc719f711f0c2c7e5a6f","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.0.4.tgz","fileCount":4,"integrity":"sha512-2M4bVjqLpDB2EZ4EfD6Utzs7VEEORmlt5hNZcMK54IcKWzflohKvowCzg79RHoAdu30W8a4aECAExH8mF7wG4w==","signatures":[{"sig":"MEQCIDcelRbbUckPFbH23q7hIJllIvN3scmm5YgJPTa9x17qAiACs3YF8YoXHgAjwH3FJ1vEP2pwALH11iry7Qe9g31sXQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20799},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"8fae3d51f8973824afed1fff5e3d6cff4a4bd86c","_npmUser":{"name":"joesaby","actor":{"name":"joesaby","type":"user","email":"joesaby@gmail.com"},"email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.3.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","mermaid":"^11.0.0","typescript":"^5.0.0","@types/hast":"^3.0.4"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.0.4_1751753058376_0.9385103654015012","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"astro-mermaid","version":"1.1.0","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.1.0","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"dabed812a444239a0b49c91a46ec217ec6e14358","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.1.0.tgz","fileCount":4,"integrity":"sha512-eW5aqOISq2Uf8goCedSl12d0qy8y77A+jRwKxwYc7LvrEN9HiCQuwTGu3zQvi0mB4+ydwaueaYbFUFSCIs2jrA==","signatures":[{"sig":"MEQCIADWeBc2t/s12d/v79oiMBMB9NnMoSMeTAJchPlRQxZXAiAZmbNFwgFsYiMkF9UX3v9kyMI3ztn9uqT2KlFAJBiSBw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23134},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"b24a24e6789e619dbc131c9e1295dff9474e4694","_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.3.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","mermaid":"^11.0.0","typescript":"^5.0.0","@types/hast":"^3.0.4"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.1.0_1759090356502_0.6028209904395847","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"astro-mermaid","version":"1.2.0","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.2.0","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"3f4e0d09954215b5c5d88897dbdd0ba37f83c679","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.2.0.tgz","fileCount":4,"integrity":"sha512-zELK0l0QUJaHBul9uijTr7SP+MN4LherN4sAC4xE7nx8I/TQoEtB36pnyEDMROZY3T3s4Eojw5CC/ezEBKi9RQ==","signatures":[{"sig":"MEUCIQCBDQNm9Jbjp0XZ1Vpmfk9FBQvV/NxUAwgOAv0BOK1jdgIgNckozxpXtOiPnywan4xSbVs+vXP3QiBhu0QKQZcW+zA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25134},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"c5aef0b95ec04e3f70f59ba4ae651459c172572d","scripts":{"test":"vitest","claude":"claude","test:ui":"vitest --ui","test:coverage":"vitest --coverage"},"_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.3.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0","@anthropic-ai/claude-code":"^1.0.128"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","vitest":"^3.2.4","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^3.2.4","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","hast-util-from-html":"^2.0.3"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.2.0_1763933129630_0.30707521396532345","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"astro-mermaid","version":"1.3.0","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.3.0","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"5da158f8e4ead9f45e459b43c590db8c6c2d0bc2","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.3.0.tgz","fileCount":4,"integrity":"sha512-q8GKUyAdZ4tBJNH5ZgwqIX0L+Qj0LOA4aNIcP1bOaj3vGxJf6UbR51P7hvfYsYykfCxTMstOCjx5TlEMA0QMCg==","signatures":[{"sig":"MEUCIDs46u4M3tLAeeqmrOsNUHxqekh0BujaFQdB/FGT7yfFAiEA2E1ELlY+Va3ym2u9DbQywaFICcf0xjtZQn4T8sJX6UM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25081},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"fc7ed088e44d406725bc4d9f14c5db0ffc8f6b17","scripts":{"test":"vitest","claude":"claude","test:ui":"vitest --ui","test:coverage":"vitest --coverage"},"_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.3.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","vitest":"^3.2.4","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^3.2.4","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","hast-util-from-html":"^2.0.3","@anthropic-ai/claude-code":"^2.0.71"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.3.0_1768762065632_0.7718048484302182","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"astro-mermaid","version":"1.3.1","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.3.1","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"7d8f4716ec0a26e4f92ea15318f93e4141a3d3a1","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.3.1.tgz","fileCount":4,"integrity":"sha512-1+FjwayMSZLtFd+ofdu1+v8a902nN5wmPmjY2qb8tLiO96YlL65LbskiuUcyH6q9h0CdZCrkc5FimlaHZsMJsg==","signatures":[{"sig":"MEUCIQCMbbGQxGHD03xBkGVfnVBkRXUmezfL+4xqHNUs+eDBfgIgemkWktdrGprkBWrk9PkLz8XjjJdtljumSZHja8aB804=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25013},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"77fe2ff657c0248a913ef2b8251c41a41e6be5e8","scripts":{"test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage"},"_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.3.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"23.10.0","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","vitest":"^3.2.4","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^3.2.4","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","hast-util-from-html":"^2.0.3"},"peerDependencies":{"astro":"^4.0.0 || ^5.0.0","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.3.1_1768762798321_0.5027377529747896","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"astro-mermaid","version":"1.4.0","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@1.4.0","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"bfa24cb43abb7d926210ebac3e588084cb6a3618","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-1.4.0.tgz","fileCount":4,"integrity":"sha512-VYfUT0LC0kMqnbBUE17yZBcabO3XrJydD4t5vpj7A59G/cIn/igba23snRJ2HHSH73TYjmXLLIU0ssbmNAJh8w==","signatures":[{"sig":"MEQCIDttNQAmaK42JA2Z0XDJIf8wpiF3Yh3dcDdhR2GKbxGnAiBaXgfT3cOZZXfapm12n61dFfuHgvhHWpUtVv3/PoQfXg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/astro-mermaid@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25169},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"ebe84bcc6cd07ea2f487612bcb87ed21d5c2bf27","scripts":{"test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage"},"_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"20.20.1","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^5.0.0","vitest":"^3.2.4","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^3.2.4","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","hast-util-from-html":"^2.0.3"},"peerDependencies":{"astro":">=4","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_1.4.0_1774008189459_0.02678941191091111","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"astro-mermaid","version":"2.0.0","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@2.0.0","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"c1a9c4a4d56c8f23be6492860289dd0b5e704f8c","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-2.0.0.tgz","fileCount":4,"integrity":"sha512-GVZWL1GxluopoGAioIMUrUFjTzmOalHj5JX1XOPHrhkav6zvByVw/FqiFbzUSqSbqGRFWjG+DOOxkSav7Y287Q==","signatures":[{"sig":"MEYCIQCSyZlO4OqGt3XFqDG8TWSFIyrPhXob5uKFKdq9DexnbQIhAMKCHpphObOA1IFfK9Dn5yT7bH8vf81kphwJe7OMIF4S","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29286},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"b43c32862af2d4eed4bcca6f09a11e1765c6becf","scripts":{"test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage","semantic-release":"semantic-release"},"_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.12.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"22.22.1","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^6.0.0","vitest":"^3.2.4","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^3.2.4","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","semantic-release":"^25.0.3","hast-util-from-html":"^2.0.3"},"peerDependencies":{"astro":">=4","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_2.0.0_1774010052156_0.7290088258573417","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"astro-mermaid","version":"2.0.1","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@2.0.1","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"c79ee87a42f2d50babd898ff5e475bd978f1a02a","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-2.0.1.tgz","fileCount":4,"integrity":"sha512-JTyB62FMFJpwS/1yUplmrugL0yr0flBVYZw6mf3s7pVlh+CHCeZTXyj3KCCWtFhnPLAdM+PYld0D+gxN/SysLQ==","signatures":[{"sig":"MEQCIF6UxwZGfF2KQ4eeVuUmyTCWkVuA0r4lxjMoEv4vJig2AiBEeTG4jXJ6lSuXnmkcuSmyBseI8MqTtqlcPWHDF/fmZQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29286},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"eb9d9f6df7c5366cc5e60edaa38049f85ea8c7c5","scripts":{"test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage","semantic-release":"semantic-release"},"_npmUser":{"name":"joesaby","email":"joesaby@gmail.com"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.12.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"22.22.1","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^6.0.0","vitest":"^3.2.4","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^3.2.4","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","semantic-release":"^25.0.3","hast-util-from-html":"^2.0.3"},"peerDependencies":{"astro":">=4","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_2.0.1_1774010312869_0.08007869664278355","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"astro-mermaid","version":"2.0.2","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@2.0.2","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"ffd29dacb5eb2db7dc4678175c348fb2f5100a87","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-2.0.2.tgz","fileCount":4,"integrity":"sha512-ihx63qwZ0hlu9mDjs6auQEXyo13s9h5HFHFIHovjTJH6ot97u0VqyGk3P1kkjPYZeOMrZ1Y7QAOevUfLs9cDfA==","signatures":[{"sig":"MEUCIQDNagDMFWaVAQK5Zg22W1OoKG2t7ujCIJ+C3Kui02E1pAIgRW54MGo2nYuz4IySoXXSGQrD8qAli/HpUfHNxioXhFU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/astro-mermaid@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":29286},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"002bd345eca7d2531da689e24cfdb3283d83c210","scripts":{"test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage","semantic-release":"semantic-release"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:11b2b8ea-2710-48a9-a606-1c66e060a308"}},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.12.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"22.22.3","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^6.0.0","vitest":"^4.1.8","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^4.1.8","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","semantic-release":"^25.0.3","hast-util-from-html":"^2.0.3"},"peerDependencies":{"astro":">=4","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_2.0.2_1780337293290_0.7986736253975193","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"astro-mermaid","version":"2.0.3","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@2.0.3","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"ea83c3cc3f9ffb26d9d32039d11c1e5a0b5b3f79","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-2.0.3.tgz","fileCount":5,"integrity":"sha512-OIYUjd3cQzeTM1dhQNmU4Aau88a4Keh8S6Vl6xwdtONhXJDXxzJXyddzhNbMzszZfQLnsVOb0+cCFKs9dEDTkQ==","signatures":[{"sig":"MEUCIQC8lBKF9iIscbXTTdsnFDip7xC7KHMjkUMHtJmrJTNodwIgNY5wKagmJ1awnlCx7VZxkbqaaFPJYVCaHL+58kDadnQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/astro-mermaid@2.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31958},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"87a84f62d465c4241639849c2023ba2b62bf1fbe","scripts":{"test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage","semantic-release":"semantic-release"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:11b2b8ea-2710-48a9-a606-1c66e060a308"}},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.12.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"22.22.3","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^6.0.0","vitest":"^4.1.8","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^4.1.8","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","semantic-release":"^25.0.3","hast-util-from-html":"^2.0.3"},"peerDependencies":{"astro":">=4","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_2.0.3_1781725680324_0.4747611375455887","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"astro-mermaid","version":"2.0.4","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","_id":"astro-mermaid@2.0.4","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"dist":{"shasum":"e3af204e4848c22e2bd42b25c7152d61b8e13cad","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-2.0.4.tgz","fileCount":5,"integrity":"sha512-9oTGCdgnRs2PShPgyhkA45EvRVr3NcgZmFgQBaZywVijwwQm+RYvAL5XM4lgMQZc+pCrNM76hkZl85ioeKkEFQ==","signatures":[{"sig":"MEQCIAdCy+4IbWpchWZsNpoOh1rBNqaacTBBK1tmtz+RciGeAiBNvw/enaOmcTwWni71GvhZXBaPt+y3ndoQnkGdoAkjWQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/astro-mermaid@2.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34015},"main":"./astro-mermaid-integration.js","type":"module","types":"./astro-mermaid-integration.d.ts","exports":{".":{"types":"./astro-mermaid-integration.d.ts","import":"./astro-mermaid-integration.js"}},"gitHead":"4edbfd559db89eeecaa0c4412ebf6b35eb6753f8","scripts":{"test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage","semantic-release":"semantic-release"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:11b2b8ea-2710-48a9-a606-1c66e060a308"}},"overrides":{"tar":"^7.5.16","vite":"^7.3.5","esbuild":"^0.28.1","js-yaml":"^4.2.0","picomatch":"^4.0.4","ip-address":"^10.1.1"},"repository":{"url":"git+https://github.com/joesaby/astro-mermaid.git","type":"git"},"_npmVersion":"11.17.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","directories":{},"_nodeVersion":"22.22.3","dependencies":{"unist-util-visit":"^5.0.0","import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"astro":"^6.4.6","vitest":"^4.1.8","mermaid":"^11.0.0","unified":"^11.0.5","@vitest/ui":"^4.1.8","typescript":"^5.0.0","@types/hast":"^3.0.4","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-mermaid":"^0.2.0","rehype-stringify":"^10.0.1","semantic-release":"^25.0.3","hast-util-from-html":"^2.0.3"},"peerDependencies":{"astro":">=4","mermaid":"^10.0.0 || ^11.0.0","@mermaid-js/layout-elk":"^0.2.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/astro-mermaid_2.0.4_1781727733653_0.6354936824298862","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"astro-mermaid","version":"2.1.0","description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","type":"module","main":"./astro-mermaid-integration.js","types":"./astro-mermaid-integration.d.ts","exports":{".":{"import":"./astro-mermaid-integration.js","types":"./astro-mermaid-integration.d.ts"}},"keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"author":{"name":"Jose Sebastian"},"license":"MIT","peerDependencies":{"@mermaid-js/layout-elk":"^0.2.0","astro":">=4","mermaid":"^10.0.0 || ^11.0.0"},"peerDependenciesMeta":{"@mermaid-js/layout-elk":{"optional":true}},"dependencies":{"import-meta-resolve":"^4.2.0","mdast-util-to-string":"^4.0.0","unist-util-visit":"^5.0.0"},"overrides":{"vite":"^7.3.5","esbuild":"^0.28.1","ip-address":"^10.1.1","js-yaml":"^4.2.0","picomatch":"^4.0.4","tar":"^7.5.16"},"scripts":{"test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage","semantic-release":"semantic-release"},"devDependencies":{"@astrojs/markdown-satteri":"^0.3.2","@types/hast":"^3.0.4","@vitest/ui":"^4.1.8","astro":"^6.4.6","hast-util-from-html":"^2.0.3","mermaid":"^11.0.0","rehype-parse":"^9.0.1","rehype-stringify":"^10.0.1","remark-mermaid":"^0.2.0","remark-parse":"^11.0.0","satteri":"^0.9.2","semantic-release":"^25.0.3","typescript":"^5.0.0","unified":"^11.0.5","vitest":"^4.1.8"},"repository":{"type":"git","url":"git+https://github.com/joesaby/astro-mermaid.git"},"homepage":"https://github.com/joesaby/astro-mermaid#readme","bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"gitHead":"ce85c020871d79597ca0da69050b19c5db39a8a1","_id":"astro-mermaid@2.1.0","_nodeVersion":"22.23.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-fFRUN0BTZh+DZhDiLyblXoO26XqJ1Rr+qK3JGgSu7OBspKHDm59jkztg/aHsrdo1vO/tIq/+xhP/vgT8Mp92XA==","shasum":"56f9a69ff6ae487c8109c3368157c21e7c5c8aa2","tarball":"https://registry.npmjs.org/astro-mermaid/-/astro-mermaid-2.1.0.tgz","fileCount":5,"unpackedSize":37562,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/astro-mermaid@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC0i0urQtqwD85y/WC6QIKWkhfD6fcb03bQSCZWeLzysgIhAJ6infHsM5DXLEjA0Ap4SSeCWW6Da9IUmKFD0sZqAMtf"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:11b2b8ea-2710-48a9-a606-1c66e060a308"}},"directories":{},"maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/astro-mermaid_2.1.0_1782340868796_0.08478186507006802"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-07T16:41:47.804Z","modified":"2026-06-24T22:41:09.254Z","1.0.0":"2025-06-07T16:41:47.984Z","1.0.1":"2025-06-07T16:51:08.200Z","1.0.2":"2025-06-12T14:17:37.756Z","1.0.3":"2025-06-18T18:44:46.705Z","1.0.4":"2025-07-05T22:04:18.576Z","1.1.0":"2025-09-28T20:12:36.699Z","1.2.0":"2025-11-23T21:25:29.833Z","1.3.0":"2026-01-18T18:47:45.763Z","1.3.1":"2026-01-18T18:59:58.467Z","1.4.0":"2026-03-20T12:03:09.606Z","2.0.0":"2026-03-20T12:34:12.312Z","2.0.1":"2026-03-20T12:38:33.020Z","2.0.2":"2026-06-01T18:08:13.450Z","2.0.3":"2026-06-17T19:48:00.484Z","2.0.4":"2026-06-17T20:22:13.785Z","2.1.0":"2026-06-24T22:41:08.930Z"},"bugs":{"url":"https://github.com/joesaby/astro-mermaid/issues"},"author":{"name":"Jose Sebastian"},"license":"MIT","homepage":"https://github.com/joesaby/astro-mermaid#readme","keywords":["astro","astro-integration","mermaid","diagrams","markdown","flowchart","gantt","sequence-diagram"],"repository":{"type":"git","url":"git+https://github.com/joesaby/astro-mermaid.git"},"description":"An Astro integration for rendering Mermaid diagrams with automatic theme switching and client-side rendering","maintainers":[{"name":"joesaby","email":"joesaby@gmail.com"}],"readme":"# astro-mermaid\n\nAn Astro integration for rendering Mermaid diagrams with automatic theme switching, client-side rendering, and universal compatibility. Works seamlessly with both standalone Astro projects and documentation frameworks like Starlight.\n\n## Live Demos\n\n| Demo Type | URL | Description |\n|-----------|-----|-------------|\n| **Starlight Integration** | [starlight-mermaid-demo.netlify.app](https://starlight-mermaid-demo.netlify.app/) | Full documentation site with Starlight |\n| **Standalone Template** | [astro-mermaid-demo.netlify.app](https://astro-mermaid-demo.netlify.app/) | Pure Astro project template |\n\nBoth demos showcase:\n- ✅ All diagram types with live examples\n- ✅ Theme switching (light/dark modes)  \n- ✅ Icon pack integration\n- ✅ Responsive design\n- ✅ Content collections and direct `.astro` usage\n\n\n## Features\n\n- 🎨 **Universal Theme Detection** - Works with both `html[data-theme]` and `body[data-theme]` attributes\n- 🚀 **Dual Plugin System** - Remark + Rehype plugins for comprehensive markdown processing  \n- 📝 **Universal File Support** - Works with `.md`, `.mdx`, and `.astro` files\n- ⚡ **Performance Optimized** - Conditional loading and client-side rendering\n- 🔧 **Highly Configurable** - Full mermaid.js configuration support\n- 🎯 **TypeScript Ready** - Complete type definitions included\n- 🔒 **Privacy-Focused** - No external dependencies, fully offline-capable\n- 📦 **Zero Configuration** - Works out of the box with sensible defaults\n- 🎭 **Smooth UX** - Loading animations and layout shift prevention\n- 🦌 **ELK Support** - Optionally works with the `elk` layout ([The Eclipse Layout Kernel](https://eclipse.dev/elk/))\n\n## Quick Start\n\n### 1. Installation\n\n```bash\nnpm install astro-mermaid mermaid\n```\n\n### 2. Add to Astro Config\n\n```js\n// astro.config.mjs\nimport { defineConfig } from 'astro/config';\nimport mermaid from 'astro-mermaid';\n\nexport default defineConfig({\n  integrations: [\n    mermaid({\n      theme: 'forest',\n      autoTheme: true\n    })\n  ]\n});\n```\n\n### 3. Use in Markdown\n\n````markdown\n```mermaid\ngraph TD\n    A[Start] --> B[Process]\n    B --> C[End]\n```\n````\n\n### 4. (Optional) Use ELK layout\n\nTo enable the `elk` layout in Mermaid diagrams, install the `@mermaid-js/layout-elk` package.\n\n```bash\nnpm install @mermaid-js/layout-elk\n```\n\nLearn more about [Mermaid layouts](https://mermaid.js.org/config/layouts.html) or [The Eclipse Layout Kernel](https://eclipse.dev/elk/).\n\n## Astro Compatibility\n\n`astro-mermaid` works across Astro 4, 5, 6, and 7 — no configuration needed. It\ndetects the active markdown engine at build time and registers its transform the\nright way for each:\n\n| Astro version | Markdown engine | How mermaid hooks in |\n|---------------|-----------------|----------------------|\n| 7+ | Sätteri (`@astrojs/markdown-satteri`, the new default) | a Sätteri **mdast plugin** |\n| 6.4 – 6.x | `unified()` processor | remark + rehype plugins via `markdown.processor` |\n| < 6.4 | legacy pipeline | `markdown.remarkPlugins` / `markdown.rehypePlugins` |\n\nIf you previously pinned `markdown.processor` to `unified()` purely to keep\nmermaid working on Astro 7, you can now drop that workaround and let Astro use\nits default Sätteri processor.\n\n## Integration Order (Important!)\n\nWhen using with Starlight or other markdown-processing integrations, place mermaid **first**:\n\n```js\nimport { defineConfig } from 'astro/config';\nimport starlight from '@astrojs/starlight';\nimport mermaid from 'astro-mermaid';\n\nexport default defineConfig({\n  integrations: [\n    mermaid(), // ⚠️ Must come BEFORE starlight\n    starlight({\n      title: 'My Docs'\n    })\n  ]\n});\n```\n\n## Configuration\n\n```js\nmermaid({\n  // Default theme: 'default', 'dark', 'forest', 'neutral', 'base'\n  theme: 'forest',\n\n  // Enable automatic theme switching based on data-theme attribute\n  autoTheme: true,\n\n  // Enable client-side logging (default: true). Set to false to suppress\n  // console.log output in the browser. Errors are always logged.\n  enableLog: false,\n\n  // Additional mermaid configuration\n  mermaidConfig: {\n    flowchart: {\n      curve: 'basis'\n    }\n  },\n\n  // Register icon packs for use in diagrams\n  iconPacks: [\n    {\n      name: 'logos',\n      loader: () => fetch('https://unpkg.com/@iconify-json/logos@1/icons.json').then(res => res.json())\n    },\n    {\n      name: 'iconoir',\n      loader: () => fetch('https://unpkg.com/@iconify-json/iconoir@1/icons.json').then(res => res.json())\n    }\n  ]\n})\n```\n\n## Icon Packs\n\nYou can register icon packs to use custom icons in your diagrams. There are three ways to provide a pack:\n\n```js\niconPacks: [\n  // 1. url — preferred: a JSON endpoint, fetched safely at runtime\n  {\n    name: 'logos',\n    url: 'https://unpkg.com/@iconify-json/logos@1/icons.json'\n  },\n\n  // 2. icons — pass icon data directly (e.g. an imported JSON file).\n  //    No serialization concerns, so this works with imports and shared data.\n  {\n    name: 'my-icons',\n    icons: myIcons // import myIcons from './my-icons.json'\n  },\n\n  // 3. loader — legacy. The function source is inspected for a fetch('...')\n  //    URL. Prefer `url` or `icons` instead.\n  {\n    name: 'iconoir',\n    loader: () => fetch('https://unpkg.com/@iconify-json/iconoir@1/icons.json').then(res => res.json())\n  }\n]\n```\n\n> The integration never serializes arbitrary function bodies to the client. A `loader` is only used to extract its `fetch(...)` URL; if no URL can be found, the pack is skipped with a warning. Use `url` or `icons` for reliable results.\n\nThen use icons in your diagrams:\n\n````markdown\n```mermaid\narchitecture-beta\n  group api(logos:aws-lambda)[API]\n\n  service db(logos:postgresql)[Database] in api\n  service disk1(logos:aws-s3)[Storage] in api\n  service disk2(logos:cloudflare)[CDN] in api\n  service server(logos:docker)[Server] in api\n\n  db:L -- R:server\n  disk1:T -- B:server\n  disk2:T -- B:db\n```\n````\n\n## Theme Switching\n\nIf `autoTheme` is enabled (default), the integration will automatically switch between themes based on your site's `data-theme` attribute:\n\n- `data-theme=\"light\"` → uses 'default' mermaid theme\n- `data-theme=\"dark\"` → uses 'dark' mermaid theme\n\n## Client-Side Rendering & Security\n\n### 🔒 Privacy & Security Benefits\n\nThis integration uses **100% client-side rendering** with zero external dependencies at runtime:\n\n- **No Data Transmission**: Your diagram content never leaves your browser\n- **No External Servers**: No calls to mermaid.live or any external services\n- **Offline Capable**: Works completely offline after initial page load\n- **Zero Network Latency**: Instant diagram rendering without network delays\n- **Corporate Firewall Friendly**: No external domains need to be whitelisted\n\n### ⚡ How It Works\n\n1. **Build Time**: Mermaid code blocks are transformed to `<pre class=\"mermaid\">` elements\n2. **Runtime**: The bundled Mermaid JavaScript library renders diagrams locally\n3. **Output**: Pure SVG generated entirely in your browser\n\n```javascript\n// All rendering happens locally - no network calls\nimport mermaid from 'mermaid';\nconst { svg } = await mermaid.render(id, diagramDefinition);\n```\n\n### 🛡️ Enterprise & Compliance\n\nPerfect for:\n- Corporate environments with strict security policies\n- GDPR/privacy-compliant applications  \n- Air-gapped or restricted network environments\n- Applications requiring data sovereignty\n- High-security environments where external requests are prohibited\n\n## Supported Diagrams\n\nAll mermaid diagram types are supported:\n\n- Flowcharts\n- Sequence diagrams\n- Gantt charts\n- Class diagrams\n- State diagrams\n- Entity Relationship diagrams\n- User Journey diagrams\n- Git graphs\n- Pie charts\n- Requirement diagrams\n- C4 diagrams\n- Mindmaps\n- Timeline diagrams\n- Quadrant charts\n- And more!\n\n## Version\n\nSee [changelog](https://github.com/joesaby/astro-mermaid/releases) for version history.\n\n## Contributing\n\nContributions welcome! See our [demos](https://astro-mermaid-demo.netlify.app/) for examples.\n\n## License\n\nMIT © [Jose Sebastian](https://github.com/joesaby)\n","readmeFilename":"README.md"}