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

withexeditorhost

v10.0.0

Published

Native messaging host for withExEditor

Readme

EN | JA

build CodeQL npm release

withExEditorHost

Native messaging host for the withExEditor browser extension. The browser interacts with the host via messages, and the editor is executed by this host.

Supported browsers

|Browser |Windows|Linux |Mac | |:---------------|:-----:|:-----:|:-----:| |Firefox | ✓ | ✓ | ✓ | |Waterfox Current| ✓ | ✓ | ✓ | |LibreWolf | ✓ *1| ✓ | |

*1: Shares host with Firefox.

If your browser is not listed or OS for that browser is left blank, file an issue for adding support. When filing an issue, if you know where to save the application manifest in that browser, please let me know.

Installation and Setup

Note: Node.js is required.

When setting up the host, disable the withExEditor extension installed in the browser.

Install withExEditorHost globally, then move to the installed path.

npm i -g withexeditorhost
cd path/to/npm/node_modules/withexeditorhost

Note: To find the installation path, run npm root -g. Ref: npm-root

Run the setup command npm run setup.

npm run setup

During the setup process, you will be prompted to provide the following information. Please enter the appropriate values:

  • Enter editor path: Provide the full path to your preferred text editor.
  • Enter command line options: Specify any command-line arguments your editor requires.
    • Note: Enclose the argument in quotes if it contains spaces or backslashes. (Example: -a -b "C:\\Program Files")
    • Note: You can use the ${file} placeholder in the arguments to represent the temporary file. (Example: -a ${file} \-b)

Note: If you have enabled Mandatory Access Control (e.g., AppArmor) for your web browser, ensure that its profile allows the execution of the withexeditorhost.sh script.

If config files are created successfully, enable withExEditor again. The browser and the host get connected and the editor will be ready to use.

Options

You can specify several options when running the setup script:

-b --browser

Use this option to specify the target browser for the installation.

npm run setup -- --browser=firefox

-c --config-path

By default, configuration files are saved under user's home directory.

  • Windows: C:\Users\[UserName]\AppData\Roaming\withexeditorhost\config\
  • Mac: ~/Library/Application Support/withexeditorhost/config/
  • Linux: ~/.config/withexeditorhost/config/

If you want to save the configuration files in a different location, use this option. Enclose the path in quotes if it contains spaces or backslashes.

npm run setup -- --config-path="C:\Users\XXX\path\to\another\location"

Other options

For other options, see help

npm run setup -- --help

Upgrading

  1. Disable the withExEditor extension installed in your browser.
  2. Run the update command:
    npm i -g withexeditorhost@latest
  3. Re-enable the withExEditor extension. There is no need to run the setup script again.