moment
Parse, validate, manipulate, and display dates
Last updated 2 months ago by GitHub Actions .
MIT · Repository · Original npm · Tarball · package.json
$ npm install moment 
SYNC missed versions from official npm registry.

Moment.js

NPM version NPM downloads MIT License Coverage Status FOSSA Status

A JavaScript date library for parsing, validating, manipulating, and formatting dates.

⚠️ Moment.js is a legacy project, now in maintenance mode. New features are not being accepted. For more details, see the latest project status update.

Thank you.

Moment.js is a project of the OpenJS Foundation, which is part of the Linux Foundation.

Resources

Installation

Install Moment.js using a package manager like npm, yarn, or bun.

npm install moment

License

Moment.js is an OpenJS Foundation project and is freely distributable under the terms of the MIT license.

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/openjs-foundation/artwork/main/openjs_foundation/openjs_foundation-logo-horizontal-color-dark_background.svg"> OpenJS Foundation </picture>

Copyright OpenJS Foundation and Moment.js contributors. All rights reserved. The OpenJS Foundation has registered trademarks and uses trademarks. For a list of trademarks of the OpenJS Foundation, please see our Trademark Policy and Trademark List. Trademarks and logos not indicated on the list of OpenJS Foundation trademarks are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

The OpenJS Foundation | AI Coding Assistants Policy | Bylaws | Code of Conduct | Cookie Policy | Privacy Policy | Terms of Use | Trademark List | Trademark Policy

Current Tags

  • 2.31.0                                ...           latest (2 months ago)

77 Versions

  • 2.31.0                                ...           2 months ago
  • 2.30.1                                ...           3 years ago
  • 2.30.0                                ...           3 years ago
  • 2.29.4                                ...           4 years ago
  • 2.29.3                                ...           5 years ago
  • 2.29.2                                ...           5 years ago
  • 2.29.1                                ...           6 years ago
  • 2.29.0                                ...           6 years ago
  • 2.28.0                                ...           6 years ago
  • 2.27.0                                ...           6 years ago
  • 2.26.0                                ...           7 years ago
  • 2.25.3                                ...           7 years ago
  • 2.25.2                                ...           7 years ago
  • 2.25.1                                ...           7 years ago
  • 2.25.0                                ...           7 years ago
  • 2.24.0                                ...           8 years ago
  • 2.23.0                                ...           8 years ago
  • 2.22.2                                ...           8 years ago
  • 2.22.1                                ...           9 years ago
  • 2.22.0                                ...           9 years ago
  • 2.21.0                                ...           9 years ago
  • 2.20.1                                ...           9 years ago
  • 2.20.0                                ...           9 years ago
  • 2.19.4                                ...           9 years ago
  • 2.19.3                                ...           9 years ago
  • 2.19.2                                ...           9 years ago
  • 2.19.1                                ...           9 years ago
  • 2.19.0 [deprecated]           ...           9 years ago
  • 2.18.1                                ...           10 years ago
  • 2.18.0                                ...           10 years ago
  • 2.17.1                                ...           10 years ago
  • 2.17.0                                ...           10 years ago
  • 2.16.0                                ...           10 years ago
  • 2.15.2                                ...           10 years ago
  • 2.15.1                                ...           10 years ago
  • 2.15.0                                ...           10 years ago
  • 2.14.1                                ...           10 years ago
  • 2.14.0                                ...           10 years ago
  • 2.13.0                                ...           11 years ago
  • 2.12.0                                ...           11 years ago
  • 2.11.2                                ...           11 years ago
  • 2.11.1                                ...           11 years ago
  • 2.11.0                                ...           11 years ago
  • 2.10.6                                ...           11 years ago
  • 2.10.5 [deprecated]           ...           11 years ago
  • 2.10.3                                ...           12 years ago
  • 2.10.2                                ...           12 years ago
  • 2.9.0                                ...           12 years ago
  • 2.8.4                                ...           12 years ago
  • 2.8.3                                ...           12 years ago
  • 2.8.2                                ...           12 years ago
  • 2.8.1                                ...           12 years ago
  • 2.7.0                                ...           12 years ago
  • 2.6.0                                ...           13 years ago
  • 2.5.1                                ...           13 years ago
  • 2.5.0                                ...           13 years ago
  • 2.4.0                                ...           13 years ago
  • 2.3.1                                ...           13 years ago
  • 2.3.0                                ...           13 years ago
  • 2.2.1                                ...           13 years ago
  • 2.1.0                                ...           13 years ago
  • 2.0.0                                ...           14 years ago
  • 1.7.2                                ...           14 years ago
  • 1.7.1                                ...           14 years ago
  • 1.7.0                                ...           14 years ago
  • 1.6.2                                ...           15 years ago
  • 1.6.1                                ...           15 years ago
  • 1.6.0                                ...           15 years ago
  • 1.5.1                                ...           15 years ago
  • 1.5.0                                ...           15 years ago
  • 1.4.0                                ...           15 years ago
  • 1.3.0                                ...           15 years ago
  • 1.2.0                                ...           15 years ago
  • 1.0.1                                ...           15 years ago
  • 1.0.0                                ...           15 years ago
  • 1.1.1                                ...           15 years ago
  • 1.1.0                                ...           15 years ago
Downloads
Total 422
Today 0
This Week 4
This Month 112
Last Day 0
Last Week 22
Last Month 196
Dependencies (0)
None
Dev Dependencies (20)

© 2010 - cnpmjs.org x YWFE | Home | YWFE