nginject-migrate

JSON →
library 0.0.1 ·javascript abandoned
verified Jun 4, 2026

Utility to migrate from legacy @ngInject pre-minifier syntax (e.g., `/* @ngInject */`) to the inline `"ngInject"` string annotation syntax used in AngularJS (1.x) applications. Version 0.0.1 is the initial release (2016) and appears to be in a stable but unmaintained state. It provides both a CLI for batch converting files matched by a glob pattern and an API for programmatic use. It relies on Esprima 2.x for parsing JavaScript and supports source map generation. This package addresses a specific migration need and has no known alternative for the same task.