
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
color-name
Advanced tools
A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors.
import colors from 'color-name';
colors.red // [255,0,0]
The color-convert package provides functions for converting between different color formats (e.g., RGB, HSL, HEX, etc.). It offers more comprehensive functionality for color conversions compared to color-name, which only maps color names to RGB values.
Tinycolor2 is a small, fast library for color manipulation and conversion in JavaScript. It provides many utilities for working with colors, such as color parsing, manipulation, and conversion. It is more feature-rich than color-name, which is focused solely on mapping color names to their hex codes.
Chroma.js is a small-ish zero-dependency JavaScript library for all kinds of color conversions and color scales. It is more advanced than color-name, offering features like color scale generation, color blending, and manipulation.
FAQs
A list of color names and its values
The npm package color-name receives a total of 193,008,614 weekly downloads. As such, color-name popularity was classified as popular.
We found that color-name demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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 researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.