Gathering detailed insights and metrics for @lw7360/react-progressbar.js
Gathering detailed insights and metrics for @lw7360/react-progressbar.js
Gathering detailed insights and metrics for @lw7360/react-progressbar.js
Gathering detailed insights and metrics for @lw7360/react-progressbar.js
npm install @lw7360/react-progressbar.js
Typescript
Module System
Node Version
NPM Version
44.6
Supply Chain
94.9
Quality
70.8
Maintenance
50
Vulnerability
97.6
License
JavaScript (99.97%)
HTML (0.02%)
CSS (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
17 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Sep 27, 2015
Latest Version
0.1.2
Package Id
@lw7360/react-progressbar.js@0.1.2
Size
466.06 kB
NPM Version
2.14.4
Node Version
4.1.1
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
This module is a React wrapper for progressbar.js. That's why most of the documentation refers to the original documentation.
Shortcuts
react-progressbar.js is lightweight, MIT licensed and supports all major browsers including IE9+.
Install the library using npm:
npm install --save react-progressbar.js
Since React users are anyways using a CommonJS module loader, this module is published only in NPM.
CommonJS
1var ProgressBar = require('react-progressbar.js') 2var Circle = ProgressBar.Circle;
See https://github.com/kimmobrunfeldt/progressbar.js#how-it-works.
NOTE: Line, Circle and SemiCircle all point to the same documentation which is named Shape. You almost certainly should replace it(Shape) with Line, Circle or SemiCircle.
Example: if documentation states <Shape />
, replace it with
<Circle />
, simple. Shape is the internal base object for all
progress bars.
Important: make sure that your container has same aspect ratio as the SVG canvas. For example: if you are using SemiCircle, set e.g.
1#container { 2 width: 300px; 3 height: 150px; 4}
Line, Circle or SemiCircle shaped progress bar. Appends SVG to container.
Example
1var App = React.createClass({ 2 render: function render() { 3 var options = { 4 strokeWidth: 2 5 }; 6 7 // For demo purposes so the container has some dimensions. 8 // Otherwise progress bar won't be shown 9 var containerStyle = { 10 width: '200px', 11 height: '200px' 12 }; 13 14 return ( 15 <Circle 16 progress={this.state.progress} 17 text={'test'} 18 options={options} 19 initialAnimate={true} 20 containerStyle={containerStyle} 21 containerClassName={'.progressbar'} /> 22 ); 23 } 24});
With Line shape, you can control the width of the line by specifying e.g. height: 5px
with CSS.
Props:
Prop | Description |
---|---|
progress | Progress from 0 to 1. E.g. 67% progress would equal 0.67 . Default 0 . |
text | Value for progress bar's text. Default null . |
options | Options for path drawing. See progressbar.js documentation. |
initialAnimate | If true , progress bar is animated to given progress when mounted. Default false . |
containerStyle | Styles for progress bar container. Default {} . |
containerClassName | Class name for progress bar container. Default .progressbar-container . |
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
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