Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@thebespokepixel/palette2oco
Advanced tools
Convert directories of Sip, JSON and ASE palette files to Open Color
Load or convert files or directories of various palette formats to structured Open Color data or .oco files.
import {paletteReader, paletteWriter, oco2Object, oco2Vars} from 'palette2oco'
paletteReader(pathRoot).load(pathArray)
.then(palette => palette.render(ocoPath))
.then(oco => paletteWriter(destinationFile, oco))
.catch(err => {
console.error(err)
})
Allows structured directories of pallette data to be converted into nested oco palette data.
Sip (http://sipapp.io): Supports .sippalette and .json exports.
Abobe Swatch Exchange (ASE): Full support of RGB, CMYK and Lab colorspaces.
Vanilla JSON: File signature must match the following...
{
"name" : "Palette name",
"colors" : [
{
name: "Color name",
red: (0.0 - 1.0 | 0 - 255)
green: (0.0 - 1.0 | 0 - 255)
blue: (0.0 - 1.0 | 0 - 255)
alpha: (0.0 - 1.0 | 0 - 255)
}
...
]
}
Full documentation can be found at https://thebespokepixel.github.io/palette2oco/
FAQs
Convert directories of Sip, JSON and ASE palette files to Open Color
The npm package @thebespokepixel/palette2oco receives a total of 1 weekly downloads. As such, @thebespokepixel/palette2oco popularity was classified as not popular.
We found that @thebespokepixel/palette2oco 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
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.