sindresorhus / os-nameLinks
Get the name of the current operating system. Example: macOS Sierra
☆148Updated 7 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☆96Updated 4 years ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Check if your package was installed globally☆71Updated 2 years ago
- Copy a file☆122Updated 4 months ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆46Updated 4 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 4 months ago
- Filter object keys and values into a new object☆105Updated last year
- Boxes for use in the terminal☆105Updated last year
- A response-like object for mocking a Node.js HTTP response stream☆37Updated 3 months ago
- Parse milliseconds into an object☆124Updated last year
- Easily handle defaults for your options☆76Updated 2 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Check whether a package or organization name is available on npm☆171Updated last year
- Check if the process is running with elevated privileges☆43Updated 4 years 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 3 years ago
- Convert a value to an array☆133Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Sort the keys of an object☆107Updated 4 months ago
- Check if a string is a valid filename☆62Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Ponyfill for Error#captureStackTrace☆63Updated 3 years ago
- Get the latest version of an npm package☆175Updated last year
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Write a package.json file☆89Updated 4 months ago
- Check if a process is running☆61Updated 4 years ago
- Toggle the CLI cursor☆113Updated last year
- Get the hash of an object☆139Updated 2 years ago
- Strip leading whitespace from each line in a string☆144Updated 3 months ago