{"_id":"@akshay-rajput/git-graph-svg","_rev":"12-1126f97e6c0dda4d607e5c45779f1b34","name":"@akshay-rajput/git-graph-svg","dist-tags":{"latest":"2.0.5"},"versions":{"1.0.1":{"name":"@akshay-rajput/git-graph-svg","version":"1.0.1","license":"MIT","_id":"@akshay-rajput/git-graph-svg@1.0.1","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"da523ea007fbcf0df8ee61b876a93860d54ecbcd","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-1.0.1.tgz","fileCount":6,"integrity":"sha512-B3YxCGL6N4ShqMHi1cOAggUYbRCp0WpzHx0mndEBQ0pxymqUsllN4EyHg3lu5IvmQuKEk4te5/xhJwqgHdI+jQ==","signatures":[{"sig":"MEYCIQCQRvnx2TE5xyK3xpuCY77MQ/jnoH6MXC7VO9O/iRyjBQIhAOMYWRfXbGXhC1x+Wj3VHiRBmoqBj0CDU80CdGOfWorN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44350},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"1f91b37a2366a0f2da4fad2068148ec81cf2ec9c","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_1.0.1_1771844225715_0.8456913617639166","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@akshay-rajput/git-graph-svg","version":"1.0.3","license":"MIT","_id":"@akshay-rajput/git-graph-svg@1.0.3","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"cec964ff6655512c892b490d30cfd9ab2cca5652","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-1.0.3.tgz","fileCount":6,"integrity":"sha512-rEs3liqv5aDYmY7nl/OVDL79j2Mjesj1xh3woo+pa2cZhZqUeydYPg6ljdL/WUB7dxFSxTVcGuIcPCi7zf/Dfg==","signatures":[{"sig":"MEQCIE+qSwzm+k62UlOCIPMgojcjuq9+MWw+SEPPYG+hIliWAiA228J33GEhVmkqpVLK0Clc0iRe6LnNsi6YeGXjgriukQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45293},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"f74c70b587cb4f467cc5b8d38dcfb7fc577687bf","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_1.0.3_1771869656025_0.3135465480474555","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@akshay-rajput/git-graph-svg","version":"1.0.4","license":"MIT","_id":"@akshay-rajput/git-graph-svg@1.0.4","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"ef3036392113acddce230c7fae9a49a718c04d3f","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-1.0.4.tgz","fileCount":6,"integrity":"sha512-a34hY8lxc8fLysy2kKo6M6qrTDeMpsj8sOhuPo3FpzwpXqLWuWwbGvS4kPqKalTHGGbjAk22o7M20mhqrA6OTA==","signatures":[{"sig":"MEYCIQC8xClXYjl9r7Tnm06MtnWdP5XXIhWSDO2pqQ4l61lTUgIhAOJdnHDb+CM2WUr9P9J5MIL8Hdcddc/ep8LD2grfNiZj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45247},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"ec1ef6ca91b217777478bdd5840f5eb425f8747b","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_1.0.4_1772042524135_0.9748608165960806","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@akshay-rajput/git-graph-svg","version":"1.0.5","license":"MIT","_id":"@akshay-rajput/git-graph-svg@1.0.5","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"cf182baea38621a06dc37f682d71c87ce52f76ad","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-1.0.5.tgz","fileCount":6,"integrity":"sha512-GaI4pe815lygiZY5vR6V3X4vMhk6ZtUyNV3UCRhUMIJwSPoHLeZG1R9ms8lYVq+QZ3RvT5kUrfFxQGZVByIFCA==","signatures":[{"sig":"MEUCIEDFICot/lVvtBmbxnV6wovEWRFDuTkCYYBweIQ8Uk8QAiEA9EW4A8OFzXvpHn1m0IYE+NkJvgdJrzWf7p89itgGc1o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44637},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"8f35341022e53ed8264c76a05c306fa692947bea","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_1.0.5_1772435110060_0.9214759703839468","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@akshay-rajput/git-graph-svg","version":"1.0.7","license":"MIT","_id":"@akshay-rajput/git-graph-svg@1.0.7","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"7601447bf9cd75e943b66ce90b56b6cfccac5e15","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-1.0.7.tgz","fileCount":6,"integrity":"sha512-QUkN/P32/Wtfxm+A6t00K/Ab28xIrUNJijFX+EXzvEH+Am6vas3PifDBAUmevWoLJLfs2mNXI7tqEDx9p7YnOQ==","signatures":[{"sig":"MEUCIQCV5aeyupczSgabG1QD9hQ5KmfX06A62khapC0F1JBXFAIgcnSZ2zhh4A2SV1kem00j4TLFhjUIKCJKfNZ07a6uuVA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44778},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"06e2a0d7ae2dab92b51c5a43708a1e517ddadd3d","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_1.0.7_1772442306813_0.3608630991104551","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@akshay-rajput/git-graph-svg","version":"1.0.8","license":"MIT","_id":"@akshay-rajput/git-graph-svg@1.0.8","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"977835b9cde48266eac5ec73411ca6a20af4fde7","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-1.0.8.tgz","fileCount":6,"integrity":"sha512-zbHE/1pXajlffX3F2+9Wi+XhzklI8V65uMlbQ5NBygeyhBbHJbLVLKrvu9DJliOQuqIpySG2Vcbb3Sn8pUhngA==","signatures":[{"sig":"MEYCIQD5eMWcfgD5nI+0DxlxvbL4/5kdQnAI8ggWOwZC9apE9wIhAOE8jWC+YWYjpEdXHUiFrwXdFjOOthuDpCdRQ/59FiUl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44807},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"4610d669d7bf4221a046352432a2ce21713a43c7","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_1.0.8_1772509585984_0.9270260410827285","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@akshay-rajput/git-graph-svg","version":"2.0.0","license":"MIT","_id":"@akshay-rajput/git-graph-svg@2.0.0","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"e54ebd81d0a93fddb34c587e33ca910e341505f2","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-2.0.0.tgz","fileCount":8,"integrity":"sha512-IYgV9nWw8kBhNeEIYU4m32xObfKcXHmnNqdQTSgAoKlJJwPNwme36T5MDA4SAyVIjEeuyHlp0aX9zzvCEsuI2w==","signatures":[{"sig":"MEUCIHf2apvzQgl2taJ/XRaa2VNKlFMNXhvcmIPSLIqwv/t4AiEAqiB20YX7ZXcYMkQJ9KIrR99ve2+280yR0e4regx3hrc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56254},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"0f348d4a7567fb966142341295a651d09c5c153b","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_2.0.0_1772535402664_0.8380146483693973","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@akshay-rajput/git-graph-svg","version":"2.0.1","license":"MIT","_id":"@akshay-rajput/git-graph-svg@2.0.1","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"b60b90a6e12f271df3efb0304d751a2a43f65b97","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-2.0.1.tgz","fileCount":8,"integrity":"sha512-TEgjrPfr2cQM41UkejNM3QITPZ7o9hXL50SejlikIviYoMEBoYZTtQfs/q1cF04t7h7rU+A8SkN+s1RQX7+Gjg==","signatures":[{"sig":"MEQCIAPgazAw0PIaOsyFdfzKcN4tamfgAQ2F78VwxV8BgCGsAiAc9m5+ZKS4UPN3ScrWYxJNpC6S/GHY0MJw5wSshfhcMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56254},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"f299268075ee158a78f95625da9db65d8af099d5","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_2.0.1_1772535670746_0.9013476926025967","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@akshay-rajput/git-graph-svg","version":"2.0.2","license":"MIT","_id":"@akshay-rajput/git-graph-svg@2.0.2","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"8de3635507d768ebea3aa4d54063f2a28f182d24","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-2.0.2.tgz","fileCount":8,"integrity":"sha512-TxfbLj6TdPar0whSlnVKZl8HbdFMMcB0N1Od1RIBAfk4k5yLmt0/UH7IMq3wOqW1zmjn2C8n2ce8upzWbcOwQA==","signatures":[{"sig":"MEUCIQDjFt9E21fj57WWNGF3anjvU2VF3CrAXae7V2zILDPpkwIgLPEoE/OX7H7/4NYIsuDc4zRV5i9qhUbd/tmwJCwY0uU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56764},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"d6b5baeba83cdfa2d461c23eece2e02a64c1c73c","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_2.0.2_1772600023684_0.5399723107596455","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@akshay-rajput/git-graph-svg","version":"2.0.3","license":"MIT","_id":"@akshay-rajput/git-graph-svg@2.0.3","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"59dad22b93314dcb87b01e79a5f23054260a7d47","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-2.0.3.tgz","fileCount":8,"integrity":"sha512-mj2XHZAuhi3BUhnan6t6P/H4eCSpB/T59OnilFOgSK4dCnkdTcFtBN8toZBoOYgz6Z3/TFS/afTVompaEc0cEQ==","signatures":[{"sig":"MEQCIGsRy0JicmLadpnH53YdRdkQwf2NR5RvVF/+iuGHI+OpAiBW0UiuC4442L4kKIxuoYix9u2AEAqrhoNaUsTSzdXRQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57280},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"b0972e3f18fb29a3324f02737adea03f6363ce85","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_2.0.3_1772601608924_0.650761128514546","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@akshay-rajput/git-graph-svg","version":"2.0.4","license":"MIT","_id":"@akshay-rajput/git-graph-svg@2.0.4","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"dist":{"shasum":"f028c92b93b8192689b77179a6a739693f83c3ae","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-2.0.4.tgz","fileCount":8,"integrity":"sha512-7mcTIH4SosG5odR6n7OhrMBWRCbJLmfXH9iiiIrARaD8umiudJSQOMO1kEVjRt7tYWv1iJ37QescS4f4467R+A==","signatures":[{"sig":"MEUCIBHnaKUdUezr1J6EhuUcRrt2X3L/FbwCN6Qsq6/ZP/3uAiEA65th3zYa94T1f2HFaFQE0auKoLamIybBNAJxnErXMPI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58141},"main":"dist/git-repo-graph.umd.js","type":"module","types":"dist/index.d.ts","module":"dist/git-repo-graph.es.js","gitHead":"09be79dfe575f226b2a5c44bbf72652e64ad7a30","private":false,"scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview"},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"_npmVersion":"9.6.5","description":"A lightweight, customizable **SVG-based Git commit graph renderer for\r React**.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"delaunator":"^5.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","eslint":"^9.39.1","globals":"^16.5.0","@eslint/js":"^9.39.1","typescript":"~5.9.3","@types/node":"^24.10.1","@types/react":"^18.3.28","vite-plugin-dts":"^4.5.4","@types/react-dom":"^18.3.7","@types/delaunator":"^5.0.3","typescript-eslint":"^8.48.0","@vitejs/plugin-react":"^5.1.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/git-graph-svg_2.0.4_1772684657679_0.11336816583198717","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"@akshay-rajput/git-graph-svg","description":"Lightweight SVG-based Git commit graph renderer for React with automatic branch layout.","private":false,"version":"2.0.5","main":"dist/git-graph-svg.umd.js","module":"dist/git-graph-svg.es.js","types":"dist/index.d.ts","type":"module","license":"MIT","publishConfig":{"access":"public"},"author":{"name":"Akshay Rajput","url":"https://github.com/notakshayrajput"},"bugs":{"url":"https://github.com/notakshayrajput/RepositoryGraph/issues"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"exports":{".":{"import":"./dist/git-graph-svg.es.js","require":"./dist/git-graph-svg.umd.js","types":"./dist/index.d.ts"}},"repository":{"type":"git","url":"git+https://github.com/notakshayrajput/RepositoryGraph.git"},"homepage":"https://github.com/notakshayrajput/RepositoryGraph","scripts":{"dev":"vite","build":"tsc -b && vite build","lint":"eslint .","preview":"vite preview"},"devDependencies":{"@eslint/js":"^9.39.1","@types/delaunator":"^5.0.3","@types/node":"^24.10.1","@types/react":"^18.3.28","@types/react-dom":"^18.3.7","@vitejs/plugin-react":"^5.1.1","eslint":"^9.39.1","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.4.24","globals":"^16.5.0","typescript":"~5.9.3","typescript-eslint":"^8.48.0","vite":"^7.3.1","vite-plugin-dts":"^4.5.4"},"dependencies":{"delaunator":"^5.0.1"},"keywords":["git","git graph","git visualization","react git graph","commit graph","git branch graph","git history visualization","react svg graph"],"sideEffects":false,"gitHead":"c8f9bc4c231bde3cab1eec9f1b72fb020f839dae","_id":"@akshay-rajput/git-graph-svg@2.0.5","_nodeVersion":"24.13.0","_npmVersion":"9.6.5","dist":{"integrity":"sha512-6btaTc7Tr4IABMX248HSIqXogODTjoaKGCMcX/H2trnvN1urqTvwH68l4JxPtV4GBWSBsK4pD9W6P7Ya+E0DlQ==","shasum":"dd6dc18fa8ec560974a02fabb97fadee2bcbf769","tarball":"https://registry.npmjs.org/@akshay-rajput/git-graph-svg/-/git-graph-svg-2.0.5.tgz","fileCount":8,"unpackedSize":60857,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGqRrrbV80MJn6SUGrk7jrhjBmixhcynH8tvnutlFUnNAiAF3Hj1LOu7Eth/lGIwtobO5b28J3jwdyLh+HmzF+5+6w=="}]},"_npmUser":{"name":"akshayrajput","email":"notakshayrajput@gmail.com"},"directories":{},"maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/git-graph-svg_2.0.5_1773207297380_0.01798580565073582"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-23T10:57:05.617Z","modified":"2026-03-11T05:34:57.731Z","1.0.1":"2026-02-23T10:57:05.861Z","1.0.3":"2026-02-23T18:00:56.170Z","1.0.4":"2026-02-25T18:02:04.289Z","1.0.5":"2026-03-02T07:05:10.196Z","1.0.7":"2026-03-02T09:05:07.020Z","1.0.8":"2026-03-03T03:46:26.125Z","2.0.0":"2026-03-03T10:56:42.811Z","2.0.1":"2026-03-03T11:01:10.891Z","2.0.2":"2026-03-04T04:53:43.843Z","2.0.3":"2026-03-04T05:20:09.122Z","2.0.4":"2026-03-05T04:24:17.844Z","2.0.5":"2026-03-11T05:34:57.575Z"},"license":"MIT","description":"Lightweight SVG-based Git commit graph renderer for React with automatic branch layout.","maintainers":[{"name":"akshay-rajput-author","email":"ptwrajput@gmail.com"},{"name":"akshayrajput","email":"notakshayrajput@gmail.com"}],"readme":"# GitGraphSVG\r\n\r\nA lightweight, customizable **SVG-based Git commit graph renderer for React**.\r\n\r\n`git-graph-svg` renders a Git-style commit history with branching and merging support, automatic lane allocation, and fully customizable node and edge rendering.\r\n\r\nBuilt for **flexibility, performance, and zero dependencies**.\r\n\r\n---\r\n\r\n# ✨ Features\r\n\r\n* 🔀 Automatic branch lane management\r\n* 🎨 Customizable branch color palettes\r\n* 🧩 Fully customizable node and edge rendering\r\n* 📐 Pure SVG rendering (no canvas)\r\n* ⚡ Lightweight & dependency-free\r\n* 🌿 Supports complex branch & merge histories\r\n\r\n---\r\n\r\n# 📐 Screenshots\r\n\r\n![Screenshot](https://raw.githubusercontent.com/notakshayrajput/RepositoryGraph/refs/heads/main/images/examples.png)\r\n\r\n![Screenshot](https://raw.githubusercontent.com/notakshayrajput/RepositoryGraph/refs/heads/main/images/examples1.png)\r\n\r\n---\r\n\r\n# 📦 Installation\r\n\r\n```bash\r\nnpm install git-graph-svg\r\n```\r\n\r\nor\r\n\r\n```bash\r\nyarn add git-graph-svg\r\n```\r\n\r\n---\r\n\r\n# 🚀 Basic Usage\r\n\r\n```tsx\r\nimport { GitGraph, type ICommitItem } from \"git-graph-svg\";\r\n\r\nconst commits: ICommitItem[] = [\r\n  {\r\n    id: \"a1\",\r\n    message: \"Initial commit\",\r\n    author: \"Akshay\",\r\n    date: \"2026-02-18T09:12:45\",\r\n    parents: [],\r\n  },\r\n  {\r\n    id: \"b2\",\r\n    message: \"Add feature\",\r\n    author: \"Akshay\",\r\n    date: \"2026-02-18T10:30:12\",\r\n    parents: [\"a1\"],\r\n  },\r\n];\r\n\r\nexport default function App() {\r\n  return <GitGraph commits={commits} />;\r\n}\r\n```\r\n\r\n---\r\n\r\n# 📘 Commit Data Model\r\n\r\n```ts\r\nexport interface ICommitItem {\r\n    id: string;\r\n    message: string;\r\n    author: string;\r\n    date: string;\r\n    parents: string[];\r\n    meta?: any;\r\n}\r\n```\r\n\r\nEach commit references its parent commit IDs in the `parents` array.\r\n\r\n---\r\n\r\n# ⚙️ Component Props\r\n\r\n```ts\r\ninterface GitGraphProps {\r\n    commits: ICommitItem[];\r\n    colorPalette?: string[];\r\n    padding?: {\r\n        left: number;\r\n        right: number;\r\n        bottom: number;\r\n        top: number;\r\n    } | number;\r\n    rowHeight?: number;\r\n    laneWidth?: number;\r\n    style?: React.CSSProperties;\r\n    renderNode?: (x: number, y: number, color: string, commit: ICommitItem) => ReactNode;\r\n    renderEdge?: (from: ICommitItem, to: ICommitItem, d: string, color: string) => ReactNode;\r\n    getMergeCurve?: (x1: number, y1: number, x2: number, y2: number) => string;\r\n    getBranchSplitCurve?: (x1: number, y1: number, x2: number, y2: number) => string;\r\n}\r\n```\r\n\r\n---\r\n\r\n# 🎨 Custom Rendering\r\n\r\nThe graph engine handles **layout and branch logic**, while you control how nodes and edges are rendered.\r\n\r\n---\r\n\r\n## Custom Node Rendering\r\n\r\n```tsx\r\n<GitGraph\r\n  commits={commits}\r\n  renderNode={(x, y, color, commit) => (\r\n    <g key={commit.id}>\r\n      <circle cx={x} cy={y} r={3} fill={color} />\r\n\r\n      <circle\r\n        cx={x}\r\n        cy={y}\r\n        r={6}\r\n        fill=\"none\"\r\n        stroke={color}\r\n        strokeWidth={2}\r\n      />\r\n\r\n      <text x={x + 20} y={y}>\r\n        {commit.id}\r\n      </text>\r\n    </g>\r\n  )}\r\n/>\r\n```\r\n\r\n---\r\n\r\n## Custom Edge Rendering\r\n\r\n```tsx\r\n<GitGraph\r\n  commits={commits}\r\n  renderEdge={(from, to, path, color) => (\r\n    <path\r\n      key={`${from.id}-${to.id}`}\r\n      d={path}\r\n      stroke={color}\r\n      strokeWidth={2}\r\n      fill=\"none\"\r\n      strokeDasharray=\"5,5\"\r\n    />\r\n  )}\r\n/>\r\n```\r\n\r\n---\r\n\r\n## 🎨 Custom Color Palette\r\n\r\n```tsx\r\n<GitGraph\r\n  commits={commits}\r\n  colorPalette={[\r\n    \"#8338ec\",\r\n    \"#ff006e\",\r\n    \"#fb5607\",\r\n    \"#ffbe0b\"\r\n  ]}\r\n/>\r\n```\r\n\r\nIf the number of active branches exceeds the palette size, additional colors are generated automatically.\r\n\r\n---\r\n\r\n## 🧪 Example: Multiple Graph Styles\r\n\r\n```tsx\r\nimport { useMemo } from \"react\";\r\nimport { GitGraph, type ICommitItem } from \"git-graph-svg\";\r\nimport { heavyCommitDataset } from \"./type\";\r\n\r\nfunction App() {\r\n  const commits = useMemo(\r\n    () =>\r\n      heavyCommitDataset.sort(\r\n        (a: any, b: any) =>\r\n          new Date(b.date).getTime() - new Date(a.date).getTime()\r\n      ),\r\n    [heavyCommitDataset]\r\n  );\r\n\r\n  return (\r\n    <div style={{ display: \"flex\" }}>\r\n      \r\n      {/* Graph with custom nodes and dashed edges */}\r\n      <GitGraph\r\n        commits={commits}   \r\n        rowHeight={25}\r\n        laneWidth={25}\r\n        renderNode={(x, y, color, commit) => (\r\n          <g key={commit.id}>\r\n            <circle cx={x} cy={y} r={3} fill={color} />\r\n            <circle\r\n              cx={x}\r\n              cy={y}\r\n              r={6}\r\n              fill=\"none\"\r\n              stroke={color}\r\n              strokeWidth={2}\r\n            />\r\n            <text x={x + 20} y={y}>\r\n              {commit.id}\r\n            </text>\r\n          </g>\r\n        )}\r\n        renderEdge={(from, to, d, color) => (\r\n          <path\r\n            key={`${from.id}-${to.id}`}\r\n            d={d}\r\n            stroke={color}\r\n            strokeWidth={2}\r\n            fill=\"none\"\r\n            strokeDasharray=\"5,5\"\r\n          />\r\n        )}\r\n      />\r\n\r\n      {/* Default graph */}\r\n      <GitGraph commits={commits} rowHeight={35} laneWidth={35} />\r\n\r\n\r\n    </div>\r\n  );\r\n}\r\n\r\nexport default App;\r\n```\r\n\r\n---\r\n\r\n# 📏 Layout Rules\r\n\r\n| Property  | Description                         |\r\n| --------- | ----------------------------------- |\r\n| rowHeight | Vertical spacing between commits    |\r\n| laneWidth | Horizontal spacing between branches |\r\n| width     | `laneCount * laneWidth`             |\r\n| height    | `commitCount * rowHeight`           |\r\n\r\n---\r\n\r\n# 🔄 Branch & Merge Handling\r\n\r\nThe engine automatically handles:\r\n\r\n* Branch creation\r\n* Branch merging\r\n* Lane reuse when branches end\r\n* Multiple parent commits\r\n* Smooth lane transitions\r\n\r\nRendering rules:\r\n\r\n* Straight lines when commits stay in the same lane\r\n* Smooth curves when switching lanes\r\n* Colors follow branch lineage\r\n\r\n---\r\n\r\n# 🧠 Design Philosophy\r\n\r\n`git-graph-svg` is designed as a **rendering engine**, not a UI component.\r\n\r\nIt handles:\r\n\r\n* commit layout\r\n* lane allocation\r\n* edge path generation\r\n* color management\r\n\r\nYou control the **visual layer**.\r\n\r\nThis makes it easy to integrate with:\r\n\r\n* Git visualizers\r\n* CI/CD dashboards\r\n* repository browsers\r\n* build pipeline UIs\r\n\r\n---\r\n\r\n# 🚀 Future Enhancements\r\n\r\nPossible upcoming improvements:\r\n\r\n* animations\r\n* hover tooltips\r\n* zoom & pan\r\n* horizontal layout support\r\n* commit grouping\r\n* performance optimizations for large repositories\r\n* interactive branch highlighting\r\n\r\n---\r\n\r\n# 📜 License\r\n\r\nMIT\r\n","readmeFilename":"README.md","homepage":"https://github.com/notakshayrajput/RepositoryGraph","keywords":["git","git graph","git visualization","react git graph","commit graph","git branch graph","git history visualization","react svg graph"],"repository":{"type":"git","url":"git+https://github.com/notakshayrajput/RepositoryGraph.git"},"author":{"name":"Akshay Rajput","url":"https://github.com/notakshayrajput"},"bugs":{"url":"https://github.com/notakshayrajput/RepositoryGraph/issues"}}