Gathering detailed insights and metrics for better-opn
Gathering detailed insights and metrics for better-opn
Gathering detailed insights and metrics for better-opn
Gathering detailed insights and metrics for better-opn
gix-opn
GIX - A better node-open. Opens stuff like websites, files, executables. Cross-platform.
@brainsights/opn
A better node-open. Opens stuff like websites, files, executables. Cross-platform.
@toba/open
[TypeScript'ed copy of sindresorhus/opn] A better node-open. Opens stuff like websites, files, executables. Cross-platform.
A better open. Reuse the same tab on Chromium-based browsers on macOS.
npm install better-opn
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99
Supply Chain
74.6
Quality
75.8
Maintenance
100
Vulnerability
100
License
JavaScript (74.96%)
AppleScript (25.04%)
Total Downloads
1,007,609,856
Last Day
322,864
Last Week
7,681,469
Last Month
33,096,366
Last Year
310,081,162
MIT License
42 Stars
33 Commits
8 Forks
2 Watchers
15 Branches
6 Contributors
Updated on Dec 02, 2024
Minified
Minified + Gzipped
Latest Version
3.0.2
Package Id
better-opn@3.0.2
Unpacked Size
280.07 kB
Size
108.42 kB
File Count
6
NPM Version
8.0.0
Node Version
16.11.1
Cumulative downloads
Total Downloads
Last Day
-2.8%
322,864
Compared to previous day
Last Week
-7.2%
7,681,469
Compared to previous week
Last Month
2.6%
33,096,366
Compared to previous month
Last Year
16.9%
310,081,162
Compared to previous year
1
A better opn. Reuse the same tab on Chrome for 👨💻. Inspire by create-react-app
$ yarn add better-opn
$ npm install better-opn
If you wish to overwrite the default browser, override BROWSER
environment variable to your desired browser name (name is platform dependent).
1const opn = require('better-opn'); 2 3opn('http://localhost:3000');
In case your app can navigate to another pathnames and still want to reuse opened tab, set environment variable OPEN_MATCH_HOST_ONLY=true
can tell this program to find reusable tab by only match the host part of your URL.
1process.env.OPEN_MATCH_HOST_ONLY = 'true'; 2 3opn('http://localhost:3000/foo/bar'); // This will reuse any tab with URL starting with http://localhost:3000/
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 5/29 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
55 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More