sindresorhus / default-shellLinks
Get the user's default shell
☆40Updated 3 years ago
Alternatives and similar repositories for default-shell
Users that are interested in default-shell are comparing it to the libraries listed below
Sorting:
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get an array of parent directories including itself☆27Updated last year
- Returns an array filled with the specified input☆42Updated 2 years ago
- Check if a file is executable☆30Updated 6 years ago
- Get the command history of the user's shell☆85Updated 2 years ago
- Check if something is a generator function☆22Updated 2 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Check if a number is in a given range☆21Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Rename a function☆46Updated last year
- ES spec-compliant shim for String.prototype.padStart☆23Updated 3 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- 🔇 mock stdio output for tests☆23Updated 7 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get packages by a npm user☆42Updated 7 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Truncate a URL to a specific length☆61Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Create a MD5 hash with hex encoding☆45Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago