{"id":38429544,"url":"https://github.com/manbearwiz/angular-compiler-bundled","last_synced_at":"2026-01-17T04:23:08.816Z","repository":{"id":222943003,"uuid":"758724414","full_name":"manbearwiz/angular-compiler-bundled","owner":"manbearwiz","description":"@angular/compiler bundled with esbuild to cjs to be used in schematics","archived":false,"fork":false,"pushed_at":"2025-01-10T20:00:24.000Z","size":102,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-30T22:48:52.947Z","etag":null,"topics":["abstract-syntax-tree","angular","angular-schematics","esbuild"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manbearwiz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-16T23:28:24.000Z","updated_at":"2025-01-10T20:00:27.000Z","dependencies_parsed_at":"2024-02-17T07:07:09.034Z","dependency_job_id":"892d340a-ca2f-4382-bc06-93f153a1e678","html_url":"https://github.com/manbearwiz/angular-compiler-bundled","commit_stats":null,"previous_names":["manbearwiz/angular-compiler-bundled"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/manbearwiz/angular-compiler-bundled","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fangular-compiler-bundled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fangular-compiler-bundled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fangular-compiler-bundled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fangular-compiler-bundled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manbearwiz","download_url":"https://codeload.github.com/manbearwiz/angular-compiler-bundled/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manbearwiz%2Fangular-compiler-bundled/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28494822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abstract-syntax-tree","angular","angular-schematics","esbuild"],"created_at":"2026-01-17T04:23:08.698Z","updated_at":"2026-01-17T04:23:08.793Z","avatar_url":"https://github.com/manbearwiz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deprecated\n\nMost of the functionality in this package is now available in [@angular-eslint/bundled-angular-compiler](https://www.npmjs.com/package/@angular-eslint/bundled-angular-compiler).\n\n# angular-compiler-bundled\n\n## Introduction\n\nThis package bundles the `@angular/compiler` package and its dependencies into a single CommonJS (cjs) format file using esbuild, so you can import it via `require` in environments that do not support ES modules, such as compiled [Angular Schematics](https://angular.io/guide/schematics).\n\n## Installation\n\nYou can install `angular-compiler-bundled` via npm:\n\n```bash\nnpm install angular-compiler-bundled\n```\n\n## Usage\n\nAfter installation, you can import the bundled Angular compiler module in your code:\n\n```typescript\nimport { parseTemplate } from \"angular-compiler-bundled\";\n\nconst ast = parseTemplate(template.content, template.filePath, {\n  preserveWhitespaces: true,\n  preserveLineEndings: true,\n  leadingTriviaChars: [],\n});\n```\n\nThis package also includes some utility functions from the `angular/components` repo that are not exported by the original `@angular/compiler` package:\n\n```typescript\nimport {\n  visitElements,\n  replaceStartTag,\n  replaceEndTag,\n  updateAttribute\n} from 'angular-compiler-bundled';\n```\n\n## Disclaimer\n\nThis package is not officially maintained by the Angular team. I'm assuming they don't provide CommonJS support in the `@angular/compiler` package because that api is not considered public and is subject to change without notice.\n\nI would love to move away from this package as soon as the Angular team provides better utilities for schematics development.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanbearwiz%2Fangular-compiler-bundled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanbearwiz%2Fangular-compiler-bundled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanbearwiz%2Fangular-compiler-bundled/lists"}