Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Simple floating action buttons for Angular >= 2
npm install --save ngx-fab
...
import { NgxFabModule } from 'ngx-fab';
@NgModule({
...
imports: [
...
NgxFabModule
],
...
})
type FabSize = 'small' | 'medium' | 'large'
type FabPosition = 'top-left' | 'top-middle' | 'top-right' | 'middle-left' | 'middle-middle' | 'middle-right' | 'bottom-left' | 'bottom-middle' | 'bottom-right'
@Input()
options:backgroundColor
[string] - HTML color name or hexcode for background color (defaults to 'crimson')fabSize
[FabSize] - fab size, 40, 60 or 100px respectively (defaults to 'medium')iconClass
[string] - font awesome icon classes from 'fa', 'fab', 'far' or 'fas' collections (defaults to 'fa fa-plus')iconColor
[string] - HTML color name or hexcode for icon color (defaults to 'black' or 'white' depending on backgroundColor
)position
[FabPosition] - position of fab within container (defaults to 'bottom-right')additionalX
[float] - additional positive or negative offset on the x-axis used for custom positioning (defaults to 0)additionalY
[float] - additional positive or negative offset on the y-axis used for custom positioning (defaults to 0)<ngx-fab></ngx-fab>
<ngx-fab [backgroundColor]="'#88B04B'" [iconClass]="'fas fa-atom'" [position]="'top-middle'"></ngx-fab>
<ngx-fab [backgroundColor]="'yellow'" [iconClass]="'fas fa-plus'" [iconColor]="'#ff00ff'"></ngx-fab>
<ngx-fab [backgroundColor]="'crimson'" [iconClass]="'fas fa-star'" [fabSize]="'small'"></ngx-fab>
<ngx-fab [backgroundColor]="'crimson'" [iconClass]="'fas fa-star'" [fabSize]="'large'"></ngx-fab>
additionalX
to form a row of 3<ngx-fab [iconClass]="'fas fa-star'" [position]="'middle-middle'" [fabSize]="'small'" [additionalX]="-50"></ngx-fab>
<ngx-fab [iconClass]="'fas fa-star'" [position]="'middle-middle'" [fabSize]="'small'"></ngx-fab>
<ngx-fab [iconClass]="'fas fa-star'" [position]="'middle-middle'" [fabSize]="'small'" [additionalX]="50"></ngx-fab>
FAQs
Simple floating action buttons for Angular >= 2
The npm package ngx-fab receives a total of 2 weekly downloads. As such, ngx-fab popularity was classified as not popular.
We found that ngx-fab 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.