sindresorhus / os-nameLinks
Get the name of the current operating system. Example: macOS Sierra
☆148Updated 5 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:
- Get the real path of the system temp directory☆82Updated 3 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Wordwrap a string with ANSI escape codes☆129Updated last month
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆142Updated last month
- Check if your package was installed globally☆69Updated last year
- Copy a file☆121Updated 2 months ago
- Easily handle defaults for your options☆75Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Filter object keys and values into a new object☆104Updated last year
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆45Updated last month
- Parse milliseconds into an object☆122Updated last year
- Boxes for use in the terminal☆103Updated last year
- Write a package.json file☆89Updated last month
- Check if your code is running as an npm or yarn script☆64Updated last month
- Check if the process is running with elevated privileges☆42Updated 4 years ago
- Move a file - Even works across devices☆202Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Sort the keys of an object☆105Updated last month
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Generate a unique random string☆86Updated 3 years ago
- Convert a value to an array☆131Updated 3 years ago
- Block the main thread for a given amount of time☆126Updated 2 years ago
- Generate a random integer☆87Updated last month
- Check if a process is running☆60Updated 3 years ago
- Toggle the CLI cursor☆112Updated last year
- Convert RGB color to HEX☆121Updated 2 years ago
- Check whether a package or organization name is available on npm☆171Updated last year
- Regular expression for matching reserved filename characters☆50Updated last month
- Make a function mimic another one☆96Updated 11 months ago