Automatically converts Ember.js get() and getProperties() calls to ES5 getter dot notation.
This codemod automates the migration of Ember.js codebases from using the get and getProperties helper functions to native ES5 getter dot notation, as proposed by RFC #281. It helps developers adopt modern JavaScript patterns while maintaining code functionality.
foo.get('bar') → foo.bar — Transforms method calls on this, controller, and route objects.Ember.get(foo, 'bar') → foo.bar — Converts Ember.get or get imports when this is the first argument.getProperties() — Replaces getProperties calls in destructuring assignments for simple property access.The codemod follows Ember's official RFC to promote cleaner, more idiomatic JavaScript by reducing reliance on framework-specific accessor functions.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.