sindresorhus / default-shell
Get the user's default shell
☆40Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for default-shell
- Exit the process when the `esc` key is pressed☆57Updated 11 months ago
- Returns an array filled with the specified input☆43Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆25Updated 6 months ago
- Check if a number is in a given range☆21Updated 3 years ago
- Get the command history of the user's shell☆84Updated last year
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Parse and stringify file paths with line and column like `unicorn.js14`☆21Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Get the version of a binary in semver format☆35Updated 7 months ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Check if your package was installed globally☆70Updated last year
- Rename a function☆45Updated last year
- Turn an object into a string of HTML attributes☆49Updated last year
- Get packages by a npm user☆42Updated 7 years ago
- Get tags from a remote git repo. Using only JS. No git binary required.☆49Updated 2 years ago
- Get an array of parent directories including itself☆27Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Check if a value is an object☆40Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Clear the terminal cross-platform☆44Updated 3 years ago
- Check if something is a promise☆47Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆35Updated 3 months ago
- Lazy number range generator☆82Updated 10 months ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago