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

@adamasvr/imgui

v1.0.2

Published

Dear ImGui with a custom backend for Adamas VR projects

Readme

imgui-adamas

imgui-adamas brings Dear ImGui to the Adamas VR platform through a custom Adamas backend and a TypeScript-friendly JavaScript distribution.

This project builds on the JavaScript cross-compilation and TypeScript interface provided by imgui-js, then extends it with an Adamas-specific rendering backend in imgui_impl_adamas.ts. It also includes a convenience helper in imgui_window.ts for quickly creating an ImGui-backed panel in an Adamas project.

For Adamas platform documentation, see Adamas Docs.

Overview

This library enables Adamas projects to render Dear ImGui user interfaces in VR. It is intended for VR developers who want a practical immediate-mode UI workflow for debugging tools, in-world control panels, development overlays, and custom runtime interfaces.

The project provides:

  • A Dear ImGui JavaScript build with TypeScript bindings.
  • A custom backend for rendering Dear ImGui on the Adamas VR platform.
  • A helper API for creating and updating an ImGui window with minimal setup.

Credits

This project is derived from and depends on prior work from the following projects:

  • ocornut/imgui for the original Dear ImGui implementation.
  • flyover/imgui-js for the JavaScript cross-compilation and TypeScript interface used by this project.

Installation

Install the package from npm:

npm install @adamasvr/imgui

Quick Start

Import the helper:

import { CreateImGuiWindow } from "@adamasvr/imgui";

Create the window during your Adamas project setup flow. The example below focuses only on how Dear ImGui is integrated with Adamas VR:

import { Project } from "@adamasvr/sdk";
import { projectBundle } from "adamasvr:editor";
import { CreateImGuiWindow } from "@adamasvr/imgui";

Project.FromBundle(projectBundle).Launch(async (sceneGraph, project) => {
	const color = [0.2, 0.45, 1.0, 1.0];

	await CreateImGuiWindow(
		project,
		{
			targetEntity: sceneGraph["@UI Panel"].entityId,
			displayWidth: 600,
			displayHeight: 400,
		},
		(imgui) => {
			imgui.Text(`Framerate: ${imgui.GetIO().Framerate.toFixed(1)} FPS`);
			imgui.Separator();
			imgui.Text("Example UI");
			imgui.Separator();
			imgui.ColorEdit4("Color", color);
		},
	);
});

Usage Notes

CreateImGuiWindow is a convenience helper intended to simplify common setup and rendering patterns.

For fully custom Dear ImGui integration on Adamas, you can use the exports from imgui_impl_adamas.ts directly and treat imgui_window.ts as a reference implementation. This approach is recommended when you need custom lifecycle control, rendering behavior, or a deeper integration with your project architecture.

Included Components