{"id":15660314,"url":"https://github.com/mgechev/ngmigrate","last_synced_at":"2026-03-07T12:02:28.763Z","repository":{"id":65458247,"uuid":"86856029","full_name":"mgechev/ngmigrate","owner":"mgechev","description":"Automated migration of \u003ctemplate\u003e to \u003cng-template\u003e for Angular 4+","archived":false,"fork":false,"pushed_at":"2017-04-02T20:56:24.000Z","size":23799,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-05T20:12:15.799Z","etag":null,"topics":["angular","automated","migration"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgechev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-31T20:03:09.000Z","updated_at":"2022-09-08T08:05:47.000Z","dependencies_parsed_at":"2023-01-24T14:45:12.125Z","dependency_job_id":null,"html_url":"https://github.com/mgechev/ngmigrate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fngmigrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fngmigrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fngmigrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgechev%2Fngmigrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgechev","download_url":"https://codeload.github.com/mgechev/ngmigrate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252569646,"owners_count":21769517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["angular","automated","migration"],"created_at":"2024-10-03T13:21:02.200Z","updated_at":"2026-03-07T12:02:28.641Z","avatar_url":"https://github.com/mgechev.png","language":"JavaScript","readme":"# Automated Migration\n\nTool for automatic migration of Angular applications.\n\n`ngmigrate` is PoC, so it implements a single migration strategy - `\u003ctemplate\u003e` elements to `\u003cng-template\u003e`.\n\n![](./resources/migrate.gif)\n\n### Context-aware automated migration of `\u003ctemplate\u003e` to `\u003cng-template\u003e`.\n\nThis tool will automatically migrate your templates from the deprecated `\u003ctemplate\u003e` element to the new `\u003cng-template\u003e` introduced by Angular 4.\n\nThe replacement is context-aware, which means that it will consider the semantics of your code; this makes it better than simple \"Search/Replace\" with `sed` or other similar tools.\n\nUnder the hood the tool parses your code with the Angular Compiler, [codelyzer](https://github.com/mgechev/codelyzer) and [tslint](https://github.com/palantir/tslint). Once the code is properly analyzed, it goes through a process of migration which replaces all occurrences of `\u003ctemplate\u003e` with `\u003cng-template\u003e`.\n\n# Warning\n\n**Do not perform the migration on code which is not under version control!**\n\nAlthough the tool is well tested, glitches are possible. In order to not loose information, perform the migration under version control and check the diff once done.\n\n# How to use it?\n\n```\n$ npm i -g ngmigrate\n$ ngmigrate [PATH_TO_YOUR_FILES]\n```\n\n# License\n\nMIT\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Fngmigrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgechev%2Fngmigrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgechev%2Fngmigrate/lists"}