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

electrobun-builder-for-windows

v0.1.11

Published

Packaging and signing tool for Electrobun applications on Windows (NSIS, WiX, MSIX).

Readme

electrobun-builder-for-windows

npm version License: MIT Build Status

Packaging and signing tool for Electrobun applications on Windows. Support for NSIS, WiX (MSI), and MSIX formats.

👉 日本語のドキュメントはこちら (Japanese README)

Quick Start

  1. Install: npm install -g electrobun-builder-for-windows
  2. Configure: Create electrobun.config.ts in your project root.
  3. Build: Run electrobun-builder build --target nsis

Features

  • NSIS: Create a single-file EXE installer with custom icons and professional MUI2 interface.
  • WiX (MSI): Create professional MSI installers with stable upgrade codes using UUIDs and automatic component scanning.
  • MSIX: Create modern Windows app packages (Sparse Manifest) with automatic logo resizing via sharp.
  • Code Signing: Digitally sign installers and binaries using PFX certificates via signtool.
  • Auto Update: Generate latest.json metadata (including SHA-256 hash) for Electrobun's Updater class.
  • Resource Editing: Automatically update EXE icons and version info (Copyright, Company, etc.) using rcedit.

Installation

npm install -g electrobun-builder-for-windows

OS Dependencies

This tool requires several Windows SDK and packaging tools. Ensure these are installed and available in your PATH:

| Target | Required Tool | Link | | --- | --- | --- | | NSIS | NSIS 3.x | Download | | WiX | WiX Toolset v3.x | Download | | MSIX / Sign | Windows SDK (SignTool, MakeAppx) | Download |

Usage

1. Basic Build

Build an installer for a specific target.

# Build NSIS (.exe)
electrobun-builder build --target nsis

# Build WiX (.msi)
electrobun-builder build --target wix

# Build MSIX (.msix)
electrobun-builder build --target msix

2. Build and Sign

Apply a digital signature to the installer and the internal application binary. This works for all targets (nsis, wix, msix).

# Sign NSIS (.exe)
electrobun-builder build --target nsis --sign --pfx cert.pfx --password yourpassword

# Sign WiX (.msi)
electrobun-builder build --target wix --sign --pfx cert.pfx --password yourpassword

# Sign MSIX (.msix)
electrobun-builder build --target msix --sign --pfx cert.pfx --password yourpassword

3. Auto-Update Metadata

Generate latest.json required for Electrobun's Updater. This is also available for all targets.

# Generate for NSIS
electrobun-builder build --target nsis --update --baseUrl https://your-server.com/downloads

# Generate for WiX
electrobun-builder build --target wix --update --baseUrl https://your-server.com/downloads

# Generate for MSIX
electrobun-builder build --target msix --update --baseUrl https://your-server.com/downloads

Configuration

The builder reads electrobun.config.ts from your project root.

import { type ElectrobunConfig } from "electrobun-builder-for-windows";

const config: ElectrobunConfig = {
  name: "MyApp",
  version: "1.0.0",
  author: "Your Company",
  windows: {
    icon: "assets/app.ico", // Path to your .ico file
    productId: "com.example.myapp", // Used for WiX UpgradeCode and Registry
    installDir: "MyApp", // Folder name in Program Files
    languageCode: "1041", // Optional: WiX LCID (Default: 1041 - Japanese)
    languageName: "Japanese", // Optional: NSIS Language (Default: Japanese)
    msix: {
      publisher: "CN=YourPublisher",
      publisherDisplayName: "Your Name",
      identityName: "com.example.myapp",
      capabilities: ["internetClient"]
    }
  }
};

export default config;

License

MIT - Copyright (c) 2026 Catharacta