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

@guing-ai/cli

v0.2.5

Published

Guing CLI — set up design system consumption in your project

Readme

@guing-ai/cli

The Guing CLI allows developers to securely consume their design system components, tokens, and AI configuration generated by the Guing platform.

Publishing to npm

To publish updates to the @guing-ai/cli package, you need to authenticate with npm and ensure you have an access token with bypass 2FA enabled, as the @guing-ai organization requires 2FA for publishing.

Prerequisites

  1. You must be added as a member to the @guing-ai organization on npmjs.com.
  2. Generate an Automation / Granular Access Token on npm:
    • Go to https://www.npmjs.com/settings/tokens
    • Click Generate New Token -> Granular Access Token
    • Give it a name (e.g., "Guing CLI Publish Token")
    • Under Packages and scopes, select @guing-ai and set Read and write access.
    • ⚠️ CRITICAL: Check the box that says "Bypass two-factor authentication for publishing".
    • Generate and copy the token (npm_...).

Steps to Publish

  1. Update the Version: Increase the version number in package.json according to semver (e.g., from "0.1.0" to "0.1.1").

  2. Build the CLI: From the cli directory, run the build command to compile the TypeScript code:

    npm run build
  3. Authenticate: If you haven't already, configure your local npm registry to use your generated token:

    npm config set //registry.npmjs.org/:_authToken="<YOUR_TOKEN>"
  4. Publish: Publish the package to the public registry:

    npm publish --access public

Usage

Developers can run the CLI directly using npx in their project's root directory:

Initial Setup

npx @guing-ai/cli setup

The CLI will prompt for the Tenant ID, Client Secret, and the developer's preferred AI Assistants to scaffold the design system dependencies and AI instruction rules.

After a successful setup, a .guing.json file is saved in the project root — this records the tenant ID, API URL, selected agents, and installed version for future updates.

⚠️ Security: The clientSecret is never stored in .guing.json. It is read from the .env file (GUING_CLIENT_SECRET) or a CLI flag at runtime.

Updating the Design System

When the design system is updated (new components, token changes, etc.), run:

npx @guing-ai/cli update

This will:

  1. Read .guing.json for project settings
  2. Read GUING_CLIENT_SECRET from .env
  3. Fetch the latest version and manifest from the API
  4. Update package.json with the new version tag
  5. Regenerate all AI agent instruction files
  6. Run npm install automatically

Non-Interactive Mode

Alternatively, use flags for CI/CD environments:

npx @guing-ai/cli setup \
  --api https://us-central1-guing-ai.cloudfunctions.net/api \
  --tenant your-tenant-id \
  --secret your-client-secret \
  --agents cursor,claude \
  --yes