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

muon-ui

v0.23.0

Published

A multi-platform GUI application framework that uses CEF as its backend

Readme

muon

A multi-platform GUI application framework that uses CEF as its backend.

muon

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. License: MIT


What is this?

Have you ever wanted to update an aging native GUI application into a modern application? Application replacement is extremely complex, and it has always been a hard problem.

The causes vary widely, so there is no magic solution that makes everything easy. Even so, everyone wants to modernize with as little cost as possible.

muon (/ˈmjuːɒn/) is a multi-platform GUI application framework that uses CEF (Chromium Embedded Framework). You have probably heard of similar projects such as Electron.

Roughly speaking, muon is framework software in the same category. In other words, it lets you implement local GUI applications as web applications.

With muon, you can build native applications using the most mature and widely used browser UI frameworks, such as React and Vue.

vscode

So how is muon different from earlier framework software?

muon specializes in local GUI application development by using a whitelist approach for access to external web resources. In practice, access is denied by default.

You may think that using CEF without access to websites around the world is a waste. However, we believe that this is the biggest reason existing solutions have become very complex and difficult to handle.

muon also does not completely forbid access to external resources. Because the policy is whitelist-based, permitted websites remain accessible.

muon also includes a plugin system with fully asynchronous processing for interoperability with native libraries. These features are enabled from explicit configuration, so unused capabilities are not left open.

Because muon is based on CEF, Chromium features such as WebGL, WebGPU, WebAssembly, Web workers, and Local storage are available as expected. DevTools can be shown. CDP (Chrome DevTools Protocol) is also available, so you can debug with VS Code, connect Playwright, or control the app externally. You can also use remote DevTools from Chromium/Chrome through chrome://inspect/.

In short, muon clearly removes one of the major problems that appears when migrating GTK/Qt/Windows native applications to web applications. This lets you build modern local GUI applications with the web technology ecosystem.

muon also minimizes the steps required to create a muon application, keeping the barrier to entry low. With the minimal setup, installing the NPM package and adding one line to the configuration file is enough to launch your first muon app.

Features

  • Restricts all network access through a whitelist filter, letting you completely exclude problematic content.
  • Provided as an easy-to-use NPM package, so you can turn your web application project into a native GUI application without complex configuration or changes.
  • The rendering browser is CEF (Chromium Embedded Framework). From the web application's point of view, this is almost the same as using Chromium or Chrome.
  • Supports the Vite plugin system. It also supports Vite HMR, so previews update in real time during development.
  • Supports Linux (deb) and Windows (NSIS) package generation, and portable distribution.
  • DevTools can be used. CDP (Chrome DevTools Protocol) is also supported, so remote debugging from external tools is possible.
  • Includes a plugin system. Plugin capabilities can also be restricted by a whitelist filter.
  • Built-in plugins provide access to local files, open dialogs, child process launching, and window operations.

Environment

  • Supports the following architectures from the official CEF binary architectures:
    • Linux: amd64, armhf, arm64
    • Windows: i686, amd64
  • Build environment
    • Node.js 20 or later
    • Vite 5 or later

Getting started with muon (Quick version)

Let's get started by creating an application with muon (a muon app). Use a Vite template to create "my-muon-app" as you normally would:

npm create vite@latest my-muon-app -- --template react-ts

This example uses React + TypeScript, but of course other choices are fine. Be sure to enable TypeScript. Then run:

cd my-muon-app
npm install
npm run dev

This starts the Vite development server, and you can click the link to view the page in a browser.

Now add muon to this project:

npm install -D muon-ui

The CEF binary itself is not included in the NPM package. CEF is downloaded from the official CDN when it is needed.

Next, add the muon Vite plugin to Vite so that you can build your muon app. Add the following code to vite.config.ts:

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import muon from 'muon-ui/vite'

export default defineConfig({
  plugins: [
    react(),  // React plugin
    muon(),   // muon plugin (add this)
  ],
})

Everything is now ready. Launch muon:

npm run dev

The muon window should appear with your page!


Documents

For more information, please visit the repository.

License

Under MIT.