sindresorhus / os-nameLinks
Get the name of the current operating system. Example: macOS Sierra
☆148Updated 4 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:
- Check if argv has a specific flag☆93Updated 4 years ago
- Wordwrap a string with ANSI escape codes☆128Updated 3 weeks ago
- Get the real path of the system temp directory☆81Updated 3 years ago
- Check whether a package or organization name is available on npm☆171Updated last year
- Copy a file☆121Updated last month
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 3 weeks ago
- Boxes for use in the terminal☆103Updated last year
- Filter object keys and values into a new object☆104Updated last year
- Check if your package was installed globally☆70Updated last year
- Convert a value to an array☆130Updated 3 years ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆45Updated 2 weeks ago
- Detect the dominant newline character of a string☆55Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Get the hash of an object☆137Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Convert RGB color to HEX☆119Updated 2 years ago
- Sort the keys of an object☆105Updated last month
- A JSON with CSS color names☆122Updated 2 weeks ago
- Toggle the CLI cursor☆112Updated last year
- Get the default browser☆56Updated last year
- Check if the process is running with elevated privileges☆41Updated 4 years ago
- Write a package.json file☆88Updated 3 weeks ago
- Parse milliseconds into an object☆119Updated last year
- Check if a process is running☆58Updated 3 years ago
- Easily handle defaults for your options☆75Updated last year
- Move a file - Even works across devices☆202Updated last year
- Get the latest version of an npm package☆176Updated last year
- Make a function mimic another one☆95Updated 11 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 weeks ago
- Detect whether the terminal supports Unicode☆84Updated last year