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

@elqnt/admin

v2.3.2

Published

Admin APIs for Eloquent platform (onboarding, org-settings, billing)

Downloads

778

Readme

@elqnt/admin

Admin APIs and types for the Eloquent platform - onboarding, organization settings, billing, and user management.

Building an admin app / using an AI coding agent? Read SKILL.md — the full agent guide: the one-way architecture (admin app → @elqnt/admin hooks → API Gateway → admin Go service), the gateway-token flow, and the exact spec of every hook (useOrgAdmin — org CRUD + settings; useUsersAdmin — user CRUD + invitations) and its methods. It ships in the package, so the contract is this package's own .d.ts — your code type-checks against it. (Product analytics moved to @elqnt/analytics.)

Installation

npm install @elqnt/admin

Quick Start

import { getOnboardingStatusApi, getBillingPlansApi } from "@elqnt/admin/api";
import type { User, Org, Plan } from "@elqnt/admin/models";

// Check onboarding status
const status = await getOnboardingStatusApi({
  baseUrl: "https://api.example.com",
});

// Get billing plans
const plans = await getBillingPlansApi({
  baseUrl: "https://api.example.com",
  orgId: "org_123",
});

Entry Points

| Import | Description | |--------|-------------| | @elqnt/admin | All exports | | @elqnt/admin/api | Browser API functions | | @elqnt/admin/models | TypeScript types | | @elqnt/admin/hooks | React hooks (useOrgAdmin, useUsersAdmin) |

APIs

Onboarding

  • getOnboardingStatusApi() - Get current state
  • createOrganizationApi() - Create org
  • completeOnboardingApi() - Finish onboarding

Organization Settings

  • getOrgSettingsApi() - Get settings
  • updateOrgSettingsApi() - Update settings

Billing

  • getBillingPlansApi() - List plans
  • getSubscriptionApi() - Current subscription
  • createCheckoutSessionApi() - Stripe checkout
  • createPortalSessionApi() - Billing portal

Hooks

import { useOrgAdmin, useUsersAdmin } from "@elqnt/admin/hooks";

// Organization management + settings
const {
  listOrgs, getOrg, createOrg, updateOrg, deleteOrg,
  getSettings, createSettings, updateSettings,
  loading, error,
} = useOrgAdmin(options);

// User management + invitations
const {
  listUsers, getUser, createUser, updateUser, deleteUser, getUserSettings, updateUserSettings,
  listInvites, sendInvite, sendInvites, getInvite, acceptInvite, revokeInvite, resendInvite,
  loading, error,
} = useUsersAdmin(options);

Models

import type {
  // User & Org
  User, Org, OrgRole, Permission, Invite,

  // Billing
  Plan, OrganizationBilling, CreditBalance, UsageSummary,

  // Onboarding
  OnboardingState, OnboardingStep,
} from "@elqnt/admin/models";

Documentation

Full API reference: https://docs.eloquent.ai/packages/admin

Changelog

See CHANGELOG.md

License

Private - Eloquent Platform