Gathering detailed insights and metrics for @cutting/svg
Gathering detailed insights and metrics for @cutting/svg
Gathering detailed insights and metrics for @cutting/svg
Gathering detailed insights and metrics for @cutting/svg
@cutting/use-get-parent-size
Get resize events of an observed DOM element's height, width etc. from a resize-observer.
svg-preview-component
cutting fabrik svg viewer
svg-viewer-component
cutting fabrik svg viewer
lbrn2-to-svg
A library and CLI to parse LightBurn LBRN2 files and convert them to SVG.
npm install @cutting/svg
Typescript
Module System
Node Version
NPM Version
@cutting/use-get-parent-size@2.4.0
Updated on Apr 02, 2025
@cutting/use-shortcuts@4.49.0
Updated on Apr 02, 2025
@cutting/use-mathjax@4.53.0
Updated on Apr 02, 2025
@cutting/component-library@5.45.0
Updated on Apr 02, 2025
@cutting/svg@4.57.0
Updated on Apr 02, 2025
@cutting/react-hook-form-components@0.8.0
Updated on Apr 02, 2025
JavaScript (68.75%)
TypeScript (25.83%)
CSS (3.42%)
HTML (1.3%)
MDX (0.46%)
Shell (0.13%)
Dockerfile (0.09%)
Arc (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
35 Stars
2,515 Commits
2 Forks
2 Watchers
14 Branches
2 Contributors
Updated on May 04, 2025
Latest Version
4.57.0
Package Id
@cutting/svg@4.57.0
Unpacked Size
1.32 MB
Size
1.26 MB
File Count
47
NPM Version
10.8.2
Node Version
18.20.8
Published on
Apr 02, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1pnpm add @cutting/svg 2 3# or 4 5npm install @cutting/svg
A react component that will resize and scale to the dimensions of the supplied react ref object.
The ParentsizeSVG
component takes an parentRef
prop that should point to a valid HTML DOM element.
1import { useRef } from 'react'; 2import { ParentsizeSVG } from '@cutting/svg'; 3 4export function App(): JSX.Element { 5 const ref = useRef<HTMLDivElement>(null); 6 7 return ( 8 <div className={styles.container} ref={ref}> 9 <ParentsizeSVG ref={ref}> 10 <rect 11 x="20%" 12 y="20%" 13 width={'50%'} 14 height={'50%'} 15 rx="20" 16 style={{ fill: '#ff0000', stroke: '#000000', strokeWidth: '2px' }} 17 /> 18 </ParentsizeSVG> 19 </div> 20 ); 21};
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
Found 0/16 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
25 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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