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

@junobuild/vite-plugin

v4.5.1

Published

A Vite plugin for Juno

Readme

npm license

Juno Vite Plugin

A Vite plugin for Juno.

Getting started

The plugin automatically loads your Satellite and Orbiter IDs.

With these values, you can instantiate Juno in your code without the need to manually define environment variables.

await Promise.all([initSatellite(), initOrbiter()]);

Environment variables

Those following environment variables are injected by this plugin:

| Environment variable | Value | | ------------------------- | ------------------------------------------------------------------------ | | VITE_SATELLITE_ID | Satellite ID from Juno config (per mode) | | VITE_ORBITER_ID | undefined in development, Orbiter ID from Juno config. | | VITE_INTERNET_IDENTITY_ID | rdmx6-jaaaa-aaaaa-aaadq-cai | | VITE_ICP_LEDGER_ID | ryjl3-tyaaa-aaaaa-aaaba-cai | | VITE_ICP_INDEX_ID | qhbym-qaaaa-aaaaa-aaafq-cai | | VITE_NNS_GOVERNANCE_ID | rrkah-fqaaa-aaaaa-aaaaq-cai | | VITE_CMC_ID | rkp4c-7iaaa-aaaaa-aaaca-cai | | VITE_REGISTRY_ID | rwlgt-iiaaa-aaaaa-aaaaa-cai | | VITE_CYCLES_LEDGER_ID | um5iw-rqaaa-aaaaq-qaaba-cai | | VITE_CYCLES_INDEX_ID | ul4oc-4iaaa-aaaaq-qaabq-cai | | VITE_SNS_WASM_ID | qaa6y-5yaaa-aaaaa-aaafa-cai | | VITE_NNS_DAPP_ID | qoctq-giaaa-aaaaa-aaaea-cai | | VITE_CONTAINER | Container URL (emulator or custom); undefined by default in production |

VITE_ is the default prefix used by Vite. It can be customized as described in Vite's documentation.

Installation

npm i @junobuild/vite-plugin -D

Usage

// vite.config.js
import juno from '@junobuild/vite-plugin';

export default defineConfig({
  plugins: [juno()]
});

Options

The plugin can be customized using the optional juno configuration object. This allows you to control how the Juno Docker container is used in your project, especially during local development or end-to-end (E2E) testing.

juno.container

Use the container option to enable, disable, or fine-tune the use of Juno Docker.

You can provide:

  • false — to disable the container entirely.
  • true — to enable the container with default settings (only in development mode), which is also the default behavior.
  • An object with the following fields:
    • url (string, optional): A custom container URL, including the port. Example: http://127.0.0.1:8000
    • modes (string[], optional): An array of modes (e.g., ['development', 'test']) during which the container should be used.

By default, the container is mounted only in development mode.

// vite.config.js
import juno from '@junobuild/vite-plugin';

export default defineConfig({
  plugins: [
    juno({
      container: {
        url: 'http://127.0.0.1:8000',
        modes: ['development', 'test']
      }
    })
  ]
});

License

MIT © David Dal Busco