
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@codemirror/lang-css
Advanced tools
[ WEBSITE | ISSUES | FORUM | CHANGELOG ]
This package implements CSS language support for the CodeMirror code editor.
The project page has more information, a number of examples and the documentation.
This code is released under an MIT license.
We aim to be an inclusive, welcoming community. To make that explicit, we have a code of conduct that applies to communication around the project.
css() → LanguageSupportLanguage support for CSS.
cssLanguage: LRLanguageA language provider based on the Lezer CSS parser, extended with highlighting and indentation information.
cssCompletionSource: CompletionSourceCSS property, variable, and value keyword completion source.
defineCSSCompletionSource(isVariable: fn(node: SyntaxNodeRef) → boolean) → CompletionSourceCreate a completion source for a CSS dialect, providing a predicate for determining what kind of syntax node can act as a completable variable. This is used by language modes like Sass and Less to reuse this package's completion logic.
The `monaco-css` package provides CSS language support for the Monaco Editor, which is the editor that powers Visual Studio Code. It offers advanced features like syntax highlighting, code folding, and linting, similar to `@codemirror/lang-css` but is tailored for the Monaco Editor.
The `ace-builds` package includes CSS language support for the Ace Editor. It provides features like syntax highlighting and code folding for CSS, similar to `@codemirror/lang-css`, but is designed for the Ace Editor.
FAQs
CSS language support for the CodeMirror code editor
The npm package @codemirror/lang-css receives a total of 2,231,372 weekly downloads. As such, @codemirror/lang-css popularity was classified as popular.
We found that @codemirror/lang-css demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.