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

@viji-dev/sdk

v1.0.13

Published

Professional toolkit for creating interactive Viji scenes

Readme

Viji SDK

Development environment for Viji scenes. Write scene code in your IDE, preview it live in the browser with real-time parameter controls, audio analysis, video input, and interaction handling — the same execution environment as the Viji platform. Supports Canvas 2D, WebGL, P5.js, and GLSL shaders.

Installation

Requires Node.js v18 or later.

npm install -g @viji-dev/sdk

To update to the latest version:

npm update -g @viji-dev/sdk

Quick Start

# Create a workspace folder (any name works)
mkdir my-viji-scenes && cd my-viji-scenes

# Create your first scene (native renderer is the default)
viji create my-scene

# Start the development server
viji dev

Open http://localhost:3000 in your browser to see the SDK UI. Edit scenes/my-scene/main.js in your IDE — changes appear in real time. Both JS and TS scenes get full autocompletion for the Viji API.

CLI Commands

viji create <scene-name> [--renderer <type>] [--ts]

Create a new scene in the scenes/ folder.

  • viji create my-scene — native renderer (Canvas 2D / WebGL), the default
  • viji create my-scene --renderer p5 — P5.js renderer
  • viji create my-scene --renderer shader — GLSL fragment shader
  • viji create my-scene --ts — TypeScript scene file (works with any renderer)

On the first run, the SDK installs type definitions locally for IDE autocompletion. This creates node_modules/ and package.json in your workspace, and tsconfig.json + global.d.ts inside each scene folder — all auto-generated, no manual setup needed. Each scene is isolated so they don't interfere with each other in your editor.

viji dev [--port <port>] [--host <host>] [--open]

Start the development server with live reload.

| Option | Default | Description | |--------|---------|-------------| | --port | 3000 | Server port | | --host | localhost | Server host | | --open | false | Open browser automatically |

The server watches the scenes/ directory for changes and pushes updates to the browser UI in real time via WebSocket.

On startup, viji dev checks whether the workspace's type definitions match the SDK version. If you've updated the SDK and the local types are out of date, they are updated automatically — no manual steps needed. This keeps IDE autocompletion in sync with the runtime.

viji build <scene-name> [-o <file>]

Bundle a scene into a single file for deployment to the Viji platform.

viji build my-scene                       # outputs dist/my-scene.js
viji build my-scene -o bundle/output.js   # custom output path

Multi-file scenes (with local imports) are resolved and concatenated automatically.

Writing Scenes

The SDK includes built-in documentation for the Viji scene API, parameter system, renderers, audio/video analysis, and interaction handling.

Start the development server and open the docs panel from the toolbar, or navigate directly to http://localhost:3000/docs.

The documentation includes live code playgrounds where you can experiment with the API directly in the browser.

Project Structure

After creating a few scenes, your workspace looks like this:

my-viji-scenes/
├── scenes/
│   ├── my-scene/
│   │   ├── main.js
│   │   ├── global.d.ts        # type definitions (auto-generated)
│   │   └── tsconfig.json      # IDE config (auto-generated)
│   ├── shader-demo/
│   │   └── main.glsl
│   └── p5-sketch/
│       ├── main.js
│       ├── global.d.ts
│       └── tsconfig.json
├── node_modules/              # type packages (auto-generated)
└── package.json               # auto-generated

License

Copyright (c) 2025 Artem Verkhovskiy and Dmitry Manoilenko. All rights reserved — see the LICENSE file for details.

Contributor License Agreement

By contributing, you agree to the CLA. Please also confirm your agreement by filling out this short form.