This cross-platform Node.js package opens “stuff” like URLs, files, and executables from command-line tools and scripts. It uses the platform’s open mechanism (macOS open, Windows start, Linux xdg-open), supports selecting an app and passing app arguments, and can optionally wait for the opened app to exit (when possible).
Project status
- Actively maintained, with a recent update on 2025-11-15 (v11.0.0), and multiple follow-on updates during 2025 (v10.2.0 on 2025-07-14, v10.1.2 on 2025-05-01).
- Apparent update cadence is moderate, with gaps of roughly 2 to 4 months between the provided updates (about 2.5 months from v10.1.2 to v10.2.0, then about 4 months to v11.0.0).
AI summary generated Today
Recent updates
v11.0.0
6 months agov11.0.0 raises the minimum supported Node.js version to 20 and introduces better cross-platform launching behavior, especially around WSL PowerShell detection and browser selection. The implementation was refactored to support more robust fallbacks (now using AggregateError) and improved subprocess/spawn handling.
BreakingFeaturesv10.2.0
10 months agov10.2.0 adds Brave browser support, including app detection and incognito/private launch flags. The release notes only mention Brave, but the code diff also refactors WSL PowerShell path resolution and swaps a runtime dependency related to WSL detection.
Featuresv10.1.2
5/1/2025v10.1.2 updates the Windows default browser detection when running under WSL. The release notes describe a fix specifically for detecting the Windows default browser from WSL.
v10.1.1
4/15/2025v10.1.1 includes a targeted fix for macOS bundle ID handling so Microsoft Edge is detected/opened correctly. The code change extends the internal mapping of bundle identifiers to the expected app name for Edge.
v10.1.0
3/8/2024Release v10.1.0 updates the Linux `xdg-open` script to version 1.2.1, alongside a package version bump. While the release notes only mention the `xdg-open` update, the diff shows substantial changes to the shell script content (manual text) and multiple implementation details in the `xdg-open` wrapper logic.
v10.0.4
2/26/2024v10.0.4 makes a small compatibility fix to `openApp()` to support an additional form of the `name` argument. The only functional code change is in `index.js`, plus a package version bump.
v10.0.3
1/7/2024v10.0.3 contains a targeted fix for how the `target` option is handled on macOS. The change updates the ordering of spawned CLI arguments so `target` is passed after macOS-specific `--args` handling.
v10.0.2
12/28/2023Release v10.0.2 is described as a Linux compatibility fix. The code diff shows only minor version and devDependency bumps in package.json, but a very large update to the bundled xdg-open script (hundreds of lines added, many removed), which implies meaningful behavior changes beyond what is stated in the release notes.
v10.0.1
12/22/2023v10.0.1 updates the Windows command resolution logic to better handle systems where the SYSTEMROOT environment variable is missing. It also includes the normal package version bump from 10.0.0 to 10.0.1.
v10.0.0
12/19/2023v10.0.0 primarily raises the minimum supported Node.js version to 18. The diff also shows dependency bumps and a large internal change to the bundled xdg-open script, neither of which is mentioned in the release notes.
Breaking