Skip to main content

@oxi/list@1.2.0
Built and signed on GitHub Actions

Immutable list with a bunch of useful manipulation methods

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
6 months ago (1.2.0)

default

This module introduces the List class, an immutable collection designed with a functional programming approachin TypeScript. It's ideal for scenarios where immutability is paramount, providing a rich set of methods forlist manipulation and querying without mutating the original data. Recent updates have enhanced the API to returnOption<T> types for methods where a value might not be present, ensuring even greater type safety and adherenceto functional programming principles.

c
List

Represents an immutable list of items. The List class provides a variety ofmethods to perform operations on lists such as mapping, filtering, and reducing.This class is designed to offer a functional approach to list manipulation.