{"_id":"rehype-timeseries-chart","_rev":"33-e09309137ce35df800c041a8a1748771","name":"rehype-timeseries-chart","dist-tags":{"latest":"0.0.29"},"versions":{"0.0.23":{"name":"rehype-timeseries-chart","version":"0.0.23","keywords":["rehype","plugin","markdown","svg","chart","timeseries","csv"],"author":{"name":"Denis Perov"},"license":"MIT","_id":"rehype-timeseries-chart@0.0.23","maintainers":[{"name":"denperov","email":"denperov@gmail.com"}],"homepage":"https://github.com/denperov/rehype-timeseries-chart#readme","bugs":{"url":"https://github.com/denperov/rehype-timeseries-chart/issues"},"dist":{"shasum":"8596cd9e896c25e4dfd7bd68165122c01410a794","tarball":"https://registry.npmjs.org/rehype-timeseries-chart/-/rehype-timeseries-chart-0.0.23.tgz","fileCount":4,"integrity":"sha512-dHLlK7nqnsE6hZc0eDfoCFTytTS/HYrBPDS5lSTvhLaWqwggxHgrlySwiw0Np5jacdihD5HIobw2dx+2JFg03w==","signatures":[{"sig":"MEUCIED3ie7NJUfRIWlFc/WHR9uqCtxqfUARbQ34rcuGzi3kAiEAzv+V4N4ZkqdEp3PGW0OXhhQK3JtOmZ85k5TwDdpCyPY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15633},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":"./dist/index.js","gitHead":"872d5575850168a25974b16f8d47cd68a349d218","scripts":{"test":"node --test","build":"tsup","publish":"npm publish"},"_npmUser":{"name":"denperov","email":"denperov@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/denperov/rehype-timeseries-chart.git","type":"git"},"_npmVersion":"10.9.2","description":"Rehype plugin to render CSV code blocks as SVG timeseries charts","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"d3-array":"^3.2.4","d3-scale":"^4.0.2","d3-shape":"^3.2.0","d3-time-format":"^4.1.0","unist-util-visit":"^5.0.0","d3-scale-chromatic":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","unified":"^11.0.5","prettier":"^3.5.3","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.30","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@types/d3-array":"^3.2.1","@types/d3-scale":"^4.0.9","@types/d3-shape":"^3.1.7","rehype-stringify":"^10.0.1","@types/d3-time-format":"^4.0.3","@types/d3-scale-chromatic":"^3.1.0"},"optionalDependencies":{"@esbuild/linux-x64":"^0.25.5","@esbuild/win32-x64":"^0.25.5","@esbuild/darwin-x64":"^0.25.5","@esbuild/linux-arm64":"^0.25.5","@esbuild/win32-arm64":"^0.25.5","@esbuild/darwin-arm64":"^0.25.5","@rollup/rollup-darwin-x64":"^4.42.0","@rollup/rollup-darwin-arm64":"^4.42.0","@rollup/rollup-linux-x64-gnu":"^4.42.0","@rollup/rollup-win32-x64-msvc":"^4.42.0","@rollup/rollup-linux-arm64-gnu":"^4.42.0","@rollup/rollup-win32-arm64-msvc":"^4.42.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-timeseries-chart_0.0.23_1749569816520_0.3344623438994154","host":"s3://npm-registry-packages-npm-production"}},"0.0.24":{"name":"rehype-timeseries-chart","version":"0.0.24","keywords":["rehype","plugin","markdown","svg","chart","timeseries","csv"],"author":{"name":"Denis Perov"},"license":"MIT","_id":"rehype-timeseries-chart@0.0.24","maintainers":[{"name":"denperov","email":"denperov@gmail.com"}],"homepage":"https://github.com/denperov/rehype-timeseries-chart#readme","bugs":{"url":"https://github.com/denperov/rehype-timeseries-chart/issues"},"dist":{"shasum":"8ac0ab3a99eeeab8c6df1095b715f2bab3fc76d1","tarball":"https://registry.npmjs.org/rehype-timeseries-chart/-/rehype-timeseries-chart-0.0.24.tgz","fileCount":4,"integrity":"sha512-Zb0JvJPBauF27ult/e9hJrjmgC6O4xutPf+wa0reQ+Mh/cpfI7RS7Xhp1TTlIYcitqeih0TY+97kGi2zZZGpvw==","signatures":[{"sig":"MEQCICdqwDjQw4UVjUwEfXZ4JTOxR6GAf3BLGiNs630awZcwAiBvcwSVJ6CAZ6XCqdR7xfx9IAlcS6XiHEid6gysgpbFQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15633},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":"./dist/index.js","gitHead":"b6942db12281eb619d56cd508139ba9c9ac3842b","scripts":{"test":"node --test","build":"tsup","publish":"npm publish"},"_npmUser":{"name":"denperov","email":"denperov@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":true,"trailingComma":"none","bracketSpacing":false},"repository":{"url":"git+https://github.com/denperov/rehype-timeseries-chart.git","type":"git"},"_npmVersion":"10.9.2","description":"Rehype plugin to render CSV code blocks as SVG timeseries charts","directories":{},"sideEffects":false,"_nodeVersion":"22.15.0","dependencies":{"d3-array":"^3.2.4","d3-scale":"^4.0.2","d3-shape":"^3.2.0","d3-time-format":"^4.1.0","unist-util-visit":"^5.0.0","d3-scale-chromatic":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","unified":"^11.0.5","prettier":"^3.5.3","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.30","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@types/d3-array":"^3.2.1","@types/d3-scale":"^4.0.9","@types/d3-shape":"^3.1.7","rehype-stringify":"^10.0.1","@types/d3-time-format":"^4.0.3","@types/d3-scale-chromatic":"^3.1.0"},"optionalDependencies":{"@esbuild/linux-x64":"^0.25.5","@esbuild/win32-x64":"^0.25.5","@esbuild/darwin-x64":"^0.25.5","@esbuild/linux-arm64":"^0.25.5","@esbuild/win32-arm64":"^0.25.5","@esbuild/darwin-arm64":"^0.25.5","@rollup/rollup-darwin-x64":"^4.42.0","@rollup/rollup-darwin-arm64":"^4.42.0","@rollup/rollup-linux-x64-gnu":"^4.42.0","@rollup/rollup-win32-x64-msvc":"^4.42.0","@rollup/rollup-linux-arm64-gnu":"^4.42.0","@rollup/rollup-win32-arm64-msvc":"^4.42.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-timeseries-chart_0.0.24_1749570928555_0.3701184770123751","host":"s3://npm-registry-packages-npm-production"}},"0.0.25":{"name":"rehype-timeseries-chart","version":"0.0.25","keywords":["rehype","plugin","markdown","svg","chart","timeseries","csv"],"author":{"name":"Denis Perov"},"license":"MIT","_id":"rehype-timeseries-chart@0.0.25","maintainers":[{"name":"denperov","email":"denperov@gmail.com"}],"homepage":"https://github.com/denperov/rehype-timeseries-chart#readme","bugs":{"url":"https://github.com/denperov/rehype-timeseries-chart/issues"},"dist":{"shasum":"364db781df29720f63d70a0c9319f08a386a7dd7","tarball":"https://registry.npmjs.org/rehype-timeseries-chart/-/rehype-timeseries-chart-0.0.25.tgz","fileCount":4,"integrity":"sha512-Hz6deAbrdG+Zc5SOOaoJxzSSAVHbVnjuJovpu9X9E+JICiMs1cK6X32vWvCmWXS4TTddBf5dgsdM5KpsuKm5pA==","signatures":[{"sig":"MEUCIC1fRNsL2IRC1Htg6uP9g9gV5n1nhnvEn+u6MoC1I6e/AiEA95V50r7+QJGxjuwbgamGkSHW2qAG5wlE9GdgI9o3epY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15220},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":"./dist/index.js","gitHead":"47078fb7f7e11fce33e919507a6466b339beeba1","scripts":{"test":"node --test","build":"tsup","publish":"npm publish"},"_npmUser":{"name":"denperov","email":"denperov@gmail.com"},"repository":{"url":"git+https://github.com/denperov/rehype-timeseries-chart.git","type":"git"},"_npmVersion":"10.9.2","description":"Rehype plugin to render CSV code blocks as SVG timeseries charts","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"d3-array":"^3.2.4","d3-scale":"^4.0.2","d3-shape":"^3.2.0","d3-time-format":"^4.1.0","unist-util-visit":"^5.0.0","d3-scale-chromatic":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","unified":"^11.0.5","prettier":"^3.5.3","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.30","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@types/d3-array":"^3.2.1","@types/d3-scale":"^4.0.9","@types/d3-shape":"^3.1.7","rehype-stringify":"^10.0.1","@types/d3-time-format":"^4.0.3","@types/d3-scale-chromatic":"^3.1.0"},"optionalDependencies":{"@esbuild/linux-x64":"^0.25.5","@esbuild/win32-x64":"^0.25.5","@esbuild/darwin-x64":"^0.25.5","@esbuild/linux-arm64":"^0.25.5","@esbuild/win32-arm64":"^0.25.5","@esbuild/darwin-arm64":"^0.25.5","@rollup/rollup-darwin-x64":"^4.42.0","@rollup/rollup-darwin-arm64":"^4.42.0","@rollup/rollup-linux-x64-gnu":"^4.42.0","@rollup/rollup-win32-x64-msvc":"^4.42.0","@rollup/rollup-linux-arm64-gnu":"^4.42.0","@rollup/rollup-win32-arm64-msvc":"^4.42.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-timeseries-chart_0.0.25_1749587889267_0.34911472695397405","host":"s3://npm-registry-packages-npm-production"}},"0.0.26":{"name":"rehype-timeseries-chart","version":"0.0.26","keywords":["rehype","plugin","markdown","svg","chart","timeseries","csv"],"author":{"name":"Denis Perov"},"license":"MIT","_id":"rehype-timeseries-chart@0.0.26","maintainers":[{"name":"denperov","email":"denperov@gmail.com"}],"homepage":"https://github.com/denperov/rehype-timeseries-chart#readme","bugs":{"url":"https://github.com/denperov/rehype-timeseries-chart/issues"},"dist":{"shasum":"6a3f5578b84a3f4cfd14f706d3df32003bd41b38","tarball":"https://registry.npmjs.org/rehype-timeseries-chart/-/rehype-timeseries-chart-0.0.26.tgz","fileCount":4,"integrity":"sha512-+f2lxuLzkJxtCtXT5zceLqUxmT4U1YaX1WhVPyU6cEu9gCYg2ZE25XuW5p28mNQ2epHRjUbTQNfHhIktrSWAYg==","signatures":[{"sig":"MEQCIBAsSZtb4WowHPposgAB+pJINVYb53YeB//gcbOvpeU6AiBMuGy6Tkn6EcLvG+e1wJCckaxymGmtpg4D3H2WTM/hzA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14914},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":"./dist/index.js","gitHead":"62bd1368a5123a21af4f5f79a895905e55258e11","scripts":{"test":"node --test","build":"tsup","publish":"npm publish"},"_npmUser":{"name":"denperov","email":"denperov@gmail.com"},"repository":{"url":"git+https://github.com/denperov/rehype-timeseries-chart.git","type":"git"},"_npmVersion":"10.9.2","description":"Rehype plugin to render CSV code blocks as SVG timeseries charts","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"d3-array":"^3.2.4","d3-scale":"^4.0.2","d3-shape":"^3.2.0","d3-time-format":"^4.1.0","unist-util-visit":"^5.0.0","d3-scale-chromatic":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","unified":"^11.0.5","prettier":"^3.5.3","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.30","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@types/d3-array":"^3.2.1","@types/d3-scale":"^4.0.9","@types/d3-shape":"^3.1.7","rehype-stringify":"^10.0.1","@types/d3-time-format":"^4.0.3","@types/d3-scale-chromatic":"^3.1.0"},"optionalDependencies":{"@esbuild/linux-x64":"^0.25.5","@esbuild/win32-x64":"^0.25.5","@esbuild/darwin-x64":"^0.25.5","@esbuild/linux-arm64":"^0.25.5","@esbuild/win32-arm64":"^0.25.5","@esbuild/darwin-arm64":"^0.25.5","@rollup/rollup-darwin-x64":"^4.42.0","@rollup/rollup-darwin-arm64":"^4.42.0","@rollup/rollup-linux-x64-gnu":"^4.42.0","@rollup/rollup-win32-x64-msvc":"^4.42.0","@rollup/rollup-linux-arm64-gnu":"^4.42.0","@rollup/rollup-win32-arm64-msvc":"^4.42.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-timeseries-chart_0.0.26_1749590676620_0.707609422744808","host":"s3://npm-registry-packages-npm-production"}},"0.0.27":{"name":"rehype-timeseries-chart","version":"0.0.27","keywords":["rehype","plugin","markdown","svg","chart","timeseries","csv"],"author":{"name":"Denis Perov"},"license":"MIT","_id":"rehype-timeseries-chart@0.0.27","maintainers":[{"name":"denperov","email":"denperov@gmail.com"}],"homepage":"https://github.com/denperov/rehype-timeseries-chart#readme","bugs":{"url":"https://github.com/denperov/rehype-timeseries-chart/issues"},"dist":{"shasum":"a50a796463ecd3e231a9908734cd8502b593ede3","tarball":"https://registry.npmjs.org/rehype-timeseries-chart/-/rehype-timeseries-chart-0.0.27.tgz","fileCount":4,"integrity":"sha512-BzVAP3DjBOKt54oL7i+P3fezqJF15YHrCF4zTPyh1RpLgkBn5u3JwrpntY9vOGwuz9Pg3ouNpaE2LbEHlWUwgA==","signatures":[{"sig":"MEUCID/8FjelpUovg1GfXMzK9ZsVar4QjpDjL/1IliCvPTZ/AiEAhxbCtk62HqIWs0zA5fhLhPz/7QCpd7l1AWVMiLzlI2k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14978},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":"./dist/index.js","gitHead":"015265353a6e097b89bbcc58f4dd175c0c4d19e8","scripts":{"test":"node --test","build":"tsup","publish":"npm publish"},"_npmUser":{"name":"denperov","email":"denperov@gmail.com"},"repository":{"url":"git+https://github.com/denperov/rehype-timeseries-chart.git","type":"git"},"_npmVersion":"10.9.2","description":"Rehype plugin to render CSV code blocks as SVG timeseries charts","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"d3-array":"^3.2.4","d3-scale":"^4.0.2","d3-shape":"^3.2.0","d3-time-format":"^4.1.0","unist-util-visit":"^5.0.0","d3-scale-chromatic":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","unified":"^11.0.5","prettier":"^3.5.3","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.30","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@types/d3-array":"^3.2.1","@types/d3-scale":"^4.0.9","@types/d3-shape":"^3.1.7","rehype-stringify":"^10.0.1","@types/d3-time-format":"^4.0.3","@types/d3-scale-chromatic":"^3.1.0"},"optionalDependencies":{"@esbuild/linux-x64":"^0.25.5","@esbuild/win32-x64":"^0.25.5","@esbuild/darwin-x64":"^0.25.5","@esbuild/linux-arm64":"^0.25.5","@esbuild/win32-arm64":"^0.25.5","@esbuild/darwin-arm64":"^0.25.5","@rollup/rollup-darwin-x64":"^4.42.0","@rollup/rollup-darwin-arm64":"^4.42.0","@rollup/rollup-linux-x64-gnu":"^4.42.0","@rollup/rollup-win32-x64-msvc":"^4.42.0","@rollup/rollup-linux-arm64-gnu":"^4.42.0","@rollup/rollup-win32-arm64-msvc":"^4.42.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-timeseries-chart_0.0.27_1749595620748_0.5120646281731334","host":"s3://npm-registry-packages-npm-production"}},"0.0.28":{"name":"rehype-timeseries-chart","version":"0.0.28","keywords":["rehype","plugin","markdown","svg","chart","timeseries","csv"],"author":{"name":"Denis Perov"},"license":"MIT","_id":"rehype-timeseries-chart@0.0.28","maintainers":[{"name":"denperov","email":"denperov@gmail.com"}],"homepage":"https://github.com/denperov/rehype-timeseries-chart#readme","bugs":{"url":"https://github.com/denperov/rehype-timeseries-chart/issues"},"dist":{"shasum":"78fe029bf4bb68c89deb0d3eabd5e30adc533472","tarball":"https://registry.npmjs.org/rehype-timeseries-chart/-/rehype-timeseries-chart-0.0.28.tgz","fileCount":4,"integrity":"sha512-nI8IpIbDYUWHDeoP6ohOhFhEU0NI3iFq72bWkheAVsW0IkadeQsva86p8hPefDJHM976oJCcDedcPyb4QOu7cA==","signatures":[{"sig":"MEUCIG1lGZi5XDQA8RaXGPT1oD+I88Oomts8r5yn4m46JHzlAiEAj6ibtD0BGJklHDN5TPIYf0xUigz+vNQp9VJeAUZH8pc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14479},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":"./dist/index.js","gitHead":"09d57011e93ff1ecef56e2b7cbacd307f6ed4dad","scripts":{"test":"node --test","build":"tsup","publish":"npm publish"},"_npmUser":{"name":"denperov","email":"denperov@gmail.com"},"repository":{"url":"git+https://github.com/denperov/rehype-timeseries-chart.git","type":"git"},"_npmVersion":"10.9.2","description":"Rehype plugin to render CSV code blocks as SVG timeseries charts","directories":{},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"d3-array":"^3.2.4","d3-scale":"^4.0.2","d3-shape":"^3.2.0","d3-time-format":"^4.1.0","unist-util-visit":"^5.0.0","d3-scale-chromatic":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","unified":"^11.0.5","prettier":"^3.5.3","typescript":"^5.8.3","@types/hast":"^3.0.4","@types/node":"^22.15.30","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","@types/d3-array":"^3.2.1","@types/d3-scale":"^4.0.9","@types/d3-shape":"^3.1.7","rehype-stringify":"^10.0.1","@types/d3-time-format":"^4.0.3","@types/d3-scale-chromatic":"^3.1.0","@rollup/rollup-linux-x64-gnu":"^4.42.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-timeseries-chart_0.0.28_1749598404989_0.7690552073714669","host":"s3://npm-registry-packages-npm-production"}},"0.0.29":{"author":{"name":"Denis Perov"},"name":"rehype-timeseries-chart","version":"0.0.29","keywords":["rehype","plugin","markdown","svg","chart","timeseries","csv"],"description":"Rehype plugin to render CSV code blocks as SVG timeseries charts","repository":{"type":"git","url":"git+https://github.com/denperov/rehype-timeseries-chart.git"},"bugs":{"url":"https://github.com/denperov/rehype-timeseries-chart/issues"},"license":"MIT","type":"module","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsup","test":"node --test","publish":"npm publish"},"sideEffects":false,"dependencies":{"d3-array":"^3.2.4","d3-scale":"^4.0.2","d3-scale-chromatic":"^3.1.0","d3-shape":"^3.2.0","d3-time-format":"^4.1.0","unist-util-visit":"^5.0.0"},"devDependencies":{"@types/d3-array":"^3.2.1","@types/d3-scale":"^4.0.9","@types/d3-scale-chromatic":"^3.1.0","@types/d3-shape":"^3.1.7","@types/d3-time-format":"^4.0.3","@types/hast":"^3.0.4","@types/node":"^22.15.30","prettier":"^3.5.3","rehype-parse":"^9.0.1","rehype-stringify":"^10.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","tsup":"^8.5.0","typescript":"^5.8.3","unified":"^11.0.5"},"optionalDependencies":{"@rollup/rollup-darwin-arm64":"^4.42.0","@rollup/rollup-darwin-x64":"^4.42.0","@rollup/rollup-linux-arm64-gnu":"^4.42.0","@rollup/rollup-linux-x64-gnu":"^4.42.0","@esbuild/linux-x64":"^0.25.5","@esbuild/linux-arm64":"^0.25.5","@esbuild/darwin-x64":"^0.25.5","@esbuild/darwin-arm64":"^0.25.5"},"engines":{"node":">=18"},"_id":"rehype-timeseries-chart@0.0.29","gitHead":"55fb607573c271a78dcf741e23497c2aa8806707","homepage":"https://github.com/denperov/rehype-timeseries-chart#readme","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-IHj1v1DJQUNqGLOJNj5kQEWwRR75fVKv8VTQEAkN+U/x8v0RnVP/BzLjRImLQDvB0B8ZNhvtNr3bm5VFIL1yEw==","shasum":"e503236b859c97009e9c89bcfb31cf9f5366b761","tarball":"https://registry.npmjs.org/rehype-timeseries-chart/-/rehype-timeseries-chart-0.0.29.tgz","fileCount":4,"unpackedSize":14813,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEApoxx8K5CC8/jAcl/O49PloV3ztECR4jupsAZvi8ZbAiEArn8sL4Ync4WK+XK+3SSUyT/D3YXK3HntDTP3meobItc="}]},"_npmUser":{"name":"denperov","email":"denperov@gmail.com"},"directories":{},"maintainers":[{"name":"denperov","email":"denperov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-timeseries-chart_0.0.29_1749614078037_0.15722852927818254"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-09T15:25:04.031Z","modified":"2025-06-11T03:54:38.407Z","0.0.1":"2025-06-09T15:25:04.189Z","0.0.2":"2025-06-09T16:15:01.206Z","0.0.3":"2025-06-09T17:49:26.291Z","0.0.4":"2025-06-10T01:44:42.766Z","0.0.5":"2025-06-10T02:18:48.316Z","0.0.6":"2025-06-10T03:31:10.000Z","0.0.7":"2025-06-10T03:31:59.987Z","0.0.8":"2025-06-10T04:08:04.181Z","0.0.9":"2025-06-10T04:30:50.158Z","0.0.10":"2025-06-10T04:41:15.015Z","0.0.11":"2025-06-10T08:08:24.121Z","0.0.12":"2025-06-10T08:10:35.707Z","0.0.13":"2025-06-10T12:01:20.856Z","0.0.23":"2025-06-10T15:36:56.681Z","0.0.24":"2025-06-10T15:55:28.733Z","0.0.25":"2025-06-10T20:38:09.451Z","0.0.26":"2025-06-10T21:24:36.857Z","0.0.27":"2025-06-10T22:47:01.038Z","0.0.28":"2025-06-10T23:33:25.210Z","0.0.29":"2025-06-11T03:54:38.220Z"},"bugs":{"url":"https://github.com/denperov/rehype-timeseries-chart/issues"},"author":{"name":"Denis Perov"},"license":"MIT","homepage":"https://github.com/denperov/rehype-timeseries-chart#readme","keywords":["rehype","plugin","markdown","svg","chart","timeseries","csv"],"repository":{"type":"git","url":"git+https://github.com/denperov/rehype-timeseries-chart.git"},"description":"Rehype plugin to render CSV code blocks as SVG timeseries charts","maintainers":[{"name":"denperov","email":"denperov@gmail.com"}],"readme":"# rehype-timeseries-chart\n\n[![npm version](https://img.shields.io/npm/v/rehype-timeseries-chart.svg)](https://www.npmjs.com/package/rehype-timeseries-chart)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n**[rehype](https://github.com/rehypejs/rehype)** plugin to transform CSV data into responsive SVG timeseries charts.\n\n<table>\n  <tr>\n    <td align=\"center\"><strong>Light theme</strong></td>\n    <td align=\"center\"><strong>Dark theme</strong></td>\n  </tr>\n  <tr>\n    <td><img src=\"docs/chart-light.png\" alt=\"Light theme preview\" /></td>\n    <td><img src=\"docs/chart-dark.png\" alt=\"Dark theme preview\" /></td>\n  </tr>\n</table>\n\n## Contents\n\n- [What is this?](#what-is-this)\n- [When should I use this?](#when-should-i-use-this)\n- [Install](#install)\n- [Use](#use)\n- [API](#api)\n- [Examples](#examples)\n- [Compatibility](#compatibility)\n- [Security](#security)\n- [Related](#related)\n- [Contribute](#contribute)\n- [License](#license)\n\n## What is this?\n\nThis package is a [rehype](https://github.com/rehypejs/rehype) plugin that transforms CSV data in fenced code blocks into responsive SVG timeseries charts. It's built for documentation sites, blogs, and any content pipeline where you want to embed lightweight data visualizations without external dependencies.\n\n## When should I use this?\n\nUse this plugin when you:\n\n- Want to embed simple, lightweight data visualizations in Markdown\n- Are building documentation sites with tools like MDX, Docusaurus, or Next.js\n- Need server-side rendering of charts without client-side JavaScript\n- Want to convert CSV data from LLM responses into visual charts ([LibreChat](https://github.com/danny-avila/LibreChat))\n- Prefer static SVG charts over complex interactive charting libraries\n\nDon't use this plugin when you need advanced interactions like tooltips, zooming, or real-time data updates. For those cases, consider full JavaScript charting libraries like Chart.js or D3.\n\n## Install\n\nThis package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).\nIn Node.js (version 18+), install with [npm](https://docs.npmjs.com/cli/install):\n\n```bash\nnpm install rehype-timeseries-chart\n```\n\n## Use\n\nSay we have the following Markdown:\n\n````markdown\n### Chart\n```csv\nDate,V1,V2,V3\n2025-01-01 01:00:00,10,90,30\n2025-01-01 02:00:00,90,10,70\n2025-01-01 03:00:00,10,90,30\n2025-01-01 04:00:00,90,10,70\n2025-01-01 05:00:00,10,90,30\n2025-01-01 06:00:00,90,10,70\n2025-01-01 07:00:00,10,90,30\n2025-01-01 08:00:00,90,10,70\n```\n````\n\n…now running `node example.js` yields:\n\n```html\n<div class=\"timeseries-chart-container\">\n  <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 300\" preserveAspectRatio=\"none\" width=\"100%\" height=\"100%\">\n    <!-- SVG chart content -->\n  </svg>\n</div>\n```\n\n### Integration with remark\n\nTo use with remark (for Markdown processing):\n\n```js\nimport { unified } from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport rehypeTimeseriesChart from 'rehype-timeseries-chart'\nimport rehypeStringify from 'rehype-stringify'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkRehype)\n  .use(rehypeTimeseriesChart, {\n    title: 'Sales Performance',\n    textColor: 'var(--text-primary)',\n    backgroundColor: 'var(--background-secondary)'\n  })\n  .use(rehypeStringify)\n  .process(`# Sales Report\n\n\\`\\`\\`csv\nDate,Revenue,Users\n2024-01-01,1000,150\n2024-02-01,1200,180\n2024-03-01,1500,220\n\\`\\`\\``)\n\nconsole.log(String(file))\n```\n\n## API\n\nThe default export is `rehypeTimeseriesChart`.\n\n### `unified().use(rehypeTimeseriesChart,{...}])`\n\n### Options\n\nConfiguration for the plugin (TypeScript type).\n\n#### Fields\n\n| Name              | Type      | Default                        | Description                                                 |\n| ----------------- | --------- | ------------------------------ | ----------------------------------------------------------- |\n| `width`           | `number`  | `640`                          | View‑box width of the generated SVG.                        |\n| `height`          | `number`  | `300`                          | View‑box height of the generated SVG.                       |\n| `title`           | `string`  | —                              | Optional chart title rendered above the plot.               |\n| `textColor`       | `string`  | `\"#000\"`                       | CSS color for all text elements.                            |\n| `backgroundColor` | `string`  | —                              | Fill color for the SVG background rectangle.                |\n| `containerClass`  | `string`  | `\"timeseries-chart-container\"` | Class name for the wrapping `<div>`.                        |\n| `codeLanguage`    | `string`  | `\"csv\"`                        | Which language class to look for on `<code>`.               |\n| `saveOriginal`    | `boolean` | `false`                        | Keep the original `<pre><code>` block inside the container. |\n\n## Examples\n\n### Basic timeseries\n\n````markdown\n```csv\nDate,Sales\n2024-01-01,100\n2024-02-01,150\n2024-03-01,200\n```\n````\n\n### Multiple series with custom styling\n\n```js\n.use(rehypeTimeseriesChart, {\n  title: 'Q1 Performance Metrics',\n  width: 800,\n  height: 400,\n  textColor: 'var(--text-primary)',\n  backgroundColor: 'var(--bg-secondary)'\n})\n```\n\n````markdown\n```csv\nDate,Revenue,Users,Conversion Rate\n2024-01-01,1000,150,6.7\n2024-02-01,1200,180,6.9\n2024-03-01,1500,220,7.2\n```\n````\n\n### Hourly data with a preserved original CSV code block\n\n```js\n.use(rehypeTimeseriesChart, {\n  saveOriginal: true\n})\n```\n\n````markdown\n```csv\nTimestamp,CPU Usage,Memory Usage\n2024-01-01 00:00:00,45,2.1\n2024-01-01 01:00:00,52,2.3\n2024-01-01 02:00:00,38,1.9\n```\n````\n\n## Compatibility\n\nThis package is compatible with Node.js 18+.\n\n## Security\n\nThis plugin transforms CSV data into SVG markup. The plugin does not execute arbitrary code, but ensures any CSV data is from trusted sources as values are rendered verbatim in the generated HTML.\n\n## Related\n\n* [`rehype-graphviz-diagram`](https://github.com/PrinOrange/rehype-graphviz-diagram)\n  — render Graphviz diagrams as SVG\n* [`rehype-inline-svg`](https://github.com/JS-DevTools/rehype-inline-svg)\n  — inline and optimize SVG images\n* [`rehype-svgo`](https://github.com/TomerAberbach/rehype-svgo)\n  — optimize inline SVGs using [SVGO](https://github.com/svg/svgo)\n* [`rehype-mermaidjs`](https://github.com/remcohaszing/rehype-mermaidjs)\n  — render mermaid diagrams\n\n## LibreChat integration:\n\n![`rehype-timeseries-chart`](docs/librechat-rehype-timeseries-chart.com-optimize.gif)\n\n## Contribute\n\nYes, please!\n\n## License\n\n[MIT](LICENSE) © [Denis Perov](https://github.com/your-username)\n\n<!-- Definitions -->\n\n[npm]: https://docs.npmjs.com/cli/install\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n[esmsh]: https://esm.sh\n[typescript]: https://www.typescriptlang.org\n[rehype]: https://github.com/rehypejs/rehype\n[unified]: https://github.com/unifiedjs/unified\n","readmeFilename":"README.md"}