Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

withexeditorhost

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

withexeditorhost

Native messaging host for withExEditor

latest
Source
npmnpm
Version
10.0.0
Version published
Maintainers
1
Created
Source

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

BrowserWindowsLinuxMac
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

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

FAQs

Package last updated on 14 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts