sindresorhus / default-browser
Get the default browser
☆55Updated last year
Alternatives and similar repositories for default-browser:
Users that are interested in default-browser are comparing it to the libraries listed below
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Recursively read a directory, blazing fast. Use with picomatch or micromatch to match globs.☆43Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆43Updated 10 months ago
- fs read and write streams based on minipass☆20Updated 9 months ago
- Make a function mimic another one☆94Updated 6 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Detect whether a terminal emulator supports hyperlinks☆56Updated 3 months ago
- Get the current package's binary path☆36Updated last month
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Gracefully restore the CLI cursor on exit☆38Updated 9 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 11 months ago
- A response-like object for mocking a Node.js HTTP response stream☆36Updated 2 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Expand deeply nested values from an object, with support for advanced features☆17Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Add XO to your project☆47Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago