
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
circle-progress-ts
Advanced tools
npm install --save circle-progress-ts
Include stylesheet, e.g.
<link rel="stylesheet" type="text/css" href="node_modules/circle-progress-ts/dist/progress.css">
Include javascript, e.g.
<script src="node_modules/circle-progress-ts/dist/progress.min.js"></script>
Add div to html
<div class="circle"></div>
Add styling to your own css
.circle {
width: 150px;
height: 150px;
}
Initialize progress circle in JS
var circle = document.querySelector( '.circle' );
var p = new progress.Progress( circle );
Change progress
// change current progress to 20%
p.progress( 20 );
or animate progress change over time
// changes from current progress to 60% over 500ms
p.progress_animate( 60, 500 );
just import the scss file
@import "./node_modules/circle-progress-ts/sass/progress";
// import circle progress lib
import { Progress } from 'circle-progress-ts';
// initialize
const circle = document.querySelector( '.circle' );
const p = new Progress( circle );
// change progress
p.progress( 20 );
p.progress_animate( 60, 500 );
Usually the same as parent background
.circle .inner {
background: #373737;
}
color of the circle of the remaining progress
.circle .color {
color: #fff;
}
color of the circle of the completed progress
.circle .color {
background-color: #f00;
}
.circle .inner {
width: 93%;
height: 93%;
}
Usually the same as parent background
$bg-color: #1c1d61;
color of the circle of the remaining progress
$circle-color: #6c6c6c;
color of the circle of the completed progress
$circle-progress-color: #ff9205;
$circle-width: 7%;
FAQs
[Demo](https://marinewater.github.io/circle-progress/demo.html)
We found that circle-progress-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.