Gathering detailed insights and metrics for react-svg-icon-generator-ts-color
Gathering detailed insights and metrics for react-svg-icon-generator-ts-color
Gathering detailed insights and metrics for react-svg-icon-generator-ts-color
Gathering detailed insights and metrics for react-svg-icon-generator-ts-color
npm install react-svg-icon-generator-ts-color
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
6 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Oct 31, 2019
Latest Version
0.0.5
Package Id
react-svg-icon-generator-ts-color@0.0.5
Unpacked Size
10.63 kB
Size
4.01 kB
File Count
9
NPM Version
6.9.0
Node Version
10.16.0
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
6
Generate React Icon Component from SVG icons to show, resize and recolor them. The default template is a typescript template.
This codebase is built on node v6: https://nodejs.org/en/blog/release/v6.9.0/
You need to add this just to development, because it will generate self contained React component directly to your codebase.
1npm install --save-dev react-svg-icon-generator-ts-color
1const generator = require('react-svg-icon-generator-ts'); 2const config = { 3 svgDir: './src/ui/icons/', 4 destination: './src/components/ui/Icon.tsx' 5}; 6generator(config);
path.join(__dirname, 'icons')
absolute path so it will work in any directory of projectrun it by gulp icon
1import React, {Component} from 'react'; 2import Icon from './Icon'; 3 4export default class App extends Component { 5 render() { 6 return ( 7 <div> 8 Simple possible usage 9 <Icon kind='clock' /> 10 11 Setup color and bounding width and height 12 <Icon kind='close' color='#748' width={500} height={100} /> 13 14 Setup color and bounding width and height to size (square) 15 <Icon kind='close' color='red' size={600} /> 16 17 Setup onClick behavior 18 <Icon kind='close' onClick={() => alert('clicked on icon')} /> 19 20 Show all icons at once with description (for finding right icon) 21 <Icon preview /> 22 </div> 23 ); 24 } 25}
This package was build upon react-svg-icon-generator
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 0/6 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
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