Useful utilities for working with Fetch
リポジトリ
sindresorhus のリポジトリ
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
Returns an array filled with the specified input
Filter out unwanted `console.log()` output
Filter object keys and values into a new object
Finds the common standard cache directory
Find a file or directory by walking up parent directories
Find a file by walking up parent directories