sindresorhus / default-shell
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
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get the directory of globally installed packages and binaries☆75Updated last year
- Lazy number range generator☆81Updated last year
- ES spec-compliant shim for String.prototype.padStart☆23Updated last month
- Truncate a URL to a specific length☆61Updated 4 years ago
- 🔇 mock stdio output for tests☆23Updated 6 years ago
- Check if your package was installed globally☆70Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆26Updated last year
- Get the command history of the user's shell☆84Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Get an array of parent directories including itself☆27Updated last year
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Rename a function☆46Updated last year
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Get the version of a binary in semver format☆35Updated last year
- Prints the current date and time as a UNIX timestamp or custom format☆46Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆38Updated 9 months ago
- Kap plugin - Share GIFs on Imgur☆21Updated 7 years ago
- Extract the article title of a HTML document☆54Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Import a globally installed module☆58Updated last year
- Remove leading, trailing and repeated whitespace from a string☆39Updated 3 years ago