
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
ngx-colors
Advanced tools
A beautiful color picker for angular that let you choose from a color palette, using sliders (Hue, Lightness, Alpha sliders) or through text input(hex, rgba, hsla)
ngx-colors is a colorpicker component of angular with a material design style, allows users to select a color via text input (hexadecimal, rgba, hsla), choosing a preset color from the palette, or a color picker using the Hue, Lightness, and Alpha sliders.
Angular | Latest ngx-colors compatible |
---|---|
15 | Latest |
14 | 3.1.4 |
13 | 3.1.4 |
12 | 3.0.5 |
11 | 3.0.5 |
10 | 3.0.5 |
npm install ngx-colors
import { NgxColorsModule } from 'ngx-colors';
@NgModule({
...
imports: [
...
NgxColorsModule
]
})
This library is composed of two parts:
<ngx-colors
ngx-colors-trigger
[(ngModel)]="color"
></ngx-colors>
You can select just one format:
<ngx-colors
ngx-colors-trigger
[(ngModel)]="color"
[format] = "'hex'"
></ngx-colors>
Or you can choise some formats
<ngx-colors
ngx-colors-trigger
[(ngModel)]="color"
[formats]="['hex','cmyk']"
></ngx-colors>
<form class="example-form">
<ngx-colors
ngx-colors-trigger
style="display: inline-block; margin:5px;"
[formControl]="colorFormControl"
></ngx-colors>
</form>
FAQs
A beautiful color picker for angular that let you choose from a color palette, using sliders (Hue, Lightness, Alpha sliders) or through text input(hex, rgba, hsla)
The npm package ngx-colors receives a total of 16,435 weekly downloads. As such, ngx-colors popularity was classified as popular.
We found that ngx-colors 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.