sindresorhus / macos-release
Get the name and version of a macOS release from the Darwin version
☆62Updated last month
Related projects: ⓘ
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Get the path to an app (macOS)☆63Updated 2 years ago
- Get environment variables from the shell☆79Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated 11 months ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆40Updated 3 months ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- Extract the article title of a HTML document☆53Updated 2 years ago
- Check if a path is inside another path☆37Updated 2 years ago
- Check if a file path is a binary file☆41Updated 4 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated 10 months ago
- Get or check the current macOS version☆62Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if your code is running in a JXA environment☆31Updated 3 years ago
- Get a Gravatar image from an identifier, such as an email☆40Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆60Updated 5 months ago
- Check if your package was installed globally☆70Updated 10 months ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Regular expression for matching issue references☆48Updated last week
- Simple wildcard matching☆34Updated 2 years ago
- Get the default browser☆54Updated 8 months ago
- Strip the final newline character from a string/buffer☆33Updated 4 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- Gracefully restore the CLI cursor on exit☆34Updated last month
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆57Updated 2 weeks ago
- Exit the process when the `esc` key is pressed☆57Updated 9 months ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago