Skip to content

TopBridge JS Core SDK

Browser-to-Printer, One Bridge Away

$npm install @appzgatenz/label-print-topbridge-js Copy

Headless Architecture

No UI bindings. Works with React, Vue, Svelte, or vanilla JS.

Zero Dependencies

Pure browser-native APIs. npm install and go.

Structured Errors

10 error types with instanceof narrowing for precise diagnostics.

Preflight Orchestration

One-liner: health check → quota validation → printer discovery.

Security First

Fixed local connection, source allowlist, input sanitization, build obfuscation.

Auto Launch & Retry

Automatically detect and launch Tray App with built-in retry orchestration.