# you-dont-need/You-Dont-Need-Momentjs

List of functions which you can use to replace moment.js + ESLint Plugin

Repository: https://github.com/you-dont-need/You-Dont-Need-Momentjs
Canonical: https://ross.abutalabs.com/products/you-dont-need-momentjs
Language: JavaScript
License: MIT
License Family: permissive
Topics: moment-js, date-fns, tree-shaking, esmodules, pure-function, bundle-size, hacktoberfest
Last push: 2026-01-21T23:40:58+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 63, release rhythm 35, longevity 100
- inputs: {"age_days": 2916, "days_push": 224, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13293, forks 311 (observed 2026-08-28T04:11:03.085312+00:00)

## What it is
A curated guide listing native JavaScript and modern library (date-fns, Day.js, Luxon) replacements for Moment.js functions, plus an accompanying ESLint plugin. It helps developers reduce bundle size by migrating away from Moment.js.

## Use cases
- replace moment.js with native date functions
- reduce javascript bundle size from date library
- migrate from momentjs to date-fns
- find momentjs alternative for tree-shaking
- lint codebase to flag momentjs usage
- learn date formatting without a library

## When to choose
- you use only a few simple date functions from moment.js
- bundle size and performance matter for your web app
- you want a migration reference to date-fns, Day.js, or Luxon

## When to avoid
- you need moment.js's full timezone and locale support
- you want a runnable date library rather than a guide

## Facets
- artifact type: learning-resource
- maturity: active
- function: date-time, developer-tools
- domain: web-development, frontend, developer-tools, tutorials
- platform: browser
- tags: momentjs, date-fns, dayjs, luxon, bundle-size, tree-shaking, eslint-plugin, awesome-list, migration-guide, javascript, nodejs

## Member repositories
- you-dont-need/You-Dont-Need-Momentjs (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:03.085312+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:22.712552+00:00, confidence not recorded.
  - readme: https://github.com/you-dont-need/You-Dont-Need-Momentjs (fetched 2026-08-28T04:11:03.085312+00:00, sha 38cfe6ea29e5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
