Moment.js

Parse, validate, manipulate, and display dates in javascript.

Latest version: 2.30.1 registry icon
Maintenance score
68
Safety score
90
Popularity score
100
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
2.30.1 0 0 0 0 0
2.30.0 0 0 0 0 0
2.29.4 0 0 0 0 0
2.29.3 0 0 0 1 0
2.29.2 0 0 0 1 0
2.29.1 0 0 0 2 0
2.29.0 0 0 0 2 0
2.28.0 0 0 0 2 0
2.27.0 0 0 0 2 0
2.26.0 0 0 0 2 0
2.25.2 0 0 0 2 0
2.25.1 0 0 0 2 0
2.25.0 0 0 0 2 0
2.24.0 0 0 0 2 0
2.23.0 0 0 0 2 0
2.22.2 0 0 0 2 0
2.22.1 0 0 0 2 0
2.22.0 0 0 0 2 0
2.21.0 0 0 0 2 0
2.20.1 0 0 0 2 0
2.20.0 0 0 0 2 0
2.19.4 0 0 0 2 0
2.19.3 0 0 0 2 0
2.19.2 0 0 0 2 0
2.19.1 0 0 0 2 0
2.19.0 0 0 0 2 0
2.18.2 0 0 0 2 0
2.18.1 0 0 0 2 0
2.18.0 0 0 0 2 0
2.17.1 0 0 0 1 0
2.17.0 0 0 0 1 0
2.16.0 0 0 0 1 0
2.15.2 0 0 0 1 0
2.15.1 0 0 0 1 0
2.15.0 0 0 0 1 0
2.14.3 0 0 0 1 0
2.14.2 0 0 0 1 0
2.14.1 0 0 0 1 0
2.13.0 0 0 0 1 0
2.12.0 0 0 0 1 0
2.11.2 0 0 0 1 0
2.11.1 0 0 0 1 0
2.11.0 0 0 0 1 0
2.10.6 0 0 0 1 0
2.10.5 0 0 0 1 0
2.10.3 0 0 0 1 0
2.10.2 0 0 0 1 0
2.10.1 0 0 0 1 0
2.10.0 0 0 0 1 0
2.9.0 0 0 0 1 0
2.8.4 0 0 0 1 0
2.8.3 0 0 0 1 0
2.8.2 0 0 0 1 0
2.8.1 0 0 0 1 0
2.7.0 0 0 0 1 0
2.6.0 0 0 0 1 0
2.5.1 0 0 0 1 0
2.5.0 0 0 0 1 0
2.4.0 0 0 0 1 0
2.3.1 0 0 0 1 0
2.3.0 0 0 0 1 0
2.2.1 0 0 0 1 0
2.2.0 0 0 0 1 0
2.1.0 0 0 0 1 0
2.0.0 0 0 0 1 0
1.7.2 0 0 0 1 0
1.7.1 0 0 0 1 0
1.7.0 0 0 0 1 0
1.6.2 0 0 0 1 0
1.6.1 0 0 0 1 0
1.6.0 0 0 0 1 0
1.5.1 0 0 0 1 0
1.5.0 0 0 0 1 0
1.4.0 0 0 0 1 0
1.3.0 0 0 0 1 0
1.2.0 0 0 0 1 0

Stability
Latest release:

2.30.1 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



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. In most cases, you should choose a different library. For more details and recommendations, please see Project Status in the docs.

Thank you.

Resources

Installation

If you still need to use Moment.js, you can install it using a package manager like npm, yarn, or bun.

npm install moment

License

Moment.js is freely distributable under the terms of the MIT license.

FOSSA Status