Get the UTI (Uniform Type Identifier) of a file on macOS
MIT License
Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari
Detect the dominant newline character
Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari
Open the URL from a web shortcut file in the browser
Get the path of the current directory in Finder (macOS) and Explorer (Windows)
Pad stdout and stderr
Detect the indentation of code
Get the path of the current directory in Finder (macOS)
Get the revved file path of a file
Check if an app exists on macOS
Get file metadata using `mdls` on macOS
Get the path to an app (macOS)