Find multiple RegExp matches in a string
Repositories
sindresorhus repositories
Run some code when the process exits
ES2015 Math.expm1() ponyfill
Manage extended attributes in Swift
Extract the actual stack of an error
Test your download and upload speed using fast.com
Useful utilities for working with Fetch
Unicode symbols with fallbacks for older terminals
Get the icon of a file or app as a PNG image (macOS)
Get the icon of a file or app as a PNG image (macOS)
Get file metadata using `mdls` on macOS
Detect the file type of a file, stream, or data
Detect the file type of a file or stdin
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Get the UTI (Uniform Type Identifier) of a file on macOS
Regular expression for matching reserved filename characters
Convert a string to a valid safe filename
Convert a string to a valid safe filename on the command-line
Convert a URL to a valid filename