sindresorhus / os-nameLinks
Get the name of the current operating system. Example: macOS Sierra
☆148Updated 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:
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆128Updated last year
- Check if argv has a specific flag☆93Updated 4 years ago
- Get the real path of the system temp directory☆81Updated 2 years ago
- Check whether a package or organization name is available on npm☆171Updated last year
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆45Updated 3 months ago
- Filter object keys and values into a new object☆104Updated last year
- Copy a file☆121Updated 3 weeks ago
- Check if your package was installed globally☆70Updated last year
- Convert a value to an array☆129Updated 3 years ago
- Parse milliseconds into an object☆119Updated last year
- Easily handle defaults for your options☆75Updated last year
- Boxes for use in the terminal☆102Updated last year
- Get the latest version of an npm package☆176Updated last year
- Get the hash of an object☆137Updated last year
- Check if a string matches the name of a Node.js builtin module☆61Updated 6 months ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Toggle the CLI cursor☆111Updated last year
- Write a package.json file☆88Updated last year
- Convert RGB color to HEX☆119Updated 2 years ago
- Check if a string is a valid filename☆62Updated 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 2 years ago
- Randomize the order of items in an array☆106Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if stdout or stderr is interactive☆116Updated last year
- A response-like object for mocking a Node.js HTTP response stream☆36Updated 2 years ago
- Sort the keys of an object☆104Updated 2 weeks ago
- Generate a unique random string☆85Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago