46 packages
associate
Lightweight and context-free key-value maps
async-map
Transform multiple values asynchronously
baggo
baggo bags, cannot unbaggo
canvas-paint
Helper functions for drawing onto <canvas> elements
catalan
Calculate Catalan numbers
chebyshev
Determine the Chebyshev distance between two points
css-duration
Converts CSS-style durations to milliseconds.
css-string
create CSS-compatible strings from object trees
delannoy
Calculate Delannoy numbers
divisible
Determine if one number is divisible by another
dungeon
Seedable roguelike dungeon generator
equivalence
Determine if two values are deeply equivalent
euclidean
Calculate the Euclidean distance between two points
frand
Pure functions for deterministically generating pseudorandom numbers
hitbox
tiny helper functions for handling axis-aligned bounding boxes
img-data
Easily read from and write to ImageData instances
img-extract
tiny subimage extractor
img-load
tiny promise-based <img> loader for the browser
img-split
Split an <img> into equally-sized parts
img-tile
tile an <img> from a given width and height
keyboard-state
Simple keyboard state tracker
key-state
simple DOM keyboard state tracker
life
Life.js is the first fullstack framework to build agentic web applications. It is minimal, extensible, and typesafe. Well, everything you love.
list
Fast purely functional immutable lists.
manhattan
Calculate the Manhattan distance between two points