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 🙏

© 2025 – Pkg Stats / Ryan Hefner

web2app-cli

v1.0.8

Published

CLI to generate Neutralino apps from any URL

Readme

web2app-cli

Convert any website into a lightweight cross-platform desktop app (Windows, macOS, Linux) with a single command powered by NeutralinoJS. No Electron bundle and no boilerplate to maintain.

Requirements

  • Node.js 14+ and npm
  • Neutralino CLI is reused when already installed (NEU_BIN, local node_modules/.bin/neu, or neu on your PATH); if missing, it is installed globally once via npm install -g @neutralinojs/neu

Installation

npm install -g web2app-cli

Usage

web2app <url> [--icon=/path/to/icon] [--name=AppName]

Options

  • --icon= path to an .ico, .icns, .png, or .svg file to use as the window icon.
  • --name= custom application name; defaults to WebApp.

Example

web2app https://example.com --icon=./icon.ico --name=ExampleApp

Output

  • Builds into web2app_build/<appname>/.
  • Produces release executables for Windows (-win_x64.exe), macOS (-mac_x64, -mac_arm64, -mac_universal), and Linux (-linux_x64, -linux_armhf, -linux_arm64) with resources embedded (no standalone resources.neu).
  • Generates a ready-to-ship <appname>-release.zip alongside the executables, then removes the zip for a clean output (executables stay).
  • Downloads Neutralino runtimes into web2app_build/bin on first run, then removes the cache; subsequent builds re-download automatically.
  • If a site blocks iframes, the app loads the URL directly; otherwise it uses an embedded iframe.

How it works

  • Generates neutralino.config.json and a minimal index.html pointing at your target URL.
  • Checks if the site allows embedding (iframe); falls back to direct load when blocked.
  • Downloads Neutralino runtimes (all platforms) on first run, calls neu build --release --embed-resources to generate executables, then deletes the temporary bin/ and generated resources/ folder.
  • If neu update fails or is blocked, the CLI falls back to downloading the Neutralino release zip directly from GitHub; set WEB2APP_NEU_DIRECT=1 to force that path.
  • Installs the Neutralino CLI globally only when no existing installation is found, so it can be reused across projects.

Release Notes

  • Automatic scan for an existing Neutralino CLI (NEU_BIN, local node_modules/.bin/neu, PATH, npm global bin) before installing globally.
  • Builds release executables for all platforms with embedded resources (no resources.neu alongside the binary); cleans bin/resources/release zip after build.
  • Falls back to downloading Neutralino runtimes directly from GitHub if neu update --latest fails (WEB2APP_NEU_DIRECT=1 to force).

License

MIT