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

@relatiohq/opencloud

v1.10.2

Published

Typed SDK for Roblox Open Cloud

Downloads

74

Readme

@relatiohq/opencloud

npm version npm downloads License: MIT TypeScript codecov

A lightweight, type-safe TypeScript SDK for interacting with the Roblox Open Cloud API. Zero dependencies, built-in retry logic, and full TypeScript support.

Installation

npm install @relatiohq/opencloud
# or
pnpm add @relatiohq/opencloud
# or
yarn add @relatiohq/opencloud

Quick Start

import { OpenCloud } from "@relatiohq/opencloud";

// With API key authentication
const client = new OpenCloud({
  apiKey: "your-api-key",
});

const user = await client.users.get("123456789");

Per-Request Authentication (OAuth2)

Perfect for multi-tenant applications:

// Create client without default auth
const client = new OpenCloud();

// Use different credentials per request
const userClient = client.withAuth({
  kind: "oauth2",
  accessToken: "user-access-token",
});

const groups = await userClient.groups.listGroupMemberships("123456");

Documentation

Full API documentation is available at https://opencloud.relatio.cc

Features

  • Type-safe API client
  • Built with modern TypeScript
  • Tree-shakeable exports
  • Lightweight with zero dependencies
  • Automatic retry with exponential backoff
  • Flexible authentication

Why Use This SDK?

vs. Manual API Calls

Without SDK:

// Manual fetch with error handling, retries, rate limiting...
const response = await fetch(
  `https://apis.roblox.com/cloud/v2/users/${userId}`,
  {
    headers: { "x-api-key": apiKey },
  },
);
if (!response.ok) {
  // Handle errors manually
  throw new Error(`API error: ${response.status}`);
}
const data = await response.json();
// No type safety, no automatic retries

With SDK:

// Type-safe, automatic retries, built-in error handling
const user = await client.users.get(userId);
// Full TypeScript autocomplete and type checking

Security

Security is a top priority. Please review our Security Policy for:

  • Supported versions
  • How to report vulnerabilities
  • Security best practices for API key management
  • Safe usage guidelines

Never commit API keys to version control! Always use environment variables or secure secret management.

Contributing

Contributions are welcome! Please read our contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes.

Acknowledgments

This project is built with:

Special thanks to:

  • The Roblox team for providing the Open Cloud API
  • All contributors who help improve this SDK
  • The TypeScript community for excellent tooling

License

MIT © Relatio


Note: This is an unofficial SDK and is not affiliated with, endorsed by, or sponsored by Roblox Corporation.