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

@chili-publish/grafx-experience-extension-sdk

v1.0.0

Published

Helpers for building GraFx Experience extensions

Readme

@chili-publish/grafx-experience-extension-sdk

Helpers for building GraFx Experience extensions

Public getting started, Admin Console setup, and API auth live on docs.chiligrafx.com. Protocol, React wiring, and TypeDoc stay in this repository.

Quick start with AI

Fill in <APP_NAME> and <EXTENSION_BUILDERS_DESCRIBE_THEIR_ADDITIONAL_FEATURE_REQUIREMENTS_HERE>, then paste this into Cursor, Lovable, or a similar AI tool.

You are building a GraFx Experience extension called "<APP_NAME>". It is a React + Vite + TypeScript app that uses @chili-publish/grafx-experience-extension-sdk and runs embedded in GraFx Experience.

Before writing code, read and follow these sources of truth:

  • Public getting started: https://docs.chiligrafx.com/GraFx-Developers/grafx-experience/extension-sdk/
  • How the host embeds you: https://github.com/chili-publish/grafx-experience-extension-sdk/blob/main/docs/embedding.md
  • React setup and wiring: https://github.com/chili-publish/grafx-experience-extension-sdk/blob/main/docs/react-guide.md
  • SDK flows you must support: https://github.com/chili-publish/grafx-experience-extension-sdk/blob/main/docs/flows.md

Do not invent your own host communication, handshake, or API auth. Prefer the patterns and APIs described in those docs over improvising.

App requirements (from the builder): <EXTENSION_BUILDERS_DESCRIBE_THEIR_ADDITIONAL_FEATURE_REQUIREMENTS_HERE>

When done, verify against the docs:

  • Embedding constraints in embedding.md are respected
  • Structure matches react-guide.md
  • Required flows from flows.md are implemented
  • The app requirements above are covered

Get started

Install

# Stable
npm install @chili-publish/grafx-experience-extension-sdk

# RC (shared testing channel on main)
npm install @chili-publish/grafx-experience-extension-sdk@rc

# Canary (feature-branch preview — see releasing docs)
npm install @chili-publish/grafx-experience-extension-sdk@canary

How we version and publish: Releasing.

Usage

// For ESM
import { createExtensionSDK, type IExtensionSDK } from "@chili-publish/grafx-experience-extension-sdk";
// For CommonJS
// const { createExtensionSDK } = require("@chili-publish/grafx-experience-extension-sdk");

const sdk: IExtensionSDK = createExtensionSDK();

// Handshake flow
const { authToken, extensionDetails, designTokens } = await sdk.connect();
// Fields are null when that host surface omitted them.

Create and use the SDK once per app. Later createExtensionSDK() calls return the same instance.

See Flows for all available flows. Building with React? See Building a React extension.

Documentation

Public (docs.chiligrafx.com)

In this repository

Local API reference

Run npm run docs after installing dependencies, then open docs/api/index.html locally.

Local development

npm install

| Command | Description | | ------------------------- | ---------------------------------------------------- | | npm run dev | Serve the playground for embedding in the parent app | | npm run build | Emit dist/ (ESM + CJS + types) | | npm run preview | Preview the production playground build | | npm run docs | Generate HTML API docs under docs/api/ | | npm run docs:check | Validate TypeDoc without writing output | | npm run check:types | Check published package types with arethetypeswrong | | npm run changeset | Add a changeset for the next release | | npm run release:rc:enter| Enter RC prerelease mode on main | | npm run release:rc:exit | Exit RC prerelease mode |

npm run dev serves the playground at https://localhost:5000 (accept the self-signed certificate warning once). Use this HTTPS origin for the parent iframe URL and add it to the API's CORS allowlist.