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

@iwsdk/vite-plugin-dev

v0.3.1

Published

Vite plugin for IWSDK development — XR emulation, AI agent tooling, and Playwright browser

Readme

@iwsdk/vite-plugin-dev

Vite plugin for IWSDK development — XR emulation, AI agent tooling, and Playwright browser.

Features

  • 🥽 Device Emulation — Emulate Meta Quest 2, Quest 3, Quest Pro, or Quest 1 via IWER
  • 🏠 Synthetic Environments — Optional room-scale environments for AR testing
  • 🤖 AI Agent Tooling — MCP-based tools for Claude Code, Cursor, Copilot, and Codex
  • 🖥️ Managed Browser — Playwright browser for screenshots and console capture
  • 🔧 Zero Config — Works out of the box with sensible defaults

Installation

npm install -D @iwsdk/vite-plugin-dev

Quick Start

import { defineConfig } from 'vite';
import { iwsdkDev } from '@iwsdk/vite-plugin-dev';

export default defineConfig({
  plugins: [
    iwsdkDev({
      emulator: { device: 'metaQuest3' },
      verbose: true,
    }),
  ],
});

Configuration Options

iwsdkDev({
  emulator: {
    // XR device to emulate
    // Options: 'metaQuest2' | 'metaQuest3' | 'metaQuestPro' | 'oculusQuest1'
    device: 'metaQuest3', // default

    // Synthetic environment for AR room simulation
    // Options: 'living_room' | 'meeting_room' | 'music_room' | 'office_large' | 'office_small'
    environment: 'living_room',

    // When to activate emulation
    // 'localhost' - only on localhost/127.0.0.1 (default)
    // 'always' - always activate
    // RegExp - custom hostname pattern
    activation: 'localhost',

    // Inject during production build (not just dev)
    injectOnBuild: false, // default

    // User-Agent pattern to skip (avoids injection on real XR browsers)
    userAgentException: /OculusBrowser/, // default
  },

  // AI agent configuration — omit to disable entirely
  ai: {
    // Usage mode:
    // 'agent' - headless Playwright, fixed viewport, no DevUI (default)
    // 'oversight' - visible Playwright, freely resizable, no DevUI
    // 'collaborate' - visible Playwright, freely resizable, DevUI on
    mode: 'agent',

    // Which AI tools to generate MCP config for
    tools: ['claude'], // default

    // Screenshot size constraint (viewport in agent mode, downscale bound otherwise)
    screenshotSize: { width: 800, height: 800 }, // default
  },

  // Enable verbose logging
  verbose: false, // default
});

Usage Examples

Basic VR Development

iwsdkDev({
  emulator: { device: 'metaQuest3' },
});

AR Development with Synthetic Environment

iwsdkDev({
  emulator: {
    device: 'metaQuest3',
    environment: 'living_room',
  },
});

AI Agent Mode (default)

iwsdkDev({
  emulator: { device: 'metaQuest3' },
  ai: { mode: 'agent', screenshotSize: { width: 500, height: 500 } },
});

Collaborate Mode (human + agent share session)

iwsdkDev({
  emulator: { device: 'metaQuest3' },
  ai: { mode: 'collaborate' },
});

Oversight Mode (watch the agent)

iwsdkDev({
  emulator: { device: 'metaQuest3' },
  ai: { mode: 'oversight' },
});

AI Disabled

iwsdkDev({
  emulator: { device: 'metaQuest3' },
});

TypeScript Support

Full TypeScript support with exported types:

import {
  iwsdkDev,
  type DevPluginOptions,
  type EmulatorOptions,
  type AiOptions,
  type AiMode,
} from '@iwsdk/vite-plugin-dev';

License

MIT © Meta Platforms, Inc.