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

vite-plus-global

v0.0.0

Published

- Global `vite` CLI for Vite+ - Everything else is delegated to [vite-plus local CLI][1] for local tasks

Readme

Vite+ Global CLI

Install

Note: need GitHub token to install before we publish the package to npm.

Add the following lines to your ~/.npmrc file:

//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
@voidzero-dev:registry=https://npm.pkg.github.com/

Create a fine-grained personal access token with the read:packages scope. Follow this guide: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens.

Use this token to install the global cli:

GITHUB_TOKEN=<your-token> npm install -g @voidzero-dev/global

Use 1Password CLI:

GITHUB_TOKEN=$(op read "op://YOUR_GITHUB_TOKEN_PATH") npm install -g @voidzero-dev/global

Get Started

Scaffolding your first Vite+ project

Use the vite new command to start, it will ask you a few questions to help you scaffold your project, supports both MonoRepo and SingleRepo.

vite new

If you select Monorepo, you can add new app or lib to your project.

vite new --app apps/website
vite new --lib packages/utils

Overview

$ vite --help
Usage: vite [OPTIONS] [TASK] [-- <TASK_ARGS>...] [COMMAND]

Commands:
  run      
  lint     
  fmt      
  build    
  test     
  install  
  help     Print this message or the help of the given subcommand(s)

Arguments:
  [TASK]          
  [TASK_ARGS]...  Optional arguments for the tasks, captured after '--'

Options:
  -d, --debug     Display cache for debugging
      --no-debug  
  -h, --help      Print help
  -V, --version   Print version

Commands Usage

Built-in commands: lint, build, test

Execute our own toolchain in current directory, see vite-plus local CLI for more details.

task runner

vite run [name] runs script with the same name from package.json across the monorepo (topologically sorted).

e.g.:

// package.json
{
  "scripts": {
    "ready": "vite lint && vite run -r build && vite test"
  },
  "devDependencies": {
    "@voidzero-dev/vite-plus": "*"
  }
}

Run the ready task with global CLI vite:

vite run ready

Display tracing logs

You can use the VITE_LOG environment variable to display tracing logs.

# display trace level logs
VITE_LOG=trace vite run ready

# display debug level logs
VITE_LOG=debug vite run ready

Development

  • The global executable is vite, use vite-dev for development

Example workflow:

  1. Make vite (and vite-dev) available globally:
cd packages/global
pnpm link
pnpm dev
  1. From vite-plus package, link multiplexer package and use vite-plus in any project's package.json:
cd packages/cli
pnpm link ../multiplexer/
pnpm dev
  1. Build multiplexer
cd packages/multiplexer
pnpm dev
  1. Install in project

Use vite new anywhere, or run this directly inside this repo:

cd packages/global/templates/minimal
pnpm link ../../../cli/

Outside this repo do pnpm link to/vite-plus/packages/cli/

  1. Run tasks

Now the following commands all do the same thing:

vite lint
pnpm vite-plus lint

Or use the task runner for

vite task build lint
pnpm vite-plus task build lint
pnpm run all

Verdaccio

Install Verdaccio for local actual package installs (pkg.pr.new publishes only from CI and e.g. npm link doesn't always cut it).