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

@infinia/plugin-cli

v1.2.0

Published

Scaffold and build FengYu plugins. Development happens in your IDE via @infinia/plugin-dev.

Readme

FengYu Plugin CLI

The verified end-to-end path for creating and packaging FengYu plugins. Development happens in your IDE via @infinia/plugin-dev — see that package's README for the dev guide.

# Scaffold a complete Vue + Java plugin (default), or --ui-only for the lightweight template
fengyu plugin create my-plugin --id com.example.my-plugin
fengyu plugin create my-plugin --id com.example.my-plugin --no-install   # skip npm install
fengyu plugin create my-plugin --id com.example.my-plugin --ui-only      # no Java worker

# Develop: open the project in your IDE
#   UI:     cd ui-src && npm run dev                 # → http://127.0.0.1:5173/__fengyu
#   Worker: Debug PluginDevMain (in worker/src/test/java)   # → listens on 127.0.0.1:24057
# See @infinia/plugin-dev for the full IDE debugging guide.

# Build the .fyp (staged lifecycle: prepare → install → test → build → validate staging → package)
fengyu plugin build my-plugin
fengyu plugin build my-plugin --skip-tests   # skip tests only, never type checking, validation, or packaging

There are exactly two subcommands — create and build. dev, validate, and install are no longer CLI commands:

  • dev moved to the IDE via @infinia/plugin-dev (Vite plugin) + fengyu-plugin-devkit (PluginDevMain) — you get real breakpoints in your worker handlers instead of a CLI-managed process.
  • validate is now a built-in step of build (the staging tree is always validated before packaging).
  • install is done through the host's plugin marketplace UI (POST /api/plugin-market/upload).

Scaffolding

create produces a Vue 3 + Vuetify UI backed by a Java JSON-RPC worker by default. The generated project contains manifest.json (runtime), fengyu.plugin.json (build orchestration), ui-src/ (Vue/Vite, with @infinia/plugin-dev wired into vite.config.ts), worker/ (Java + the Maven Wrapper, with PluginDevMain scaffolded under src/test/java), and .mvn/settings.xml (GitHub Packages auth via env vars, no committed token). npm install runs inside ui-src by default; --no-install skips it. If installation fails, the generated files are left in place and the CLI prints the exact command to retry.

Build declaration (fengyu.plugin.json)

manifest.json stays runtime-only; build commands and source paths live in fengyu.plugin.json. The logical command maven resolves to the project's Maven Wrapper — there is never a silent fallback to a system Maven. Configured paths must resolve inside the plugin root; absolute paths, .. escapes, and symlink escapes are rejected. Zero-config projects (no fengyu.plugin.json) still build: a vite.config.* is detected as Vue/Vite, anything else as static ui/.

Build lifecycle

build runs an ordered, atomic pipeline: ui.prepareui.install → [ui.test, worker.test] → ui.buildworker.build → assemble staging → validate staging → atomically package. Staging copies only manifest.json, the UI output, backend/worker.jar, and declared resources — never source, node_modules, or credentials. Any failure leaves no .fyp, no .tmp-*, and no staging directory.

GitHub Packages authentication

The Java Worker SDK (fan.summer.fengyu.sdk:fengyu-plugin-sdk:1.1.0) and the devkit (fan.summer.fengyu.sdk:fengyu-plugin-devkit:1.1.0) are published to GitHub Packages. External worker builds authenticate via FENGYU_GITHUB_TOKEN (or GITHUB_TOKEN, with read:packages). If the wrapper root's settings.xml references maven.pkg.github.com and neither token is set, the CLI throws a precise auth message rather than failing ambiguously.