Open source alternatives to Moment.js

One project on starwire does the same job. Ranked by how much of what Moment.js does each one covers, read from its README and website. Ties go to the most active.

What Moment.js does

  1. Parse and format datescore
  2. Date math and comparisonscore
  3. Time zone handling
  4. Relative time like 3 days ago
  5. Locale support
  6. Durations

Each dot in the table is one job, in this order. Square dots are core jobs and count double. Full means yes, half means partly. "See the evidence" under a project shows the line behind each one. Coverage is what a project documents, not how well it works or how hard it is to move to. How we score this

ProjectCoversStarsCommits, 12 weeksLast releaseClosed vs openedSetupLicense
dayjsSmall immutable date library with a Moment.js compatible API Replaces it63%49k
7
3 months ago17% For developers MIT
Covers all 2 core jobs. Not shown: Time zone handling; Relative time like 3 days ago; Durations.See the evidence
  • Parse and format datescoreYesparses, validates, manipulates, and displays dates and times
  • Date math and comparisonscoreYesdayjs().add(1, 'year') // manipulate
  • Time zone handlingNot shownNeither the README nor the website mentions it.
  • Relative time like 3 days agoNot shownNeither the README nor the website mentions it.
  • Locale supportYesDay.js has great support for internationalization.
  • DurationsNot shownNeither the README nor the website mentions it.

Vital signs from GitHub, checked weekly. How we read these · How setup is read

All repos

New repos every two days, stars refreshed daily. Visits are counted without cookies, and the numbers are public. How it works Data RSS Newsletter

The best new open source, once a weekOne short email: the repo everyone is suddenly starring, a handful worth trying, and one hidden gem, each with a plain note on what it does. Free, with no tracking pixels.

Read past issues

↑ ↓ to move   Enter to choose   Esc to close

Follow starwire by RSSCopy an address into your feed reader.
The day's bestOne item a day: the repos rising fastest and the biggest new picks.starwire.foo/top.xml
Every new pickAll of them as they are added, up to 60 a day.starwire.foo/feed.xml
The weekly emailEach issue of the newsletter, once a week.list.starwire.foo/archive.xml