
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@ioto/use-echarts
Advanced tools
Vue 3 ECharts wrapper + composable (useEcharts) with slots and resize handling.
Vue 3 ECharts wrapper component + composable (useEcharts) for building charts with a clean API, slot-based layout, and resize handling.
For Chinese documentation, see: README.zh-CN.md.
npm i use-echarts echarts
This package uses peer dependencies.
import { useEcharts } from "use-echarts";
const { EChartComponent, setOptions } = useEcharts({});
setOptions({
series: [{ type: "bar", data: [1, 2, 3] }],
});
Render EChartComponent in Vue.
useEcharts(options?)Returns:
EChartComponent: Vue component that renders the chartsetOptions(options): sets ECharts option object or setOption args arraygetOptions(): gets last set optionsgetInstance(): returns ECharts instance or null before readyvue (Vue 3)echartsOptional:
echarts-glecharts-liquidfillThis library uses browser APIs (e.g. ResizeObserver) and must run on the client.
npm i
npm test
npm run build
Checklist:
npm run build and npm testnpm run pack:checknpm publishMIT. See LICENSE.
FAQs
Vue 3 ECharts wrapper + composable (useEcharts) with slots and resize handling.
The npm package @ioto/use-echarts receives a total of 4 weekly downloads. As such, @ioto/use-echarts popularity was classified as not popular.
We found that @ioto/use-echarts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.