Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
🎨 Color conversion, extraction & utility library
npm install iridescent
import Iridescent from 'iridescent'
Iridescent.isDark(10, 20, 13) // true
Iridescent.isLight('#EEE') // true
Iridescent.isWhite([255, 255, 255]) // true
Iridescent.isBlack({r: 1, g: 1, b: 1}) // false
Iridescent.luminance([255, 255, 255]) // 254.99999999999997
Iridescent.luminance([128, 128, 128]) // 128
Iridescent.luminance([185, 100, 80]) // 116.627
Iridescent.luminance([0, 0, 0]) // 0
Iridescent.brightness([255, 255, 255]) // 255
Iridescent.brightness([128, 128, 128]) // 128
Iridescent.brightness([185, 100, 80]) // 123.135
Iridescent.brightness([0, 0, 0]) // 0
Iridescent.rgbToHex([0, 0, 0]) // #000000
Iridescent.rgbToHex(16, 16, 16) // #101010
Iridescent.rgbToHex({r: 255, g:255, b: 255}) // #ffffff
Iridescent.hexToRgb('#FFF') // {r: 255, g: 255, b: 255}
Iridescent.hexToRgb('#0F0F0F') // {r: 15, g: 15, b: 15}
Iridescent.hexToRgb('FFFFFF') // {r: 255, g: 255, b: 255}
Iridescent.rgbToHsl([185, 100, 80]) // {h: 0.03174603174603175, s: 0.4285714285714286, l: 0.5196078431372548}
FAQs
🎨 Color conversion, extraction & utility library
The npm package iridescent receives a total of 7 weekly downloads. As such, iridescent popularity was classified as not popular.
We found that iridescent 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.