Skip to main content

Getting Started with Nubis JS

The Nubis JavaScript SDK (sdk-js) provides a powerful and type-safe way to manage your cloud infrastructure from your web applications or Node.js services.

Installation

Install the SDK using your favorite package manager:

Initializing the Client

To get started, you’ll need an API key from the Nubis Console.

Basic Operations

List all Instances

Launch a New Instance

Error Handling

The SDK uses standard TypeScript errors to help you handle issues gracefully:

Features

  • Full Type Safety: Comprehensive TypeScript definitions for all API responses and requests.
  • Automatic Retries: Built-in support for retrying idempotent requests on transient failures.
  • Edge Native: Optimized for performance in both browser and server-side environments.