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

@fllstck/nebius-alchemy

v0.3.15

Published

Nebius AI Cloud resource providers for Alchemy

Readme

Nebius AI Cloud for Alchemy

Build Nebius cloud infrastructure as typed Effect programs. GPU compute, VPC networks, IAM, object storage, DNS, KMS, and secrets — all in one TypeScript program, deployed with Alchemy.

Quick Start

You need a Nebius account.

bun add @fllstck/nebius-alchemy alchemy@next effect@beta @effect/platform-bun@beta @effect/platform-node@beta typescript
// alchemy.run.ts

import * as Alchemy from 'alchemy'
import * as Effect from 'effect/Effect'
import * as Nebius from '@fllstck/nebius-alchemy'

export default Alchemy.Stack(
  'Storage',
  {
    providers: Nebius.providers(),
    state: Alchemy.localState(),
  },
  Effect.gen(function* () {
    const bucket = yield* Nebius.storage.Bucket('MyBucket')
    return { bucketId: bucket.id, bucketName: bucket.name }
  }),
)

Configure the project you want to deploy to.

// .env

NEBIUS_PROJECT_ID=<YOUR_RROJECT_ID>

Set the API key for the Nebius AI Cloud API. This can be done via the Nebius CLI or by manually entering a key.

bun alchemy login

Deploy the bucket.

alchemy deploy

Delete the bucket.

alchemy destroy

Peer Dependencies

The package ships raw TypeScript source and requires these peer dependencies installed in your project:

| Package | Required | Notes | | ----------------------- | -------- | --------------------------------------------------- | | effect | Yes | Effect V4 runtime (>=4.0.0-beta.100 or >=4.0.0) | | @effect/platform-bun | Yes | Bun platform bindings | | @effect/platform-node | Yes | Required by Alchemy CLI | | typescript | Yes | TypeScript 7 (^7.0.0) | | alchemy | Yes | Alchemy V2 (@next tag) |

tsconfig.json

The package uses .ts extensions in imports, so your tsconfig.json must enable bundler-style module resolution:

{
  "compilerOptions": {
    "module": "ESNext",
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "strict": true,
    "target": "ESNext"
  }
}

Runtime

The package uses Bun-native APIs and requires Bun >= 1.2.0 or Node >= 22.0.0.

Prerequisites

| Variable | Required | Description | | ------------------- | -------- | ------------------------------------------------------ | | NEBIUS_API_KEY | Yes | IAM API key (auto-populated from Nebius CLI) | | NEBIUS_PROJECT_ID | Yes | Nebius project ID | | NEBIUS_TENANT_ID | — | Tenant ID for project/group discovery/creation actions | | NEBIUS_REGION | — | Default region (defaults to eu-north1) |

Resources

All resources that currently are currently implemented.

Compute

Deploy GPU-accelerated instances, disks, and managed filesystems.

  • Nebius.compute.Instance — GPU VMs with H200 support, preemptible instances, custom boot disks and network interfaces
  • Nebius.compute.Disk — Network SSD and HDD disks, bootable from images or snapshots
  • Nebius.compute.Image — Dynamic image lookup by family (ubuntu-22-04-lts, etc.)
  • Nebius.compute.Filesystem — Managed NFS filesystems
  • Nebius.compute.DiskSnapshot — Point-in-time disk snapshots

Networking (VPC)

Build complete software-defined network topologies.

  • Nebius.vpc.Network — Software-defined networks with auto-generated default route tables
  • Nebius.vpc.Subnet — Subnets with zone assignment and CIDR blocks
  • Nebius.vpc.SecurityGroup — Firewall groups
  • Nebius.vpc.SecurityRule — Stateful or stateless ingress/egress rules with protocol and port ranges
  • Nebius.vpc.RouteTable — Custom route tables
  • Nebius.vpc.Route — Static routes with CIDR destinations and next-hop gateways
  • Nebius.vpc.Pool — IP address pools (IPv4, public or private)
  • Nebius.vpc.Allocation — Individual IP allocations from a pool

