Detect the file type of a file or stdin
☆86Nov 24, 2021Updated 4 years ago
Alternatives and similar repositories for file-type-cli
Users that are interested in file-type-cli are comparing it to the libraries listed below
Sorting:
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 4 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Get the fullname of the current user☆15Mar 12, 2024Updated last year
- Find a file by walking up parent directories☆45Feb 3, 2024Updated 2 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated 3 weeks ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆23Aug 12, 2021Updated 4 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Extract the article title of a HTML document☆56Sep 9, 2025Updated 5 months ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 4 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Measure the difference between two strings using the Levenshtein distance algorithm☆48Aug 10, 2021Updated 4 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Aug 10, 2021Updated 4 years ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Parse text columns, like the output of unix commands. Returns JSON that you can manipulate with tools like jq or underscore-cli.☆68Nov 4, 2021Updated 4 years ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Check if your code is running in a JXA environment☆32Sep 18, 2021Updated 4 years ago
- Check if a year is a leap year☆21Apr 7, 2021Updated 4 years ago
- Check if a file path is a compressed file☆19Apr 30, 2024Updated last year
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆18Aug 9, 2021Updated 4 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 3 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- List of compressed file extensions☆16Apr 30, 2024Updated last year
- Get the path to an app (macOS)☆48May 3, 2021Updated 4 years ago