</>PackageGraphPackageGraph

moment

npmv2.30.1TypeScript

Parse, validate, manipulate, and display dates

32.7M
Weekly downloads
0
Dependents
34
Dependencies
90/100
Popularity

Overview

moment is an npm package that parse, validate, manipulate, and display dates. It is extremely widely used, with about 32.7M downloads per week. The latest version is 2.30.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need parse, validate, manipulate, and display dates and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (32.7M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (34 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of moment.

dayjsmongoosemoment
moment dependencies dependents

Dependencies

Dev (34)

@types/node 17.0.21benchmark latestcoveralls latestcross-env ^6.0.3es6-promise latesteslint latestgrunt latestgrunt-benchmark latestgrunt-cli latestgrunt-contrib-clean latestgrunt-contrib-concat latestgrunt-contrib-copy latestgrunt-contrib-uglify latestgrunt-contrib-watch latestgrunt-env latestgrunt-exec latestgrunt-karma latestgrunt-nuget latestgrunt-string-replace latestkarma latestkarma-chrome-launcher latestkarma-firefox-launcher latestkarma-qunit latestkarma-sauce-launcher 4.1.4load-grunt-tasks latestlodash >=4.17.19node-qunit latestnyc latestprettier latestqunit ^2.10.0rollup 2.17.1typescript ^1.8.10typescript3 npm:typescript@^3.1.6uglify-js latest

Used by

Popular packages that depend on moment.

Alternatives to moment

Frequently installed together

Version history

VersionPublishedLicense
2.30.1latest2 years agoMIT
2.30.02 years agoMIT
2.29.44 years agoMIT
2.29.34 years agoMIT
2.29.24 years agoMIT
2.29.15 years agoMIT
2.29.05 years agoMIT
2.28.05 years agoMIT
2.27.06 years agoMIT
2.26.06 years agoMIT
2.25.36 years agoMIT
2.25.26 years agoMIT
2.25.16 years agoMIT
2.25.06 years agoMIT
2.24.07 years agoMIT
2.23.07 years agoMIT
2.22.28 years agoMIT
2.22.18 years agoMIT
2.22.08 years agoMIT
2.21.08 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install moment?

Run `npm install moment` to add moment to your npm project.

What license is moment released under?

moment is distributed under the MIT license.

How popular is moment?

moment has approximately 32,650,152 downloads per week.