Gathering detailed insights and metrics for @jamsch/normalize-svg-path
Gathering detailed insights and metrics for @jamsch/normalize-svg-path
npm install @jamsch/normalize-svg-path
Typescript
Module System
Node Version
NPM Version
71.5
Supply Chain
73.7
Quality
75
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
734
Last Day
4
Last Week
5
Last Month
20
Last Year
109
51 Stars
21 Commits
6 Forks
7 Watching
4 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
1.1.2
Package Id
@jamsch/normalize-svg-path@1.1.2
Unpacked Size
12.75 kB
Size
4.04 kB
File Count
8
NPM Version
8.11.0
Node Version
16.15.1
Cumulative downloads
Total Downloads
Last day
0%
4
Compared to previous day
Last week
-16.7%
5
Compared to previous week
Last month
900%
20
Compared to previous month
Last year
-28.8%
109
Compared to previous year
1
2
Convert all segments in a path to curves. Usefull if you intend to animate one shape to another. By defining all segments with curves instead of a mix of lines, arcs, and curves tweening becomes much simpler. It could also help you rewrite your SVG code according to the principles of narcissistic design.
1import parse from 'parse-svg-path' 2import abs from 'abs-svg-path' 3import normalize from 'normalize-svg-path' 4 5const segments = normalize(abs(parse('M0 0L10 10A10 10 0 0 0 20 20Z')))
Translate each segment in path
to an equivalent cubic bézier curve. The input path
must be absolute.
1normalize([['L',1,2]]) // => [['C',0,0,1,2,1,2]]
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
3 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/11 approved changesets -- 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
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
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