Packages/moment

Alternatives to moment

It still works, but the community lists something lighter or built in. Here is what it suggests.

A better maintained package

From the e18e module-replacements list, maintained by the community.

The list compares the options for moment: read the comparison.

Before you switch

  1. 1

    Check what else depends on it

    Paste your package.json in the dependency check to see every deprecated or outdated package in one pass, not only this one.

  2. 2

    Read the replacement's peers and releases

    A native API or a few lines of code need no release notes, but check the Node version your project runs on.

  3. 3

    Know when it ships

    Follow the new package on Inlinr: its releases and advisories land in your feed, and the time spent on the migration branch shows on its page.