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

@adminyo/cli

v0.3.1

Published

YAML-driven admin panel (native CLI via optional platform packages)

Downloads

510

Readme

Generic admin panel driven by YAML, backed by a Rust binary and a pre-built React UI. Distributed via npm with native optional dependencies.

Requirements

  • End users: Node.js 18+ (only for the npm wrapper that launches the native binary). No Node at runtime for the panel server.
  • Building from source: Rust stable, Node 18+ for the UI build.

Install

npm install @adminyo/cli

Version @adminyo/cli and every @adminyo/cli-* package with the same semver.

User project (after nyo init)

./
  adminyo.yml
  envs.yml
  .env
  assets/

Commands

| Command | Description | |--------|-------------| | npx nyo init | Scaffold adminyo.yml, nyo.example.yml, envs.yml, .env.example, assets/ | | npx nyo dev | Run panel (default http://127.0.0.1:4321) with hot-reload and proxy | | npx nyo dev --env=staging --port=8080 | Other env / port | | npx nyo validate | Validate YAML without starting the server | | npx nyo build [--env=production] [--out=dist] | Emit static dist/ (config.json + SPA) for S3/Amplify/Vercel |

Static hosting: set auth in adminyo.yml so the SPA logs in against your API and stores the token in sessionStorage. The browser calls baseUrl directly; your API must allow CORS for the panel origin. Define columns per entity in YAML if the API is not reachable at build time (live inference is skipped for nyo build).

REST conventions

  • List: GET {entity.endpoint} — JSON array at root or first object key whose value is an array of objects.
  • Detail: GET {endpoint}/{id}
  • Create: POST {endpoint} with JSON body
  • Update: PUT {endpoint}/{id} with JSON body
  • Delete: DELETE {endpoint}/{id}

Pagination (when configured)

  • offset: ?page=1&limit={pageSize} (1-based page)
  • cursor: ?cursor={token} (opaque; first page omits cursor)

Auth

  • nyo dev (default): POST /auth/login with JSON { "user", "pass" }, JWT in httpOnly cookie adminyo_token.
  • nyo dev with auth in adminyo.yml: login goes to your API; same cookie/JWT flow as above is not used for upstream (see schema).
  • nyo build (static): POST {baseUrl}{auth.loginEndpoint}; bearer token from auth.tokenPath in sessionStorage.
  • 401 from the Nyo server includes "source":"adminyo" in JSON body; upstream API errors pass through without that field.