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

@xframes/node

v0.1.0

Published

DOM-less, GPU-accelerated GUI development for Node.js

Readme

@xframes/node

DOM-free, GPU-accelerated desktop GUI development for Node.js — powered by Dear ImGui and Yoga Layout.

Write React/TypeScript components that render as native desktop widgets with zero browser overhead.

Quick Start

npx create-xframes-node-app
cd my-app
npm start

Example

import { resolve } from "path";
import * as React from "react";
import { render, XFrames } from "@xframes/node";

const fontDefs = {
  defs: [{ name: "roboto-regular", sizes: [16, 18, 20, 24] }]
    .map(({ name, sizes }) => sizes.map((size) => ({ name, size })))
    .flat(),
};

const theme = { /* ... */ };

const App = () => (
  <XFrames.Node root style={{ height: "100%" }}>
    <XFrames.UnformattedText text="Hello, world" />
    <XFrames.Button label="Click me" onClick={() => console.log("clicked")} />
  </XFrames.Node>
);

render(App, resolve("./assets"), fontDefs, theme);

Available Widgets

Input: Button, Checkbox, Combo, InputText, Slider, MultiSlider, ColorPicker

Text: BulletText, DisabledText, SeparatorText, TextWrap, UnformattedText

Layout: Node, Child, Group, DIWindow, Separator, TabBar, TabItem, CollapsingHeader, TreeNode, TreeView

Data: Table (sorting, filtering, column reorder/hide, context menus), PlotLine, PlotBar, PlotScatter, PlotHeatmap, PlotHistogram, PlotPieChart, PlotCandlestick

Other: Image, ProgressBar, ColorIndicator, ClippedMultiLineTextRenderer, ItemTooltip

Key Features

  • React components — familiar JSX syntax, hooks, refs, state management
  • Yoga flexbox layout — the same layout engine used by React Native
  • Per-state styling — base, hover, active, and disabled style variants
  • Imperative handles — refs for Table, Plot widgets, InputText, and more
  • Font Awesome icons — built-in icon support in tables and text
  • Theme system — runtime theme switching via patchStyle
  • Prebuilt binariesnpm install downloads platform-specific native addons (NAPI v9)

Platform Support

| Architecture | OS | Notes | |---|---|---| | x64-windows | Windows 11 | Works | | x64-linux | WSL2 Ubuntu 24.04 | Set export GALLIUM_DRIVER=d3d12 | | x64-linux | Debian Trixie | Works | | x64-linux | Ubuntu 22.04 / 24.04 | Works | | arm64-linux | Raspberry Pi OS (Bookworm) | Works |

Building from Source

If a prebuilt binary isn't available for your platform, the native addon compiles from source during npm install. Requirements:

Windows: Visual Studio 2022

Ubuntu 24.04:

sudo apt install curl zip unzip tar build-essential cmake libglfw3 libglfw3-dev libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config

Fedora 41:

sudo dnf install @development-tools gcc-c++ cmake glfw-devel

Raspberry Pi OS:

sudo apt install curl zip unzip tar build-essential cmake libglfw3 libglfw3-dev libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config
export ARM64_LINUX=1
export VCPKG_FORCE_SYSTEM_BINARIES=1

Links

License

MIT