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

@nuvix/console

v0.0.6-alpha.1

Published

Nuvix is a open-source self-hosted backend server.

Readme

Nuvix Console SDK

The Nuvix Console SDK provides developers with a convenient way to interact with the Nuvix backend, designed for managing projects, organizations, and related resources. This SDK is fully compatible with Nuvix server version 1.0.x. For compatibility with older server versions, refer to the release notes.


Features

  • Manage Accounts and Users.
  • Operate on Projects, Organizations, and Teams.
  • Utilize Databases, Functions, Storage, and Backups.
  • Handle real-time updates with RealtimeResponseEvent.
  • Comprehensive support for Messaging, Health Checks, GraphQL, and Locale services.
  • Authentication and OAuth support via enums like AuthenticatorType and OAuthProvider.
  • Simplified management of roles, permissions, and configurations.

Installation

Install the SDK via npm:

npm install @nuvix/console

Or using Yarn:

yarn add @nuvix/console

Getting Started

Initializing the Client

import { Client } from '@nuvix/console';

const client = new Client();
    .setEndpoint('https://api.nuvix.com/v1')  // API endpoint
    .setEndpointRealtime('https://api.nuvix.com/v1/realtime')  // Realtime API endpoint
    .setLocale('en-US')  // Locale setting (optional)

Example: Managing Accounts

import { Account } from "@nuvix/console";

const accountService = new Account(client);

// Create a new account
accountService.create({
  email: "[email protected]",
  password: "securepassword",
});

// Retrieve account details
const accountDetails = await accountService.get();
console.log(accountDetails);

Example: Real-Time Subscriptions

import { RealtimeResponseEvent } from "@nuvix/console";

client.subscribe("projects", (event: RealtimeResponseEvent) => {
  console.log("Realtime event:", event);
});

Services

The SDK includes services for interacting with various Nuvix resources:

  • Account: Manage user accounts.
  • Avatars: Handle user avatars.
  • Backups: Manage database backups.
  • Databases: Operate on databases and collections.
  • Functions: Deploy and execute serverless functions.
  • Organizations: Manage organizations and their members.
  • Projects: Create and manage projects.
  • Storage: Handle file uploads and downloads.
  • Teams: Manage team memberships and permissions.
  • Users: Operate on users within the platform.

For a full list of services, refer to the API documentation.


Advanced Usage

Enums

The SDK provides a rich set of enums for standardizing interactions:

  • AuthenticatorType: Authentication mechanisms.
  • OAuthProvider: Supported OAuth providers.
  • Region: Available regions for resource deployment.
  • And many more.

Types

Type safety is provided through:

  • Models
  • Payload
  • RealtimeResponseEvent
  • UploadProgress

Permissions and Roles

Use the Permission and Role classes to manage user and team permissions.


Contributing

Contributions are welcome! Please read our Contributing Guide for guidelines.


License

This SDK is licensed under the BSD 3-Clause License. See the LICENSE file for details.


Support

If you encounter any issues, feel free to open an issue or contact us at [email protected].