{"id":48709,"library":"ngmigrate","title":"ngmigrate","description":"A proof-of-concept tool for automatic migration of Angular applications, specifically converting deprecated `<template>` elements to `<ng-template>` introduced in Angular 4. Version 0.0.4 is the latest, released as a PoC with no active development. It uses Angular Compiler, codelyzer, and tslint for context-aware replacement, distinguishing it from simple search/replace approaches.","status":"abandoned","version":"0.0.4","language":"javascript","source_language":"en","source_url":"https://github.com/mgechev/ngmigrate","tags":["javascript","codelyzer","angular"],"install":[{"cmd":"npm install ngmigrate","lang":"bash","label":"npm"},{"cmd":"yarn add ngmigrate","lang":"bash","label":"yarn"},{"cmd":"pnpm add ngmigrate","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"CLI tool, not a library; installed globally and run from command line.","wrong":"npx ngmigrate (may not work due to global install requirement)","symbol":"ngmigrate","correct":"npm i -g ngmigrate && ngmigrate [PATH]"}],"quickstart":{"code":"npm i -g ngmigrate\nngmigrate ./src","lang":"javascript","description":"Installs ngmigrate globally and runs migration on Angular source files in the current directory."},"warnings":[{"fix":"Ensure the project is in a git repository or backed up before running ngmigrate.","message":"Do not perform migration on code not under version control.","severity":"gotcha","affected_versions":"0.0.4"},{"fix":"Manually handle other Angular migrations or use more comprehensive tools like ng update.","message":"Tool is a proof-of-concept with limited migration strategies; only handles <template> to <ng-template>.","severity":"gotcha","affected_versions":"0.0.4"}],"env_vars":null,"search_vec":"'0.0.4':24 '4':22 'activ':34 'angular':12,21,38,56 'applic':13 'approach':53 'automat':9 'awar':46 'codelyz':40,55 'compil':39 'concept':6 'context':45 'context-awar':44 'convert':15 'deprec':16 'develop':35 'distinguish':48 'element':17 'introduc':19 'javascript':54 'latest':27 'migrat':10 'ngmigrat':1 'poc':31 'proof':4 'proof-of-concept':3 'releas':28 'replac':47 'search/replace':52 'simpl':51 'specif':14 'tool':7 'tslint':42 'use':37 'version':23","created_at":"2026-06-07T16:58:03.261181+00:00","updated_at":"2026-06-07T16:58:03.261181+00:00","problems":[{"fix":"Install globally: npm i -g ngmigrate, then run ngmigrate.","cause":"npm global install path not in PATH or missing -g flag.","error":"Command not found: ngmigrate"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/mgechev/ngmigrate#readme","github":"https://github.com/mgechev/ngmigrate","docs":null,"changelog":null,"pypi":null,"npm":"ngmigrate","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}