# rotaready/moment-range

Fancy date ranges for Moment.js

Repository: https://github.com/rotaready/moment-range
Canonical: https://ross.abutalabs.com/products/moment-range
Language: JavaScript
License: Unlicense
License Family: permissive
Topics: javascript, moment-range, moment, date, time, date-time, node
Last push: 2023-03-21T14:40:02+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": 5215, "days_push": 1261, "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 1680, forks 195 (observed 2026-08-28T04:05:21.506557+00:00)

## What it is
A JavaScript library that extends Moment.js with date range objects supporting creation, querying, manipulation, iteration, and comparison of date ranges. It works in both Node.js and the browser.

## Use cases
- check if two date ranges overlap
- iterate over a date range by day
- find the intersection of two date ranges
- check whether a date falls within a range
- subtract one date range from another
- create a date range from an ISO string

## When to choose
- you already use Moment.js and need range operations like overlap, intersection, or iteration
- you need date range logic in both Node.js and browser environments

## When to avoid
- you are starting a new project and can use a modern date library like Luxon or date-fns instead of Moment.js
- you only need simple date formatting without range semantics

## Facets
- artifact type: library
- maturity: maintenance
- function: date-time
- domain: developer-tools, web-development
- platform: browser, cross-platform
- tags: momentjs, date-ranges, javascript, nodejs

## Member repositories
- rotaready/moment-range (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:21.506557+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-30T03:41:29.102614+00:00, confidence not recorded.
  - readme: https://github.com/rotaready/moment-range (fetched 2026-08-28T04:05:21.506557+00:00, sha 64eb2682f270)
  - registry_npm: https://registry.npmjs.org/moment-range (fetched 2026-08-29T11:14:55.002596+00:00, sha ae744844ca81)
- Data as of 2026-08-30T08:39:29.467469+00:00.