IAM & Access

Manage projects, service accounts, access keys, federation, groups, and permissions.

  • Nebius.iam.Project — Tenant projects
  • Nebius.iam.ServiceAccount — Machine identities for programmatic access
  • Nebius.iam.StaticKey — Long-lived static credentials (token only at creation time)
  • Nebius.iam.AccessKey — S3-compatible access keys (v2 API with MysteryBox delivery)
  • Nebius.iam.Federation — SAML/OIDC identity federation
  • Nebius.iam.FederationCertificate — X.509 certificates for federations
  • Nebius.iam.Group — Access groups
  • Nebius.iam.GroupMembership — Group member assignments
  • Nebius.iam.AccessPermit — Resource-level role grants (group-scoped)
  • Nebius.iam.Invitation — User invitations with resend support
  • Nebius.iam.AuthPublicKey — SSH public keys for authentication
  • Nebius.iam.FederatedCredentials — Federated credential bindings

Storage

  • Nebius.storage.Bucket — S3-compatible object storage buckets
  • Nebius.storage.Transfer — Data transfer operations with iteration history

DNS

  • Nebius.dns.Zone — VPC-scoped DNS zones with custom domains
  • Nebius.dns.Record — A, AAAA, CNAME, TXT, MX, and other record types

KMS

  • Nebius.kms.SymmetricKey — AES-256 encryption keys
  • Nebius.kms.AsymmetricKey — ECDSA and RSA signing/encryption keys

Secrets (MysteryBox)

  • Nebius.mysterybox.Secret — Versioned secret storage with KMS encryption and inline payloads
  • Nebius.mysterybox.SecretVersion — Secret versions with primary-version promotion

Quotas

  • Nebius.quotas.QuotaAllowance — Project quota management by region

Discovery Actions

Read-only actions for discovering existing resources without managing them. Useful in alchemy plan for auditing.

  • Nebius.iam.action.ListProjects / GetProject
  • Nebius.iam.action.ListGroups / GetGroup
  • Nebius.vpc.action.ListNetworks / GetNetwork
  • Nebius.vpc.action.ListSubnets / GetSubnet
  • Nebius.vpc.action.ListRouteTables / GetRouteTable
  • Nebius.quotas.action.ListQuotas / GetQuota

Examples

| Example | What it demonstrates | | -------------------------------------------------- | --------------------------------------------------------------------- | | examples/storage.ts | Minimal bucket — the simplest possible stack | | examples/vpc.ts | Full VPC topology: network, subnet, routes, security group, IPAM | | examples/compute.ts | GPU instance: dynamic image lookup → disk → preemptible H200 instance | | examples/iam.ts | Service account with static key | | examples/dns.ts | VPC-scoped DNS zone with A record | | examples/kms.ts | Symmetric and asymmetric encryption keys | | examples/mysterybox.ts | Versioned secret with payload rotation | | examples/actions.ts | Read-only discovery actions for IAM, VPC, and quotas |

Usage

# Preview changes
alchemy plan

# Deploy
alchemy deploy

# Tear down
alchemy destroy

Resources follow the namespace hierarchy Nebius.<service>.<Resource>:

const bucket = yield* Nebius.storage.Bucket('MyBucket')
const network = yield* Nebius.vpc.Network('MyNetwork')
const instance = yield* Nebius.compute.Instance('MyInstance', { ... })

Names are auto-generated from logical IDs when omitted — no need to invent unique physical names.

Development

bun run check             # typecheck + lint
bun test                  # unit + integration tests
bun run generate:schemas  # regenerate protobuf schemas from .proto files

Architecture

Built on Effect V4 and Alchemy V2 with typed gRPC/protobuf clients for every Nebius API service. The provider uses Alchemy's resource lifecycle (reconcile, delete, diff, read) with factory helpers for standard CRUD operations. Protobuf schemas live under schemas/ and are generated from the Nebius API .proto files via buf generate.