
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
komodo-scheme
Advanced tools
A class for parsing Komodo Edit/IDE scheme files (*.ksf) into a workable format.
Parse Komodo Edit/IDE Scheme files in Node.js
var KomodoScheme = require('komodo-scheme').Parser;
var scheme = new KomodoScheme({ path: '/path/to/Scheme.ksf' });
console.log(scheme.toCSS());
// Outputs:
// .ksf-attribute-name { color: #781f87; }
// .ksf-bracebad { background-color: #3f3f3f; font-weight: bold; color: #9090c6 }
// ... etc ...
// Language-Specific CSS:
console.log(scheme.toCSS('hex', 'Django'));
// CSS color values as RGB:
console.log(scheme.toCSS('rgb'));
// Custom prefix before each selector:
console.log(scheme.toCSS('rgb', '', '#preview'));
// Or, individual scheme attributes can be accessed through a hash:
console.log(scheme.commonStyles.strings.fore);
Also included is a Color class which provides parsing of the BGR color into several formats
var Color = require('komodo-scheme').Color;
var c = new Color(scheme.commonStyles.strings.fore);
console.log(c.toRGB());
// outputs: [144,144,198]
console.log(c.toHtmlRGB());
// outputs: 'rgb(144,144,198)'
console.log(c.toHtmlHex());
// outputs: '#9090c6'
$ bash test.sh
FAQs
A class for parsing Komodo Edit/IDE scheme files (*.ksf) into a workable format.
We found that komodo-scheme 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.