bitbaum
Start a project
Package · MIT

listkit

A list as a query: facets, a URL you can share, sorting that puts missing values last. No markup.

Why it exists

Directories — foundations, products, people — kept reinventing filters, and each one encoded the filter in a slightly different URL, so a view could not be sent to someone else.

How it works

A closed set of facet kinds, a URL codec that copies the query instead of rebuilding it, a comparator that sorts missing values last, and page math that cannot produce a negative offset. No React and no HTTP client.

Where it fits

Hirnli's foundation lists and Loki's project lists are the same idea. A list you can link is part of how the studio's work stays checkable.

LicenceMIT
Installpnpm add github:bitbaum/listkit#v0.1.0
Sourcebitbaum/listkit
Used by3 apps