sindresorhus / os-nameLinks
Get the name of the current operating system. Example: macOS Sierra
☆147Updated last month
Alternatives and similar repositories for os-name
Users that are interested in os-name are comparing it to the libraries listed below
Sorting:
- Get the real path of the system temp directory☆82Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Parse milliseconds into an object☆119Updated last year
- Filter object keys and values into a new object☆102Updated last year
- Check if argv has a specific flag☆95Updated 3 years ago
- Check whether a package or organization name is available on npm☆170Updated last year
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆44Updated last month
- Boxes for use in the terminal☆98Updated 11 months ago
- Copy a file☆121Updated last year
- Get the hash of an object☆135Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 4 months ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Toggle the CLI cursor☆110Updated 11 months ago
- Convert a value to an array☆129Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the default browser☆56Updated last year
- Easily handle defaults for your options☆75Updated last year
- Make a function mimic another one☆94Updated 8 months ago
- Move a file - Even works across devices☆200Updated last year
- Randomize the order of items in an array☆105Updated 2 years ago
- Write a package.json file☆88Updated 11 months ago
- Block the main thread for a given amount of time☆124Updated 2 years ago
- Get the latest version of an npm package☆176Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Convert RGB color to HEX☆119Updated last year
- Check if a string is a valid filename☆62Updated 3 years ago
- Detect whether the terminal supports Unicode☆85Updated 10 months ago