Skip to content

ResQ Systems npm Packages

CIStorybookLicense

@resq-systems/ui@resq-systems/dsa@resq-systems/helpers@resq-systems/http@resq-systems/logger@resq-systems/decorators@resq-systems/security@resq-systems/rate-limiting@resq-systems/analytics@resq-systems/constants@resq-systems/types@resq-systems/email-templates@resq-systems/telemetry@resq-systems/map

Registry workspace for all ResQ Systems npm packages published under the @resq-systems scope. Provides the shared UI component library, zero-dependency data structures, and standalone server/client utilities for the ResQ Systems autonomous disaster response platform.

Architecture

graph TB
subgraph repo["resq-software/npm"]
direction TB
subgraph foundation["Foundation"]
constants["@resq-systems/constants<br/><small>design tokens · brand · zero deps</small>"]
types["@resq-systems/types<br/><small>nominal/branded types · zero deps</small>"]
end
subgraph frontend["Frontend"]
ui["@resq-systems/ui<br/><small>63 components + flight instruments · Radix + Tailwind v4</small>"]
end
subgraph algorithms["Algorithms"]
dsa["@resq-systems/dsa<br/><small>11 modules · zero deps</small>"]
end
subgraph infra["Infrastructure"]
http["@resq-systems/http"]
logger["@resq-systems/logger"]
security["@resq-systems/security"]
ratelimit["@resq-systems/rate-limiting"]
email["@resq-systems/email-templates<br/><small>React Email · Effect contract</small>"]
end
subgraph utilities["Utilities"]
helpers["@resq-systems/helpers"]
decorators["@resq-systems/decorators"]
end
subgraph telemetry["Telemetry"]
analytics["@resq-systems/analytics<br/><small>PostHog + GA4 · cross-subdomain</small>"]
wsclient["@resq-systems/telemetry<br/><small>reconnecting WebSocket · fan-out</small>"]
geomap["@resq-systems/map<br/><small>MapLibre + react-map-gl</small>"]
end
end
constants --> ui
constants --> email
wsclient --> geomap
foundation --> apps["Consumer Apps"]
frontend --> apps
algorithms --> apps
infra --> apps
utilities --> apps
telemetry --> apps
style repo fill:#0d0f14,stroke:#222b42,color:#f5f5f7
style foundation fill:#141722,stroke:#5db8ff,color:#f5f5f7
style frontend fill:#141722,stroke:#388feb,color:#f5f5f7
style algorithms fill:#141722,stroke:#25c68a,color:#f5f5f7
style infra fill:#141722,stroke:#f5a623,color:#f5f5f7
style utilities fill:#141722,stroke:#9ba3b5,color:#f5f5f7
style telemetry fill:#141722,stroke:#b478ff,color:#f5f5f7
style apps fill:#1a1e2e,stroke:#e24b4a,color:#f5f5f7
Loading

Packages

PackageDescriptionDepsDocs
@resq-systems/constantsShared design tokens (oklch + email-safe hex), brand identity, and cross-app values — one source of truthzero depsREADME
@resq-systems/typesNominal/branded type toolkit — Brand, Opaque, NumberRange, numeric brands, assertNever, and type-level test helperszero depsREADME
@resq-systems/uiReact component library — dark-first oklch color system, WCAG AA, subpath exports; 63 components incl. the basic-six flight instrumentsradix-ui, tailwindcssREADME · Storybook
@resq-systems/dsaData structures & algorithms — graph, heap, trie, bloom filter, distance, LRU cache, queuezero depsREADME
@resq-systems/httpEffect-based HTTP client with retry, timeout, and schema validationeffectREADME
@resq-systems/loggerStructured logging with 7 levels, context, timing, and logging decoratorszero depsREADME
@resq-systems/securityAES-256-GCM encryption, threat detection, PII sanitization, input validationeffect (peer)README
@resq-systems/rate-limitingThrottle, debounce, token bucket, leaky bucket, sliding window, Redis storeeffect (peer)README
@resq-systems/decorators15 TypeScript decorators — memoize, throttle, debounce, bind, execTime, rateLimitzero depsREADME
@resq-systems/helpersResult monad, type guards, date/number/string formatting, platform detection@resq-systems/loggerREADME
@resq-systems/analyticsUnified PostHog + GA4 client — cross-subdomain identity, lazy-loaded, typed events, Next.js + React adaptersposthog-js (peer)README
@resq-systems/telemetryFramework-agnostic reconnecting WebSocket client — single-owner socket, exponential backoff, many-consumer fan-out, open-replay; optional React bindingszero deps · react (peer)README
@resq-systems/mapMapLibre + react-map-gl telemetry primitives — themeable map shell, asset markers, GeoJSON tracks, live position binding to @resq-systems/telemetrymaplibre-gl, react-map-gl (peers)README
@resq-systems/email-templatesType-safe transactional emails — Effect Schema contract, React Email components, headless render, optional Resend senderreact, effect, @react-emailREADME

Examples

Working examples showing the packages in action:

ExampleWhat it demonstratesRun
react-dashboardMission Control UI using all packages — cards, tables, badges, distance calculations, priority queues, throttled actions, sanitized logsbun --filter example-react-dashboard dev
node-apiBun.serve() HTTP server with structured logging, rate limiting, PII sanitization, request trackingbun --filter example-node-api dev
dsa-pathfindingEarthquake drone response — Graph pathfinding, PriorityQueue triage, BloomFilter survey tracking, Trie dispatch lookupbun --filter example-dsa-pathfinding start

Design Assets

Brand assets live in design/ — logos, icons, PWA assets, and the engineering style guide.

AssetVariantsFormats
Drone coordination markresq-mark-color, resq-mark-mono-black, resq-mark-mono-whitesvg, png, webp
Logo lockupshorizontal, stacked, tagline, mono (dark + light)svg, png, webp
Gradient markresq-mark-gradient — full-bleed mark on darksvg, png, webp
OG bannerSocial sharing cardsvg, png, webp
PWA iconsAndroid, iOS, Windows 11png, webp
Style guideoklch color tokens, typography, spacing, component rules
Logo systemLockup specs, icon sizing, usage guidelinespdf

Development

Prerequisites

  • Bun >= 1.x
  • Node.js >= 20.19.0

Setup

git clone https://github.com/resq-software/npm.git
cd npm
bun install

Commands

bun install # Install all workspace dependencies
bun test# Run all workspace tests
bun run build # Build all packages
bun --filter @resq-systems/<pkg>test# Test single package
bun --filter @resq-systems/<pkg> build # Build single package
bun --filter @resq-systems/ui storybook # Start Storybook dev server
bun --filter @resq-systems/ui lint # Lint with Biome
bun changeset # Create a changeset for versioning

Stack

LayerTool
RuntimeBun 1.x
LanguageTypeScript (strict)
Buildtsdown
TestingVitest
LintingBiome
VersioningChangesets
Visual testingChromatic (UI)

Contributing

  1. Branch from master and make changes in the relevant packages/ directory.
  2. Run bun test to verify nothing breaks.
  3. Run bun changeset to describe your changes for the changelog.
  4. Submit a Pull Request.

Commits follow Conventional Commits (feat:, fix:, chore:, perf:, refactor:). See CONTRIBUTING.md and DEVELOPMENT.md for full details.

License

Apache-2.0 — see LICENSE.md.

Copyright 2026 ResQ Systems, Inc.

About

Registry workspace for ResQ Systems npm packages (@ResQ-Systems scope) including our UI component library, flight instruments, data structures, and utilities for the autonomous disaster response platform.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages