sindresorhus / os-nameLinks
Get the name of the current operating system. Example: macOS Sierra
☆148Updated 8 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 4 months ago
- Get the real path of the system temp directory☆85Updated 3 years ago
- Boxes for use in the terminal☆106Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 4 months ago
- Check if your package was installed globally☆71Updated 2 years ago
- Parse milliseconds into an object☆124Updated last year
- Write a package.json file☆89Updated 4 months ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆46Updated 4 months ago
- Filter object keys and values into a new object☆105Updated last year
- Check if argv has a specific flag☆96Updated 4 years ago
- Get the latest version of an npm package☆176Updated last year
- Easily handle defaults for your options☆76Updated 2 years ago
- Sort the keys of an object☆108Updated 5 months ago
- Get the hash of an object☆141Updated 2 years ago
- Block the main thread for a given amount of time☆128Updated last week
- Check if a string matches the name of a Node.js builtin module☆63Updated 11 months ago
- Copy a file☆123Updated 5 months ago
- Check whether a package or organization name is available on npm☆172Updated last year
- Check if a string or buffer is SVG☆143Updated 6 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆171Updated 3 weeks ago
- Make a function mimic another one☆96Updated last year
- Detect whether the terminal supports Unicode☆87Updated last year
- Move a file, directory, or symlink - Even works across devices☆205Updated last week
- Check if a string is a valid filename☆62Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Generate a random integer☆89Updated 4 months ago
- Convert a value to an array☆133Updated 4 years ago
- Randomize the order of items in an array☆110Updated 4 months ago
- Check if a process is running☆61Updated 4 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago