
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Another syntax highlighter that support mixed language content by default.
with webpack, you can require this module and get
var sublemon = require('sublemon');
var html = sublemon('your code here');
// client side render
document.body.innerHTML = html;
for simpler browser side usage, you can just load dist/sublemon.min.js and theme.css in your browser and
sublemon.init()
this will automagically highlight all code in an element with class name sublemon
when not to use sublemon: If you know you only want to highlight java code, then you want to use more robust solutions like syntax highlight or highlight.js.
Since sublemon is a very generic highlighter, things will not look perfect.
You can take a look at screen shots in screenshot directory to decide if you want to use this library.
npm install --save sublemon
Microlight : highlights code in any programming language.
This is where I get idea for this project. It's great if you want to have a small foot print.
But I want more an isomorphic solution that can be styled via css.
Acorn : A small, fast, JavaScript-based JavaScript parser.
This is where I get inspiration for my parser.
FAQs
syntax hightlight made easy
We found that sublemon 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.