
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
stepper-progress-bar
Advanced tools
This library represent a progress bar component that has steps in it. I used this [tutorial](https://medium.com/@beyondborders/building-a-responsive-progress-bar-ea5a0ecabe91) to create this component to be reusable in Angular.
This library represent a progress bar component that has steps in it. I used this tutorial to create this component to be reusable in Angular.
npm install stepper-progress-bar
in your app.module.ts
file:
//...
import { StepperProgressBarModule } from 'stepper-progress-bar'
//...
@NgModule({
//...
imports: [
//...
StepperProgressBarModule,
//...
],
/...
})
export class AppModule { }
Your component HTML:
<lib-stepperProgressBar [controller]="progressStepper" [steps]="steps"></lib-stepperProgressBar>
<button (click)="back()">Back</button>//a button to go to previous step
<button (click)="next()">Next</button>//a button to go to next step
Your component .TS:
import { Step, StepperProgressBarController } from 'stepper-progress-bar';
//...
steps:Step[] = new Array<Step>();
progressStepper:StepperProgressBarController = new StepperProgressBarController();
//...
this.steps.push(new Step('Step 1'));
this.steps.push(new Step('Step 2'));
this.steps.push(new Step('Step 3'));
//...
next(){
this.progressStepper.nextStep();
}
back(){
this.progressStepper.previousStep();
}
You can now have a vertical stepper progress bar:
in the html:
<lib-stepperProgressBar [isVertical]="isVertical" [controller]="progressStepper" [steps]="steps"></lib-stepperProgressBar>
in .TS
isVertical=true;
FAQs
This library represent a progress bar component that has steps in it. I used this [tutorial](https://medium.com/@beyondborders/building-a-responsive-progress-bar-ea5a0ecabe91) to create this component to be reusable in Angular.
The npm package stepper-progress-bar receives a total of 2 weekly downloads. As such, stepper-progress-bar popularity was classified as not popular.
We found that stepper-progress-bar 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
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.