Gathering detailed insights and metrics for @antv/scale
Gathering detailed insights and metrics for @antv/scale
Gathering detailed insights and metrics for @antv/scale
Gathering detailed insights and metrics for @antv/scale
📦 Toolkit for mapping abstract data into visual representation.
npm install @antv/scale
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
57 Stars
86 Commits
17 Forks
43 Watching
6 Branches
54 Contributors
Updated on 23 Oct 2024
TypeScript (99.15%)
JavaScript (0.78%)
Shell (0.07%)
Cumulative downloads
Total Downloads
Last day
-3.6%
32,426
Compared to previous day
Last week
8.9%
182,133
Compared to previous week
Last month
10.1%
695,654
Compared to previous month
Last year
11.9%
7,775,067
Compared to previous year
3
29
Toolkit for mapping abstract data into visual representation. Living Demo · 中文文档
1$ npm install @antv/scale
1import { Linear, LinearOptions } from '@antv/scale'; 2 3const options: LinearOptions = { 4 domain: [0, 10], 5 range: [0, 100], 6}; 7const x = new Linear(options); 8 9x.map(2); // 20 10x.invert(20); // 2 11x.getTicks(); // [0, 2.5, 5, 7.5, 10]
1import { Linear } from '@antv/scale'; 2 3const x = new Linear({ 4 domain: [0, 10], 5 range: [0, 100], 6 tickCount: 3, 7 tickMethod: () => [0, 5, 10], 8}); 9 10x.getTicks(); // [0, 5, 10]
1$ git clone git@github.com:antvis/scale.git 2 3$ cd scale 4 5$ npm i 6 7$ npm t
Then send a pull request after coding.
MIT@AntV.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 28/30 approved changesets -- score normalized to 9
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More