sindresorhus / os-name-cli
Get the name of the current operating system
☆20Updated last year
Related projects ⓘ
Alternatives and complementary repositories for os-name-cli
- Prepend `<br>` to newlines in a string☆12Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆24Updated last year
- Get the version of a binary in semver format☆35Updated 7 months ago
- Strip the authentication part of a URL☆17Updated 2 years ago
- Detect the indentation of code☆22Updated 3 years ago
- Reliably get the terminal window size - cross-platform☆25Updated last year
- Display an error in a GUI dialog☆22Updated 3 years ago
- ES2015 Math.imul() ponyfill☆10Updated last year
- Check if a string is email like☆23Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Pick random items from a list☆15Updated 3 years ago
- Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s☆29Updated 6 months ago
- clean up licenses from package.json files and the npm registry☆14Updated 9 years ago
- Modify the keys of an object☆15Updated 3 years ago
- Check if a file path is a compressed file☆16Updated 6 months ago
- Split a string at one or more indices☆23Updated 3 years ago
- Check if a filepath is a Markdown file☆20Updated 3 years ago
- Yeoman welcome message used in generators☆19Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Check if a value is a function☆27Updated 3 years ago
- Get the passwd user entry from a username or uid☆29Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated 7 months ago
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆21Updated 3 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Updated 3 years ago
- Ensure a path doesn't contain null bytes☆12Updated 2 years ago
- Get the system default UID☆11Updated last year
- Assert a Map has a given key and return the value for it.☆12Updated 2 years ago