{"_id":"@alchemilla/svelte-echarts","name":"@alchemilla/svelte-echarts","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alchemilla/svelte-echarts","version":"1.0.0","license":"MIT","description":"Svelte component for Apache ECharts","author":{"name":"Alchemilla","url":"https://alchemilla.io"},"repository":{"type":"git","url":"git+https://github.com/AlchemillaHQ/svelte-echarts.git"},"bugs":{"url":"https://github.com/AlchemillaHQ/svelte-echarts/issues"},"homepage":"https://github.com/AlchemillaHQ/svelte-echarts#readme","publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"}},"peerDependencies":{"echarts":"^6.0.0","svelte":">=5"},"devDependencies":{"@sveltejs/adapter-auto":"^4.0.0","@sveltejs/adapter-static":"^3.0.8","@sveltejs/kit":"^2.17.3","@sveltejs/package":"^2.3.10","@sveltejs/vite-plugin-svelte":"^5.0.3","@testing-library/svelte":"^5.2.7","@vitest/browser":"^3.0.7","@vitest/coverage-v8":"^3.0.7","@vitest/ui":"^3.0.7","echarts":"^6.1.0","jsdom":"^26.0.0","playwright":"^1.50.1","prettier":"^3.5.2","prettier-plugin-svelte":"^3.3.3","publint":"^0.3.6","svelte":"^5.20.5","svelte-check":"^4.1.4","tslib":"^2.8.1","typescript":"^5.7.3","vite":"^6.2.0","vitest":"^3.0.7","vitest-browser-svelte":"^0.1.0"},"svelte":"./dist/index.js","types":"./dist/index.d.ts","type":"module","scripts":{"dev":"svelte-kit sync && vite dev","build":"vite build","preview":"vite preview","package":"svelte-kit sync && svelte-package -i ./src/lib/svelte-echarts && publint","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","test":"vitest run","lint":"prettier --check .","format":"prettier --write .","test:ui":"vitest --ui","test:watch":"vitest"},"_id":"@alchemilla/svelte-echarts@1.0.0","_integrity":"sha512-QkxxJ5mAMVAxC/PYuYQLV33Dksm3crTlalTFZqhT2gQxgE9jHYxWFgmoH0jAQAh+CarZicAy+5ct3JoaWlYTlg==","_resolved":"/tmp/a791e20530c8bd36d27feaaf1cbeef5d/alchemilla-svelte-echarts-1.0.0.tgz","_from":"file:alchemilla-svelte-echarts-1.0.0.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-QkxxJ5mAMVAxC/PYuYQLV33Dksm3crTlalTFZqhT2gQxgE9jHYxWFgmoH0jAQAh+CarZicAy+5ct3JoaWlYTlg==","shasum":"255ba5aa630c8c78be0b4811b2cc90f947defb0a","tarball":"https://registry.npmjs.org/@alchemilla/svelte-echarts/-/svelte-echarts-1.0.0.tgz","fileCount":11,"unpackedSize":12033,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF45SMmi7PaVIYmXlIU87wQoBo8Mi6vLx1VIZBiNFCv2AiEA7xFOFf/1j2MiD1yWarb32r+bomLL6/2mV38quRND1j4="}]},"_npmUser":{"name":"alchemillahq","email":"hayzam@alchemilla.io"},"directories":{},"maintainers":[{"name":"alchemillahq","email":"hayzam@alchemilla.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/svelte-echarts_1.0.0_1785032175099_0.42659807454523335"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-26T02:16:14.849Z","1.0.0":"2026-07-26T02:16:15.260Z","modified":"2026-07-26T02:16:15.477Z"},"maintainers":[{"name":"alchemillahq","email":"hayzam@alchemilla.io"}],"description":"Svelte component for Apache ECharts","homepage":"https://github.com/AlchemillaHQ/svelte-echarts#readme","repository":{"type":"git","url":"git+https://github.com/AlchemillaHQ/svelte-echarts.git"},"author":{"name":"Alchemilla","url":"https://alchemilla.io"},"bugs":{"url":"https://github.com/AlchemillaHQ/svelte-echarts/issues"},"license":"MIT","readme":"# @alchemilla/svelte-echarts\n\nA simple [Apache ECharts](https://echarts.apache.org/) component for [Svelte](https://svelte.dev/).\n\nMaintained by [Alchemilla](https://alchemilla.io) as a fork of\n[bherbruck/svelte-echarts](https://github.com/bherbruck/svelte-echarts).\n\n## 💿 Installation\n\n```bash\nnpm i -D @alchemilla/svelte-echarts echarts\n```\n\n## ⌨️ Usage\n\n```html\n<script>\n  import { Chart } from '@alchemilla/svelte-echarts'\n\n  import { init, use } from 'echarts/core'\n  import { BarChart } from 'echarts/charts'\n  import { GridComponent, TitleComponent } from 'echarts/components'\n  import { CanvasRenderer } from 'echarts/renderers'\n\n  // now with tree-shaking\n  use([BarChart, GridComponent, CanvasRenderer, TitleComponent])\n\n  let options = {\n    title: {\n      text: 'ECharts Example',\n    },\n    xAxis: {\n      type: 'category',\n      data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],\n    },\n    yAxis: {\n      type: 'value',\n    },\n    series: [\n      {\n        type: 'bar',\n        data: [120, 200, 150, 80, 70, 110, 130],\n      },\n    ],\n  }\n</script>\n\n<div class=\"app\">\n  <Chart {init} {options} />\n</div>\n\n<style>\n  .app {\n    width: 100vw;\n    height: 100vh;\n  }\n</style>\n```\n","readmeFilename":"README.md","_rev":"1-e6ecb71b7ff4309dc7cbb3b54d72d592"}