
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
@codemirror/lang-angular
Advanced tools
Angular Template language support for the CodeMirror code editor
[ WEBSITE | ISSUES | FORUM | CHANGELOG ]
This package implements Angular Template 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.
import {EditorView, basicSetup} from "codemirror"
import {angular} from "@codemirror/lang-angular"
const view = new EditorView({
parent: document.body,
doc: `<p ng-init="name='Iris'">Hi {{ name }}</p>`,
extensions: [basicSetup, angular()]
})
angular(config?: Object = {}) → LanguageSupport
Angular Template language support.
config
base?: LanguageSupport
Provide an HTML language configuration to use as a base. Must
be the result of calling html()
from @codemirror/lang-html
,
not just any LanguageSupport
object.
angularLanguage: LRLanguage
A language provider for Angular Templates.
0.1.4 (2025-04-25)
Allow self-closing XML-style tags.
FAQs
Angular Template language support for the CodeMirror code editor
The npm package @codemirror/lang-angular receives a total of 174,118 weekly downloads. As such, @codemirror/lang-angular popularity was classified as popular.
We found that @codemirror/lang-angular demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.