sindresorhus / os-name-cli
Get the name of the current operating system
☆20Updated last year
Alternatives and similar repositories for os-name-cli:
Users that are interested in os-name-cli are comparing it to the libraries listed below
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Prepend `<br>` to newlines in a string☆12Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Detect the indentation of code☆22Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆25Updated last year
- Reliably get the terminal window size - cross-platform☆26Updated last year
- Get the version of a binary in semver format☆35Updated 10 months ago
- Modify the keys of an object☆15Updated 3 years ago
- Strip the authentication part of a URL☆17Updated 2 years ago
- ES2015 Math.imul() ponyfill☆10Updated last year
- Yeoman welcome message used in generators☆19Updated last month
- Check if a string is email like☆23Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated 10 months ago
- Kap plugin - Share GIFs on GIPHY☆47Updated 4 years ago
- Check if a filepath is a Markdown file☆20Updated 3 years ago
- Display an error in a GUI dialog☆22Updated 3 years ago
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Get the system default UID☆11Updated last year
- Check if a file path is a compressed file☆17Updated 9 months ago
- Pick random items from a list☆15Updated 3 years ago
- Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s☆29Updated 9 months ago
- Get the path to this package - Useful for testing☆21Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Check if a file path is an archive file☆14Updated 9 months ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆21Updated 3 years ago
- Open files in your editor at a specific line and column☆54Updated 3 years ago