npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ciena-org/ember-codemods

v0.3.8

Published

A collection of pretty good codemods for Ember

Readme

@ciena-org/ember-codemods

node

A collection of codemods that can be run to quickly refactor Ember code.

Usage

Replace TRANSFORM with one of the transforms listed below.

TRANSFORM="revert-computed-macro"; \
npx @ciena-org/ember-codemods $TRANSFORM path/of/files/ or/some**/*glob.js

Transforms

Deprecations

| Introduced in | Deprecation | Transform | | ------------- | -- | --------- | | 3.21 | ember-metal.get-with-default | ember-getWithDefault-to-lodash-get | | 3.24 | ember-string.prototype-extensions | ember-string-codemod | | 3.25 | ember-string.htmlsafe-ishtmlsafe | ember-string-htmlsafe-ishtmlsafe | | 3.26 | ember-glimmer.link-to-positional-arguments | link-to-positional | | 3.26 | ember-glimmer.with-syntax | replace-with-syntax | | 3.26 | has-block-and-has-block-params | has-block | | 3.27 | deprecated-run-loop-and-computed-dot-access | remove-run-loop-and-computed-dot-access| | 3.27 | ember.built-in-components.import | built-in-components-import| | 3.27 | ember-global | remove-global-ember | | 4.0 | ember-polyfills.deprecate-assign / ember-polyfills.deprecate-merge | deprecate-ember-polyfills | | 4.1 | deprecate-auto-location | deprecate-auto-location | | 4.10 | deprecate-ember-error | revert-ember-error | | 4.10 | ember-string.from-ember-module | ember-string-codemod |

Miscellaneous

| Transform | Description | Possible issues | | --------- | ----------- | --------------- | | revert-computed-macro| Replace computed from ember-macro-helpers with @ember/object instead. | Will add variable even if not used from function before. Can just remove as need be (or PR fix), was not a common occurence in my code to have unused dependency | | ember-code-snippets-helper| Replace CodeSnippet component with get-code-snippet helper when updating ember-code-snippet to v3. | | | replace-proxy-hack-with-decorator| Replace internal proxyAttr, proxyBelongsTo, and proxyHasMany macros with a expectationProxy class decorator. | This only works with models that aren't native classes, but I think it should be okay since the only models using these macros are following the classic syntax. |

Contributing

If you are interested in helping contribute to this project, please take a look at our Contributing Guide.