Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@opentiny/huicharts
Advanced tools
OpenTiny HUICharts is a powerful set of front-end visualization chart libraries, which provides more than 40 chart components for web developers. It supports a variety of capabilities such as theme customization, responsiveness, and accessibility, and is fully compatible with ECharts's API.
English | 简体中文
🌈 Features:
node -v
command to check the node version.npm show @opentiny/huicharts
.npm install @opentiny/huicharts@latest --save
.// Refer to the chart library.
import HuiCharts from '@opentiny/huicharts';
// Create a chart container.
<div id="main" style="width: 600px;height:400px;"></div>
// Create a chart instance.
let chartIns = new HuiCharts();
// Initialize the chart container.
let chartContainerDom = document.getElementById('main');
chartIns.init(chartContainerDom);
// Enter the chart configuration items.
let chartOption = {...};
// Specify the chart type, such as LineChart, AreaChart, BarChart, PieChart, GaugeChart, RadarChart, ProcessChart, and BubbleChart.
// The English name of the chart type can be viewed in the menu bar on the left of the document.
let chartType = 'LineChart';
chartIns.setSimpleOption(chartType, chartOption);
// Start rendering.
chartIns.render();
git clone git@github.com:opentiny/tiny-charts.git
cd tiny-charts
npm i
# start project
npm run dev
打开浏览器访问:http://localhost:8080/
Welcome to join our OpenTiny community!🎉
If you don't know how to start, please read our contributing guide.
opentiny-official
and join the technical exchange group.opentiny@googlegroups.com
FAQs
Opentiny HUICharts library for web visualization
We found that @opentiny/huicharts 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.