npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@scalix-world/sdk

v1.3.3

Published

The official client for Scalix Cloud — one token for AI inference, database, functions, storage, KV, auth, and every platform service. Generated from the OpenAPI spec.

Readme

Scalix SDK — TypeScript

The official TypeScript client for Scalix Cloud — one API key for AI inference, database, functions, storage, KV, auth, registry, and every platform service.

This client is generated from the OpenAPI spec (sdk/openapi.json, produced from the gateway's utoipa annotations) via @hey-api/openapi-ts. Every endpoint is a typed function. Do not hand-edit src/generated/.

Installation

npm install @scalix-world/sdk

Get an API key from the Scalix console (sign up at console.scalix.world). Full guides live at docs.scalix.world.

Usage

Each API operation is an exported, fully-typed function (see the full list in src/generated). Pass your base URL + API key in the options:

import { getMe, listFunctions } from '@scalix-world/sdk';

const opts = {
  baseUrl: 'https://api.scalix.world',
  headers: { Authorization: 'Bearer scalix_sk_...' },
};

const me = await getMe(opts);
const fns = await listFunctions(opts);

Production-grade defaults (retry, idempotency, User-Agent)

On top of the generated core, a thin hand-written layer adds Stripe/Auth0-style resilience without changing the generated code:

  • Automatic retry with exponential backoff + jitter on 429 and 5xx, honoring the Retry-After header (and retrying transient network errors).
  • Idempotency-Key on every write (POST/PUT/PATCH), stable across retries — safe replays for billing/provisioning calls.
  • SDK-version User-Agent (scalix-typescript/<version>) for server-side observability.

Harden the shared default client once, then use the bare operations:

import { configureScalix, executeSql } from '@scalix-world/sdk';

configureScalix({ apiKey: process.env.SCALIX_API_KEY });

const { data } = await executeSql({ body: { query: 'SELECT NOW()' } });

Or create an isolated client and pass it per call:

import { createScalixClient, listFunctions } from '@scalix-world/sdk';

const client = createScalixClient({
  apiKey: process.env.SCALIX_API_KEY,
  maxRetries: 3, // default 2
});

const fns = await listFunctions({ client });

The package ships dual ESM + CommonJS builds, so both import and require consumers are supported.

Regenerating

After the API (OpenAPI spec) changes:

npm run generate:ts   # @hey-api/openapi-ts + tsc typecheck

CI's SDK/CLI codegen drift-guard enforces that the committed client matches sdk/openapi.json.

License

MIT