50.67K
total weekly downloads
111 packages
create-zubra
Start an app with Zubra web components: `npm create zubra`
@journey-to-code/array-chunk
Dependency-free array chunking into fixed-size batches.
@journey-to-code/chat
A chat for any app: rooms kept live through Zubra Sync, changed only by the server, with polls, taking messages down, an optional word filter and notices for members who aren't looking.
@journey-to-code/chat-ui
The chat's screen as Zubra components: <chat-room> (who's here, messages, polls, a box to say something) and <chat-feed> (the live room alone), for any framework or none.
@journey-to-code/csv-tsv-to-json
Parse CSV or TSV strings into arrays of JSON-style objects.
@journey-to-code/decks
Card designs: what a deck looks like (its back, paper, inks and lettering), checked and turned into CSS variables.
@journey-to-code/games
The card room's other games on one kit: pure, deterministic engines that each describe their table the same way, so one table screen, one room and one set of bots serve them all.
@journey-to-code/json-to-csv-tsv
Convert arrays of JSON-style objects to CSV or TSV strings.
@journey-to-code/open-add-time
Adds or subtracts calendar and clock units from JavaScript dates.
@journey-to-code/open-ansi-colors
Minimal zero-dependency ANSI terminal color and style helpers.
@journey-to-code/open-ansi-strip
Strips ANSI escape sequences from terminal output and detects styled strings.
@journey-to-code/open-array-unique
Dependency-free array deduplication by value, property name, or key selector.
@journey-to-code/open-async-pool
Dependency-free concurrency-limited async mapping that preserves input order.
@journey-to-code/open-atomic-write-file
Writes files atomically using a sibling temporary file and rename operation.
@journey-to-code/open-base64-url
Encodes and decodes URL-safe Base64 strings and byte arrays.
@journey-to-code/open-basic-auth-parser
Parses and creates HTTP Basic Authorization header values.
@journey-to-code/open-bounding-box-2d
Creates and compares axis-aligned 2D bounding boxes.
@journey-to-code/open-bytes-to-bits
Converts between bytes, bits, and common decimal/binary storage units.
@journey-to-code/open-camel-to-title
Converts camelCase, snake_case, kebab-case, and acronym-heavy keys into labels.
@journey-to-code/open-clamp-number
Clamps numbers to ranges and checks whether values fall within bounds.
@journey-to-code/open-cli-box
Draws configurable Unicode or ASCII boxes around terminal text.
@journey-to-code/open-cli-confirm
Dependency-free yes/no terminal confirmation with injectable streams and pure response parsing.
@journey-to-code/open-cli-table
Formats arrays and objects into dependency-free ASCII tables for terminal output.
@journey-to-code/open-color-contrast
Dependency-free WCAG relative-luminance and contrast-ratio helpers for sRGB colors.
@journey-to-code/open-cookie-parser
Parses raw HTTP Cookie headers and serializes cookie name/value pairs.