sindresorhus / os-nameLinks
Get the name of the current operating system. Example: macOS Sierra
☆148Updated 6 months ago
Alternatives and similar repositories for os-name
Users that are interested in os-name are comparing it to the libraries listed below
Sorting:
- Wordwrap a string with ANSI escape codes☆130Updated 2 months ago
- Get the real path of the system temp directory☆83Updated 3 years ago
- Copy a file☆122Updated 3 months ago
- Check if your package was installed globally☆70Updated 2 years ago
- Check if argv has a specific flag☆95Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 2 months ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆46Updated 2 months ago
- Parse milliseconds into an object☆123Updated last year
- Filter object keys and values into a new object☆105Updated last year
- Check whether a package or organization name is available on npm☆171Updated last year
- Check if a process is running☆60Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 2 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Easily handle defaults for your options☆76Updated 2 years ago
- Check if a string is a valid filename☆63Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Get a random temporary file path☆81Updated 2 years ago
- Get the hash of an object☆139Updated 2 years ago
- Boxes for use in the terminal☆104Updated last year
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 2 years ago
- Strip leading whitespace from each line in a string☆144Updated last month
- Convert a value to an array☆132Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated 3 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- A response-like object for mocking a Node.js HTTP response stream☆36Updated last month
- Get your PATH prepended with locally installed binaries☆105Updated last year
- Move a file - Even works across devices☆204Updated 2 years ago
- Sort the keys of an object☆107Updated 3 months ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 9 months ago
- Write a package.json file☆89Updated 2 months ago