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

@nynxz/zenkit-nodekit

v0.5.1

Published

Everything a ComfyUI node pack needs from ZenKit: node declaration, widget mounting, the Vite build preset, the ambient @comfy/* types, and the vendored Python helpers (zenkit-nodekit sync).

Readme

@nynxz/zenkit-nodekit

Everything a ComfyUI custom-node pack needs from ZenKit: the Vite build, the ambient @comfy/* types, the machinery to put a Vue component inside a node body, and (via zenkit-nodekit sync) the Python half that has to agree with it.

A pack built on nodekit works on a plain ComfyUI. Panels, the shared viewer and slot links light up when the ZenKit runtime is installed and degrade when it isn't. The ZenKit code nodekit uses is @nynxz/zenkit-client's, bundled into nodekit, so a pack doesn't depend on the client.

Install

pnpm add -D @nynxz/zenkit-nodekit@^0.3.0
pnpm add @nynxz/zenkit-ui@^0.3.0    # the themed component set

To build a pack against a local ZenKit checkout, see Developing against a local ZenKit.

Minimal setup

pack.json holds the pack's identity, read by createNodekit at build time and by zenkit-nodekit sync:

{ "namespace": "nynxz", "displayName": "Nynxz Nodes", "category": "Nynxz" }

frontend/framework.ts: the pack's one import of nodekit; everything else imports from here.

import { createNodekit } from '@nynxz/zenkit-nodekit'
import manifest from '../pack.json'

export * from '@nynxz/zenkit-nodekit'
export const { NAMESPACE, nodeId, route, registerNodes, discoverNodes, discoverWidgets } =
  createNodekit(manifest)

frontend/main.ts

import '@nynxz/zenkit-ui/style.css'
import '@nynxz/zenkit-ui/comfy-bridge.css'
import { discoverNodes, discoverWidgets, registerNodes } from '@/framework'

const widgets = import.meta.glob('./widgets/*.vue', { eager: true })
const nodes = import.meta.glob('./nodes/*.ts', { eager: true })
registerNodes([...discoverWidgets(widgets), ...discoverNodes(nodes)])

vite.config.mts

import { zenPluginConfig } from '@nynxz/zenkit-nodekit/vite'

export default zenPluginConfig({
  configUrl: import.meta.url,
  srcDir: './frontend',
  outDir: 'web', // must match WEB_DIRECTORY
})

frontend/widgets/LoraStack.vue registers the io type NYNXZ_LORA_STACK; the Python side declares an input of that type with widget_type("LoraStack", list).

Python: zenkit-nodekit sync

zenkit-nodekit sync            # write nodes/_zenkit/ from pack.json (idempotent)
zenkit-nodekit sync --check    # CI: exit 1 when it is stale or missing
zenkit-nodekit check-widgets   # CI: every widget_type() has its widgets/*.vue, and back

The vendored package gives the pack NAMESPACE, node_id(), route(), widget_type(), node autodiscovery, the media routes below, Job progress events, and a comfy_entrypoint that wires them up. Commit nodes/_zenkit/; never edit it.

The media routes, under route('media'):

GET /<ns>/media?type=input|output|temp        {"items": [{name, filename, subfolder, type, kind, size, mtime}]}
GET /<ns>/media/thumb?type=&name=&size=[&t=]  a JPEG poster (images; a video's frame at t seconds, first frame without t)
GET /<ns>/media/info?ref=input/a.mp4          {kind, duration, width, height, fps, has_audio}
GET /<ns>/media/find?size=&sha256=            {"ref": "input/sub/name.png" | null}

More