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

oblien

v2.2.37

Published

Official TypeScript SDK for the Oblien Workspace API

Readme

Oblien SDK

Cloud workspaces (sandboxes) that boot in milliseconds and run anything.

Oblien gives you hardware-isolated microVMs — each with its own kernel, its own memory, and full root access. Use them to give an AI agent a live environment, deploy a service with a public URL, run untrusted code in a throwaway sandbox, or spin up a dev machine you can SSH into. The workspace is the only primitive. What it becomes is up to you.

This is the official TypeScript SDK — it covers the full Oblien API surface across both planes:

  • Control plane (api.oblien.com) — create, configure, power, snapshot, destroy workspaces; manage networking, domains, pages, namespaces, billing.
  • Data plane (workspace.oblien.com) — a running workspace's filesystem, exec, terminal, watchers, and WebSocket events.

Hosted docs: oblien.com/docs


Install

npm install oblien

Node.js 18+, ESM. Zero runtime dependencies.


Quick start

import Oblien from 'oblien';

const client = new Oblien({
  clientId: process.env.OBLIEN_CLIENT_ID,
  clientSecret: process.env.OBLIEN_CLIENT_SECRET,
});

// Create a workspace
const workspace = await client.workspaces.create({ image: 'node-20', cpus: 2, memory_mb: 4096 });

// Connect to the runtime — filesystem, exec, terminal
const rt = await client.workspaces.runtime(workspace.id);
const result = await rt.exec.run(['node', '--version']);
console.log(result.stdout);

Features

The client wraps every part of the platform. Each feature has a deep-dive page in docs/.

| Feature | Accessor | What it does | Guide | |---------|----------|--------------|-------| | Workspaces | client.workspaces, client.workspace(id) | microVM CRUD, power, and 14 sub-resources (network, ssh, snapshots, …) | docs/workspaces | | Runtime | client.workspaces.runtime(id) | Data plane: files, exec, terminal, search, watchers, WebSocket | docs/runtime | | Pages | client.pages | Deploy static files to the edge CDN with automatic TLS | docs/pages | | Namespaces | client.namespaces | Group workspaces; resource limits, quotas, per-namespace usage | docs/namespaces | | Domains | client.domain | Slug/DNS pre-flight, route listing, SSL certs + auto-renew | docs/domains | | Edge Proxy | client.edgeProxy | Reverse-proxy subdomains to verified external upstreams | docs/edge-proxy | | Edge Tunnel | client.edgeTunnel | Expose a local port to the internet (ngrok-style) | docs/edge-tunnel | | Notifications | client.notifications | Mobile push via per-workspace virtual send tokens | docs/notifications | | Webhooks | client.webhooks | Subscribe to events; HMAC-signed, namespace-scopable | docs/webhooks | | Analytics | client.analytics | Edge traffic — requests, bandwidth, geo, live stream | docs/analytics | | Scoped Tokens | client.tokens | Short-lived, per-tenant scoped JWTs | docs/tokens | | Errors | import { OblienError, … } | Typed error classes for every HTTP status | docs/errors |

Map at a glance

client
├── workspaces        microVM CRUD + power + sub-resources    → docs/workspaces.md
│   └── runtime(id)   files · exec · terminal · search · ws   → docs/runtime.md
├── workspace(id)     scoped handle (ID pre-filled)
├── pages             static deploys to the edge CDN          → docs/pages.md
├── namespaces        grouping · limits · quotas · usage      → docs/namespaces.md
├── domain            slug/DNS checks · routes · SSL          → docs/domains.md
├── edgeProxy         subdomain → verified upstream           → docs/edge-proxy.md
├── edgeTunnel        local port → public URL                 → docs/edge-tunnel.md
├── notifications     mobile push (virtual tokens)            → docs/notifications.md
├── webhooks          event subscriptions                     → docs/webhooks.md
├── analytics         edge traffic metrics                     → docs/analytics.md
└── tokens            short-lived scoped tokens                → docs/tokens.md

Also included

  • CLInpx oblien … (auth, workspaces, exec, scp, terminal, tunnels, …). See CLI docs.
  • MCP serveroblien-mcp exposes the SDK as Model Context Protocol tools for agents. See MCP docs.

Configuration

const client = new Oblien({
  clientId: 'your_client_id',          // required
  clientSecret: 'your_client_secret',  // required
  baseUrl: 'https://api.oblien.com',   // optional (default)
});

// Or a short-lived scoped token (see docs/tokens.md):
const scoped = new Oblien({ token });

Get API keys from the dashboard.


TypeScript

Written in TypeScript with full declarations shipped. Every request param, response shape, and event type is exported:

import type {
  WorkspaceCreateParams, WorkspaceData,
  NamespaceUsageUnits, EdgeProxyCreateParams,
  WebhookEvent, ExecStreamEvent,
} from 'oblien';

Links

License

MIT