
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
echarts-node
Advanced tools
让echarts支持服务端渲染
npm install echarts-node
var echartsNode = require('echarts-node');
//配置项,canvas的尺寸等
var config = {
width: 300,
height: 300
};
var myChart = echartsNode.init(config);
//echarts配置
var option = {};
myChart.setOption(option);
| 函数名 | 参数 | 描述 | 必填 | 返回值 |
|---|---|---|---|---|
| init | Object config | 创建canvas,初始化echarts | 是 | Object echartsInstance |
| 属性 | 类型 | 缺省值 | 描述 | 必填 |
|---|---|---|---|---|
| width | Number | 300 | canvas宽度 | 否 |
| height | Number | 300 | canvas高度 | 否 |
https://echarts.apache.org/zh/api.html#echartsInstance
https://echarts.apache.org/zh/api.html#echartsInstance.setOption
FAQs
echarts的服务端渲染版本
We found that echarts-node demonstrated a not healthy version release cadence and project activity because the last version was released 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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.