sindresorhus / default-shellLinks
Get the user's default shell
☆41Updated 2 months 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☆55Updated 4 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 2 months ago
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Check if a value is an object☆42Updated 4 years ago
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Create an array without duplicates☆74Updated 4 years ago
- Rename a function☆47Updated 2 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Lazy number range generator☆82Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if a string is a scoped npm package name☆25Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆40Updated last year
- Lowercase the keys of an object☆41Updated 2 years ago
- Split a string at one or more indices☆25Updated 4 years ago
- Get the command history of the user's shell☆86Updated last month
- Get environment variables from the shell☆83Updated 2 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Updated 4 years ago
- Add XO to your project☆47Updated 2 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Updated last year
- Extract the article title of a HTML document☆56Updated 3 months ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago