@verglas/sdk is a thin, fetch-based client. It does not parse Parquet or commit Iceberg metadata in JavaScript. The Verglas endpoint owns those operations.
Install from the repository
Reference the current workspace package from your application:package.json
Define a cron worker
The following worker fetches one logical interval of order events and commits the result with a stable idempotency key:orders-worker.ts
ctx.client, trigger data, configured outputs, environment bindings, structured logging, and an abort signal. Do not call connect inside a worker.
Connect from a standalone application
client.ts
Work with tables
Create a table with an explicit schema when inference cannot express the required types or partitioning:Follow commits and rows
Follow notifications when you only need commit metadata:follow subscriptions on a client. An idle socket does not keep tenant compute awake.