# taylorhakes/fecha

Lightweight and simple JS date formatting and parsing

Repository: https://github.com/taylorhakes/fecha
Canonical: https://ross.abutalabs.com/products/fecha
Language: JavaScript
License: MIT
License Family: permissive
Topics: parsing, javascript, date
Last push: 2023-01-05T05:12:00+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4254, "days_push": 1336, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2068, forks 123 (observed 2026-08-28T04:06:10.243230+00:00)

## What it is
A lightweight (~2KB) JavaScript library for date formatting and parsing, designed as a minimal replacement for moment.js's formatting and parsing features. It supports custom format tokens, named masks, and i18n overrides.

## Use cases
- format dates in javascript
- parse date strings with a custom format
- replace moment.js with a tiny date library
- format dates with internationalized month names
- convert date strings to Date objects

## When to choose
- you only need date formatting and parsing, not manipulation
- bundle size matters and moment.js is too heavy
- you need i18n support for date formats

## When to avoid
- you need date manipulation like add/subtract durations
- you want timezone handling beyond local time
- you need an actively developed library with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: date-time, parser, serialization
- domain: developer-tools, web-development
- platform: browser
- tags: date-formatting, date-parsing, momentjs-alternative, lightweight, i18n, localization, nodejs, javascript

## Member repositories
- taylorhakes/fecha (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:10.243230+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-30T02:56:48.304245+00:00, confidence not recorded.
  - readme: https://github.com/taylorhakes/fecha (fetched 2026-08-28T04:06:10.243230+00:00, sha 2bcb05f72d97)
  - registry_npm: https://registry.npmjs.org/fecha (fetched 2026-08-29T10:37:20.247460+00:00, sha a4c3f9f698c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
