From 6d4a2210c15368354a115c29ed81899f2c1d2b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=96hrn?= <583461+jonasohrn@users.noreply.github.com> Date: Mon, 26 Oct 2026 22:22:46 +0100 Subject: [PATCH] Add Intervals and Periods section Co-Authored-By: Claude Opus 5.5 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 6ba68a1b..c5fd01cf 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ A collection of awesome browser-side [JavaScript](https://developer.mozilla.org/ * [Reactive Programming](#reactive-programming) * [Data Structure](#data-structure) * [Date](#date) + * [Intervals and Periods](#intervals-and-periods) * [String](#string) * [Number](#number) * [Storage](#storage) @@ -496,6 +497,14 @@ There're also some great commercial libraries, like [amchart](https://www.amchar * [luxon](https://github.com/moment/luxon) - Luxon is a library for working with dates and times in JavaScript. * [tempo](https://github.com/formkit/tempo) - Parsing, formatting, and timezones — Tempo is a small tree-shakable library for native Date objects. +## Intervals and Periods +*Libraries that handle operations on intervals or periods.* + +* [periodz](https://github.com/jonasohrn/periodz) - Set operations (intersection, union, subtract) on periods of numbers, Dates and Day.js values. +* [interval-operations](https://github.com/aanckar/interval-operations) - Dependency-free utilities for mathematical set operations (union, intersection, difference, contains) on intervals and arrays of intervals. +* [intervals-fn](https://github.com/js-republic/intervals-fn) - Manipulate intervals in a functional way: curried, typed operations such as union, intersection, subtraction, complement, split and Allen's interval relations. +* [ts-math-utils](https://jsr.io/@hrl/ts-math-utils) - Mathematical objects missing from JavaScript, such as intervals, interval sets and a range iterator. + ## String *String Libraries.*