sindresorhus/open
Open stuff like URLs, files, executables. Cross-platform. observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 97
- Release rhythm 73
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 98.5
- age_days: 4533
- days_rel: 20
- days_push: 20
- n_releases_24m: 5
Adoption not part of the score
3497 stars · 257 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Node.js library that opens URLs, files, and executables with the platform's default application, using `open` on macOS, `start` on Windows, and `xdg-open` on Linux. It supports specifying apps and arguments, waiting for the opened app to exit, and WSL paths.
Use cases
- open a url in the default browser from a node script
- launch a file in its default application cross-platform
- open a url in a specific browser like firefox or chrome
- open chrome in incognito mode with arguments
- launch an executable or app from a cli tool
- wait for the opened app to quit before continuing
When to choose
- you need to open URLs, files, or apps from a Node.js CLI tool or script
- you want cross-platform behavior without writing per-OS shell commands
- you need to pass arguments to the opened application or wait for it to exit
When to avoid
- you are building an Electron app (use shell.openPath instead)
- your project uses CommonJS without dynamic import, since this package is ESM-only
- you need to open untrusted input without sanitizing it first
Facets
library · maturity stable
developer-tools cli developer-tools cross-platform cross-platform windows open-url open-files default-app xdg-open esm automation nodejs macos linux
2 sources
- readme: https://github.com/sindresorhus/open · fetched 2026-08-28 · cc710ca8546b
- registry_npm: https://registry.npmjs.org/open · fetched 2026-08-29 · 33e2da27039a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/open | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/open")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem