{
  "_id": "@codemirror/lang-angular",
  "maintainers": [
    {
      "email": "marijn@haverbeke.berlin",
      "name": "marijn"
    }
  ],
  "keywords": [
    "editor",
    "code"
  ],
  "dist-tags": {
    "latest": "0.1.4"
  },
  "author": {
    "url": "http://marijnhaverbeke.nl",
    "name": "Marijn Haverbeke",
    "email": "marijn@haverbeke.berlin"
  },
  "_rev": "6-3be46a8c5dc41cfe75d323f80fb80cf8",
  "description": "Angular Template language support for the CodeMirror code editor",
  "readme": "<!-- NOTE: README.md is generated from src/README.md -->\n\n# @codemirror/lang-angular [![NPM version](https://img.shields.io/npm/v/@codemirror/lang-angular.svg)](https://www.npmjs.org/package/@codemirror/lang-angular)\n\n[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/lang-angular/blob/main/CHANGELOG.md) ]\n\nThis package implements Angular Template language support for the\n[CodeMirror](https://codemirror.net/) code editor.\n\nThe [project page](https://codemirror.net/) has more information, a\nnumber of [examples](https://codemirror.net/examples/) and the\n[documentation](https://codemirror.net/docs/).\n\nThis code is released under an\n[MIT license](https://github.com/codemirror/lang-json/tree/main/LICENSE).\n\nWe aim to be an inclusive, welcoming community. To make that explicit,\nwe have a [code of\nconduct](http://contributor-covenant.org/version/1/1/0/) that applies\nto communication around the project.\n\n## Usage\n\n```javascript\nimport {EditorView, basicSetup} from \"codemirror\"\nimport {angular} from \"@codemirror/lang-angular\"\n\nconst view = new EditorView({\n  parent: document.body,\n  doc: `<p ng-init=\"name='Iris'\">Hi {{ name }}</p>`,\n  extensions: [basicSetup, angular()]\n})\n```\n\n## API Reference\n\n<dl>\n<dt id=\"user-content-angular\">\n  <code><strong><a href=\"#user-content-angular\">angular</a></strong>(<a id=\"user-content-angular^config\" href=\"#user-content-angular^config\">config</a>&#8288;?: <a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\">Object</a> = {}) → <a href=\"https://codemirror.net/docs/ref#language.LanguageSupport\">LanguageSupport</a></code></dt>\n\n<dd><p>Angular Template language support.</p>\n<dl><dt id=\"user-content-angular^config\">\n  <code><strong><a href=\"#user-content-angular^config\">config</a></strong></code></dt>\n\n<dd><dl><dt id=\"user-content-angular^config.base\">\n  <code><strong><a href=\"#user-content-angular^config.base\">base</a></strong>&#8288;?: <a href=\"https://codemirror.net/docs/ref#language.LanguageSupport\">LanguageSupport</a></code></dt>\n\n<dd><p>Provide an HTML language configuration to use as a base. <em>Must</em>\nbe the result of calling <code>html()</code> from <code>@codemirror/lang-html</code>,\nnot just any <code>LanguageSupport</code> object.</p>\n</dd></dl></dd></dl></dd>\n<dt id=\"user-content-angularlanguage\">\n  <code><strong><a href=\"#user-content-angularlanguage\">angularLanguage</a></strong>: <a href=\"https://codemirror.net/docs/ref#language.LRLanguage\">LRLanguage</a></code></dt>\n\n<dd><p>A language provider for Angular Templates.</p>\n</dd>\n</dl>\n",
  "repository": {
    "url": "git+https://github.com/codemirror/lang-angular.git",
    "type": "git"
  },
  "bugs": {
    "url": "https://github.com/codemirror/lang-angular/issues"
  },
  "license": "MIT",
  "versions": {
    "0.1.0": {
      "name": "@codemirror/lang-angular",
      "version": "0.1.0",
      "keywords": [
        "editor",
        "code"
      ],
      "author": {
        "url": "http://marijnhaverbeke.nl",
        "name": "Marijn Haverbeke",
        "email": "marijnh@gmail.com"
      },
      "license": "MIT",
      "_id": "@codemirror/lang-angular@0.1.0",
      "maintainers": [
        {
          "name": "adrianheine",
          "email": "mail@adrianheine.de"
        },
        {
          "name": "marijn",
          "email": "marijnh@gmail.com"
        }
      ],
      "homepage": "https://github.com/codemirror/lang-angular#readme",
      "bugs": {
        "url": "https://github.com/codemirror/lang-angular/issues"
      },
      "dist": {
        "shasum": "1054747c8196357a2aee2b9c36f0f6de9a6ffef9",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@codemirror/lang-angular/-/lang-angular-0.1.0.tgz",
        "fileCount": 7,
        "integrity": "sha512-vTjoHjzJmLrrMFmf/tojwp+O0P+R9mgWtjjaKDNDoY58PzOPg7ldMEBqIzABBc+/2mYPD85SG7O5byfBxc83eA==",
        "signatures": [
          {
            "sig": "MEUCIBOv1W0eyIifdyp0BQgp8MsdjRHUluhU9iQU1MDzd4WMAiEAm87R7gPxoB/HuleB1lIj9lDOzkma88uAZmZkOIFlopM=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 19132,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpFpPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpcxg/9EHusU+pTbMf3pV1Je1H84pDpdP9iRnPBkJXvKPcV2UsWYfsy\r\ndDv4UizWuDCGaqBkcPySSA4cLQ+0shSZrH5cilfAbd19fIE/xewrpTsbi+jU\r\nw6ZTrnLRbD9QFo0X/DlhI2JpFuLzYhAeKYXH9S96c1SMQy6TN288cAn3Dtmk\r\nOyePF1abyCfFsZcQd2jIBrE7P9Y7p0XrgGVqSOG7Qkf+eGmCQEIpKb5fUCal\r\nJdi6Tl9lQ351kVUKNFZP1AaVVt1Y3MDb5CsqBQ5Oqm1TbveAXLedVfkY9FBf\r\nLzLm+m5oZnp02G68kYX/YgXO//QOJTmXpeZcH0GlJBURzPCqbioyE6D+axqF\r\niXyRq7Xb7TNl76xzuND86DurI2eENY96bs9pzlinJqTBsKNf/gLf2VXJ58oj\r\nJdJuPjnmwzdrI/okTOzClYVXiyUtLkRSOZkAAr1e7T/PuqRCxP+9MwsebvMK\r\nui27L3AIWqSrJ0AicA6SD9UWApJj85wzQjMOOhoYNRPnJ18zz60nQSLrl3qT\r\n05IvcfjZIR7x6+B5XtEBBOe/WC+aeLAWaVfChUujOxqnpRC0ZaA+QLpZWdxa\r\nLLrTF8Jvq75X9twXncVbiqRkkjhtDWLgzvq3wz9vhjFrIkSQ+FGvNzkL5C/q\r\nGufEqapbgIUOpDGVR/nAtpmrMhjwk9E26Wo=\r\n=hh5P\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "dist/index.cjs",
      "type": "module",
      "types": "dist/index.d.ts",
      "module": "dist/index.js",
      "exports": {
        "import": "./dist/index.js",
        "require": "./dist/index.cjs"
      },
      "gitHead": "a75445f8edf0c052b265b5117fdc97bcebc00a67",
      "scripts": {
        "test": "cm-runtests",
        "prepare": "cm-buildhelper src/angular.ts"
      },
      "_npmUser": {
        "name": "marijn",
        "email": "marijnh@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/codemirror/lang-angular.git",
        "type": "git"
      },
      "_npmVersion": "8.19.2",
      "description": "Angular Template language support for the CodeMirror code editor",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "18.12.1",
      "dependencies": {
        "@lezer/common": "^1.0.0",
        "@lezer/highlight": "^1.0.0",
        "@codemirror/language": "^6.0.0",
        "@codemirror/lang-html": "^6.0.0",
        "@codemirror/lang-javascript": "^6.1.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "@codemirror/buildhelper": "^0.1.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/lang-angular_0.1.0_1671715406871_0.2240280428144521",
        "host": "s3://npm-registry-packages"
      }
    },
    "0.1.1": {
      "name": "@codemirror/lang-angular",
      "version": "0.1.1",
      "keywords": [
        "editor",
        "code"
      ],
      "author": {
        "url": "http://marijnhaverbeke.nl",
        "name": "Marijn Haverbeke",
        "email": "marijn@haverbeke.berlin"
      },
      "license": "MIT",
      "_id": "@codemirror/lang-angular@0.1.1",
      "maintainers": [
        {
          "name": "adrianheine",
          "email": "mail@adrianheine.de"
        },
        {
          "name": "marijn",
          "email": "marijn@haverbeke.berlin"
        }
      ],
      "homepage": "https://github.com/codemirror/lang-angular#readme",
      "bugs": {
        "url": "https://github.com/codemirror/lang-angular/issues"
      },
      "dist": {
        "shasum": "24dec7a633e8a3d96b7f48db2dc02137e8ab458d",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@codemirror/lang-angular/-/lang-angular-0.1.1.tgz",
        "fileCount": 8,
        "integrity": "sha512-DVDTwL8rMqzPmBJ5XnstdEMTroiniPCzfP2rp65d39XKohPVSxGA55zC26YiyQtTVNFezTiOOSPTm11oIui5dg==",
        "signatures": [
          {
            "sig": "MEUCIEGY0rp+KGzMKCvhKdIMAz2RdVcB3Zng8/6Xtl4EMqiFAiEAr/n+bHZOJiNXhqSGmk5EOS+FUfdBxdsU2c1XvV5xk6A=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 19470
      },
      "main": "dist/index.cjs",
      "type": "module",
      "types": "dist/index.d.ts",
      "module": "dist/index.js",
      "exports": {
        "import": "./dist/index.js",
        "require": "./dist/index.cjs"
      },
      "gitHead": "ef315a194f3514b851ced66c33ec56a0c833627d",
      "scripts": {
        "test": "cm-runtests",
        "prepare": "cm-buildhelper src/angular.ts"
      },
      "_npmUser": {
        "name": "marijn",
        "email": "marijn@haverbeke.berlin"
      },
      "repository": {
        "url": "git+https://github.com/codemirror/lang-angular.git",
        "type": "git"
      },
      "_npmVersion": "9.6.7",
      "description": "Angular Template language support for the CodeMirror code editor",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "19.7.0",
      "dependencies": {
        "@lezer/lr": "^1.3.3",
        "@lezer/common": "^1.0.0",
        "@lezer/highlight": "^1.0.0",
        "@codemirror/language": "^6.0.0",
        "@codemirror/lang-html": "^6.0.0",
        "@codemirror/lang-javascript": "^6.1.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "@codemirror/buildhelper": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/lang-angular_0.1.1_1685950536478_0.42790364697709693",
        "host": "s3://npm-registry-packages"
      }
    },
    "0.1.2": {
      "name": "@codemirror/lang-angular",
      "version": "0.1.2",
      "keywords": [
        "editor",
        "code"
      ],
      "author": {
        "url": "http://marijnhaverbeke.nl",
        "name": "Marijn Haverbeke",
        "email": "marijn@haverbeke.berlin"
      },
      "license": "MIT",
      "_id": "@codemirror/lang-angular@0.1.2",
      "maintainers": [
        {
          "name": "adrianheine",
          "email": "mail@adrianheine.de"
        },
        {
          "name": "marijn",
          "email": "marijn@haverbeke.berlin"
        }
      ],
      "homepage": "https://github.com/codemirror/lang-angular#readme",
      "bugs": {
        "url": "https://github.com/codemirror/lang-angular/issues"
      },
      "dist": {
        "shasum": "a3f565297842ad60caf2a0bf6f6137c13d19a666",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@codemirror/lang-angular/-/lang-angular-0.1.2.tgz",
        "fileCount": 8,
        "integrity": "sha512-Nq7lmx9SU+JyoaRcs6SaJs7uAmW2W06HpgJVQYeZptVGNWDzDvzhjwVb/ZuG1rwTlOocY4Y9GwNOBuKCeJbKtw==",
        "signatures": [
          {
            "sig": "MEUCIQC2aLfGj07UZrEPbfN1/PHafCQDUI8i2WOYdJ/O3ek8xgIgZqSyzkHPCpg+74I7PYyjDP7iSfIQDZ/yxLJsRVuEjmY=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 21725
      },
      "main": "dist/index.cjs",
      "type": "module",
      "types": "dist/index.d.ts",
      "module": "dist/index.js",
      "exports": {
        "import": "./dist/index.js",
        "require": "./dist/index.cjs"
      },
      "gitHead": "e912d0a38748a2aaa361090c9a80cde0ca88e353",
      "scripts": {
        "test": "cm-runtests",
        "prepare": "cm-buildhelper src/angular.ts"
      },
      "_npmUser": {
        "name": "marijn",
        "email": "marijn@haverbeke.berlin"
      },
      "repository": {
        "url": "git+https://github.com/codemirror/lang-angular.git",
        "type": "git"
      },
      "_npmVersion": "9.6.7",
      "description": "Angular Template language support for the CodeMirror code editor",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "19.7.0",
      "dependencies": {
        "@lezer/lr": "^1.3.3",
        "@lezer/common": "^1.0.0",
        "@lezer/highlight": "^1.0.0",
        "@codemirror/language": "^6.0.0",
        "@codemirror/lang-html": "^6.0.0",
        "@codemirror/lang-javascript": "^6.1.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "@codemirror/buildhelper": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/lang-angular_0.1.2_1687505871497_0.22000338096938377",
        "host": "s3://npm-registry-packages"
      }
    },
    "0.1.3": {
      "name": "@codemirror/lang-angular",
      "version": "0.1.3",
      "keywords": [
        "editor",
        "code"
      ],
      "author": {
        "url": "http://marijnhaverbeke.nl",
        "name": "Marijn Haverbeke",
        "email": "marijn@haverbeke.berlin"
      },
      "license": "MIT",
      "_id": "@codemirror/lang-angular@0.1.3",
      "maintainers": [
        {
          "name": "adrianheine",
          "email": "mail@adrianheine.de"
        },
        {
          "name": "marijn",
          "email": "marijn@haverbeke.berlin"
        }
      ],
      "homepage": "https://github.com/codemirror/lang-angular#readme",
      "bugs": {
        "url": "https://github.com/codemirror/lang-angular/issues"
      },
      "dist": {
        "shasum": "83035e7e9e1f0e2ba466e83d778407b519089a28",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@codemirror/lang-angular/-/lang-angular-0.1.3.tgz",
        "fileCount": 8,
        "integrity": "sha512-xgeWGJQQl1LyStvndWtruUvb4SnBZDAu/gvFH/ZU+c0W25tQR8e5hq7WTwiIY2dNxnf+49mRiGI/9yxIwB6f5w==",
        "signatures": [
          {
            "sig": "MEYCIQD8gXc+W06ky+jKUMJbCQkS7SuAqZ15iSFm1mxKsDEWUwIhALVVhPbub7OJSVWQwSa0A3V2DgtKhi6Q/M8P6x6wiqjf",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 21901
      },
      "main": "dist/index.cjs",
      "type": "module",
      "types": "dist/index.d.ts",
      "module": "dist/index.js",
      "exports": {
        "import": "./dist/index.js",
        "require": "./dist/index.cjs"
      },
      "gitHead": "9cdc0cdd47229c19c5df1b110270d060c31fbd28",
      "scripts": {
        "test": "cm-runtests",
        "prepare": "cm-buildhelper src/angular.ts"
      },
      "_npmUser": {
        "name": "marijn",
        "email": "marijn@haverbeke.berlin"
      },
      "repository": {
        "url": "git+https://github.com/codemirror/lang-angular.git",
        "type": "git"
      },
      "_npmVersion": "10.2.5",
      "description": "Angular Template language support for the CodeMirror code editor",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "21.4.0",
      "dependencies": {
        "@lezer/lr": "^1.3.3",
        "@lezer/common": "^1.2.0",
        "@lezer/highlight": "^1.0.0",
        "@codemirror/language": "^6.0.0",
        "@codemirror/lang-html": "^6.0.0",
        "@codemirror/lang-javascript": "^6.1.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "@codemirror/buildhelper": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/lang-angular_0.1.3_1703784661201_0.782993732295016",
        "host": "s3://npm-registry-packages"
      }
    },
    "0.1.4": {
      "name": "@codemirror/lang-angular",
      "version": "0.1.4",
      "keywords": [
        "editor",
        "code"
      ],
      "author": {
        "url": "http://marijnhaverbeke.nl",
        "name": "Marijn Haverbeke",
        "email": "marijn@haverbeke.berlin"
      },
      "license": "MIT",
      "_id": "@codemirror/lang-angular@0.1.4",
      "maintainers": [
        {
          "name": "adrianheine",
          "email": "mail@adrianheine.de"
        },
        {
          "name": "marijn",
          "email": "marijn@haverbeke.berlin"
        }
      ],
      "homepage": "https://github.com/codemirror/lang-angular#readme",
      "bugs": {
        "url": "https://github.com/codemirror/lang-angular/issues"
      },
      "dist": {
        "shasum": "5b9e940786ba201a9a42eab6db9501fa3fe2292a",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@codemirror/lang-angular/-/lang-angular-0.1.4.tgz",
        "fileCount": 8,
        "integrity": "sha512-oap+gsltb/fzdlTQWD6BFF4bSLKcDnlxDsLdePiJpCVNKWXSTAbiiQeYI3UmES+BLAdkmIC1WjyztC1pi/bX4g==",
        "signatures": [
          {
            "sig": "MEUCIQC3N9y7ZAnFGH8ararwXfUvQfF0dggFlTEazrzyfafrmAIgSSMp54PvRGHxxTYhoLypQ6kz65JG3387sN1RyMeYDhU=",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "unpackedSize": 22303
      },
      "main": "dist/index.cjs",
      "type": "module",
      "types": "dist/index.d.ts",
      "module": "dist/index.js",
      "exports": {
        "import": "./dist/index.js",
        "require": "./dist/index.cjs"
      },
      "gitHead": "55bf1cdebf806484d223c694f8b84584a54d5794",
      "scripts": {
        "test": "cm-runtests",
        "prepare": "cm-buildhelper src/angular.ts"
      },
      "_npmUser": {
        "name": "marijn",
        "email": "marijn@haverbeke.berlin"
      },
      "repository": {
        "url": "git+https://github.com/codemirror/lang-angular.git",
        "type": "git"
      },
      "_npmVersion": "11.3.0",
      "description": "Angular Template language support for the CodeMirror code editor",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "22.14.0",
      "dependencies": {
        "@lezer/lr": "^1.3.3",
        "@lezer/common": "^1.2.0",
        "@lezer/highlight": "^1.0.0",
        "@codemirror/language": "^6.0.0",
        "@codemirror/lang-html": "^6.0.0",
        "@codemirror/lang-javascript": "^6.1.2"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "@codemirror/buildhelper": "^1.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/lang-angular_0.1.4_1745565478932_0.14814740010707306",
        "host": "s3://npm-registry-packages-npm-production"
      }
    }
  },
  "name": "@codemirror/lang-angular",
  "time": {
    "created": "2022-12-22T13:23:26.793Z",
    "modified": "2026-05-06T08:25:10.315Z",
    "0.1.0": "2022-12-22T13:23:27.042Z",
    "0.1.1": "2023-06-05T07:35:36.667Z",
    "0.1.2": "2023-06-23T07:37:51.681Z",
    "0.1.3": "2023-12-28T17:31:01.415Z",
    "0.1.4": "2025-04-25T07:17:59.133Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/codemirror/lang-angular#readme"
}