All kits

js-kit

Packages for web servers, Workers, Electron apps, React and browser testing. Each one is published on npm under the @uppercut-labs scope.

JavaScript and TypeScript · 21 packages, 19 released · Repository on GitHub

Release status was checked on November 25, 2026. A package marked Not released yet has its source and README on GitHub and no published version yet.

Packages

Make a static site readable by agents: per-page head tags and JSON-LD, Markdown copies of every page, sitemap.xml and sitemap.md, llms.txt and llms-full.txt, robots.txt with a crawler allow policy and its check, and Link headers for _headers files.

TypeScript · source version 0.1.0

npm install @uppercut-labs/agent-ready-site

Build every app icon from one source image: PNG sizes, maskable icons, ICO, ICNS, Android and Linux sets and a web manifest icons array.

TypeScript · source version 0.1.0

npm install @uppercut-labs/app-icon-generator

Generate an app-shell service worker script from options: precache list, navigation fallback, cache versioning and update behavior. Function and CLI.

TypeScript · source version 0.1.0

npm install @uppercut-labs/app-shell-service-worker

Headless browser QA helpers: serve a folder, launch a muted browser, open pages with error collection, and audit CSS and runtime motion.

TypeScript · source version 0.2.0

npm install @uppercut-labs/browser-qa-harness

Check an installed desktop app on macOS and Linux through files and its control channel, never through input events: one POSIX shell script with seven steps, and a Node wrapper that runs a step and reads its verdict.

TypeScript · source version 0.1.0

npm install @uppercut-labs/desktop-installed-check

A fake preload bridge for Electron renderers: call log, event emitters, menu hook, fixture selection and safe storage, so the renderer runs in a plain browser.

TypeScript · source version 0.1.0

npm install @uppercut-labs/electron-bridge-test-double

Start and stop child tools from a main process: streamed stdout, stderr tail, grace period then kill, process-tree kill and a done promise with exit info, and a bounded line reader for its output.

TypeScript · source version 0.2.0

npm install @uppercut-labs/electron-child-process-runner

Build Electron app and dock menus from one command list, route commands to the focused window, sync enabled and checked state from the page, and format and match shortcuts on Windows and macOS.

TypeScript · source version 0.1.0

npm install @uppercut-labs/electron-command-menu

A control channel between scripts and a running Electron app over a named pipe or Unix socket, so a script never starts a second instance: launch classification, server and client.

TypeScript · source version 0.1.0

npm install @uppercut-labs/electron-control-channel

Private memory of a running Electron app summed over its processes, by each system's definition (private bytes, phys_footprint, anonymous plus swap), with a budget and ceiling verdict.

TypeScript · source version 0.1.0

npm install @uppercut-labs/electron-private-memory

Measure typing latency, command-palette open time, launch marks and kill-and-relaunch recovery of an Electron window, with p50, p95 and max statistics.

TypeScript · source version 0.1.1

npm install @uppercut-labs/electron-qa-measurements

Fixed-window attempt limiter with atomic reservation, fail-closed errors and pluggable counter stores: in-memory, Cloudflare D1 and Postgres.

TypeScript · source version 0.1.0

npm install @uppercut-labs/fixed-window-limit

Accessible React modal dialog with focus trap, scroll lock, focus restore and Escape or backdrop close, unstyled by default.

TypeScript · source version 0.1.0

npm install @uppercut-labs/react-modal-dialog

Build Content-Security-Policy strings from directive maps, merge policies, set the usual response security headers on a Response, and edit Cloudflare Pages _headers files. No dependencies.

TypeScript · source version 0.1.0

npm install @uppercut-labs/security-headers

Sign and verify webhooks with HMAC-SHA256: timestamped signatures, tolerance windows, constant-time checks, Stripe-Signature headers and delivery receipt dedupe. Web Crypto only.

TypeScript · source version 0.1.0

npm install @uppercut-labs/signed-webhooks

Dependency-free Node static file server with a path-traversal guard, MIME map, range requests and optional SPA fallback.

TypeScript · source version 0.2.0

npm install @uppercut-labs/static-file-server

Send transactional email through the Resend REST API with fetch only: an idempotency key, a timeout, error text that never echoes the provider response, and a mock capture for tests. Runs in Cloudflare Workers, Deno, Bun and Node 18+.

TypeScript · source version 0.1.0

Post messages to Discord and Slack webhooks, and any JSON endpoint, with 429 handling: Retry-After, Discord retry_after, jitter and a wait cap. fetch only.

TypeScript · source version 0.1.0