Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
简体中文 | English
S2 是 AntV 在多维交叉分析表格领域的解决方案,完全基于数据驱动的方式。通过提供底层能力库,基础组件,业务场景组件以及自由扩展的能力,让开发者基于自身场景自由选择,既能开箱即用,又能自由发挥。
<8s
渲染,也能通过局部下钻来实现秒级渲染。React
Vue3
版本表组件及配套分析组件,只需要简单的配置即可轻松实现复杂场景的表渲染。$ npm install @tant/s2
# yarn add @tant/s2
const s2DataConfig = {
fields: {
rows: ['province', 'city'],
columns: ['type'],
values: ['price'],
},
data: [
{
province: '浙江',
city: '杭州',
type: '笔',
price: '1',
},
{
province: '浙江',
city: '杭州',
type: '纸张',
price: '2',
},
{
province: '浙江',
city: '舟山',
type: '笔',
price: '17',
},
{
province: '浙江',
city: '舟山',
type: '纸张',
price: '0.5',
},
{
province: '吉林',
city: '长春',
type: '笔',
price: '8',
},
{
province: '吉林',
city: '白山',
type: '笔',
price: '9',
},
{
province: '吉林',
city: '长春',
type: ' 纸张',
price: '3',
},
{
province: '吉林',
city: '白山',
type: '纸张',
price: '1',
},
],
};
const s2Options = {
width: 600,
height: 600,
}
<div id="container"></div>
import { PivotSheet } from '@tant/s2';
const container = document.getElementById('container');
const s2 = new PivotSheet(container, s2DataConfig, s2Options);
s2.render();
Package | Latest | Beta | Alpha | Next | Size | Download |
---|---|---|---|---|---|---|
@tant/s2 | ||||||
@tant/s2-react | ||||||
@tant/s2-vue |
git clone git@github.com:antvis/S2.git
cd S2
# 安装依赖
yarn # 或者 yarn bootstrap
# 调试 s2-core
yarn core:start
# 调试 s2-react
yarn react:playground
# 单元测试
yarn test
# 打包
yarn build
# 代码风格和类型检测
yarn lint
# 本地启动官网
yarn site:bootstrap
yarn site:start
MIT@AntV
FAQs
effective spreadsheet render core lib
The npm package @tant/s2 receives a total of 5 weekly downloads. As such, @tant/s2 popularity was classified as not popular.
We found that @tant/s2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.