sindresorhus / os-nameLinks
Get the name of the current operating system. Example: macOS Sierra
☆149Updated 3 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
- Get the real path of the system temp directory☆81Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Wordwrap a string with ANSI escape codes☆127Updated last year
- Filter object keys and values into a new object☆103Updated last year
- Check whether a package or organization name is available on npm☆171Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Copy a file☆121Updated last week
- Convert a value to an array☆129Updated 3 years ago
- Parse milliseconds into an object☆119Updated last year
- Boxes for use in the terminal☆101Updated last year
- Easily handle defaults for your options☆75Updated last year
- Check if a process is running☆58Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- 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
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago
- Write a package.json file☆88Updated last year
- Get the hash of an object☆137Updated last year
- Toggle the CLI cursor☆111Updated last year
- Regular expression for matching issue references☆49Updated 10 months ago
- Make a function mimic another one☆95Updated 9 months ago
- Get the latest version of an npm package☆176Updated last year
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆45Updated 3 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- A response-like object for mocking a Node.js HTTP response stream☆36Updated 2 years ago
- Check if a string is a valid filename☆62Updated 4 years ago
- Move a file - Even works across devices☆201Updated last year
- Import all modules in a directory☆137Updated 2 years ago