
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
@lezer/highlight
Advanced tools
[ WEBSITE | ISSUES | FORUM | CHANGELOG ]
Lezer is an incremental parser system intended for use in an editor or similar system.
@lezer/highlight provides a syntax highlighting framework for Lezer parse trees.
Its programming interface is documented on the website.
This code is licensed under an MIT license.
highlight.js is a popular syntax highlighting library that supports a wide range of languages and is easy to integrate into web projects. Unlike @lezer/highlight, it does not require a separate parser and comes with built-in language definitions.
Prism is a lightweight, extensible syntax highlighter that supports a variety of languages and themes. It is similar to @lezer/highlight in that it allows for custom highlighting rules, but it is more focused on web integration and has a larger community and more plugins.
FAQs
Highlighting system for Lezer parse trees
The npm package @lezer/highlight receives a total of 2,394,144 weekly downloads. As such, @lezer/highlight popularity was classified as popular.
We found that @lezer/highlight demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.