Detect the file type of a file or stdin
☆90Nov 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 9 months ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆23Aug 12, 2021Updated 5 years ago
- ES2015 Math.acosh() ponyfill☆14Apr 7, 2021Updated 5 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 5 years ago
- Get the fullname of the current user☆15Mar 12, 2024Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 5 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated 2 months ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 3 years ago
- Modify the filename in a path☆17Sep 18, 2026Updated 2 months ago
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 5 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 5 years ago
- Get user info of an npm user☆33Feb 28, 2024Updated 2 years ago
- Parse text columns, like the output of unix commands. Returns JSON that you can manipulate with tools like jq or underscore-cli.☆71Nov 4, 2021Updated 5 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 5 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Extract the article title of a HTML document☆59Sep 9, 2025Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated 2 months ago
- Find a file by walking up parent directories☆44Feb 3, 2024Updated 2 years ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 5 years ago
- Measure the difference between two strings using the Levenshtein distance algorithm☆46Aug 10, 2021Updated 5 years ago
- Check if your code is running in a JXA environment☆34Sep 18, 2021Updated 5 years ago
- Get the path of the current directory in Finder (macOS)☆17Apr 15, 2021Updated 5 years ago
- Convert matching double-quotes to single-quotes: I "love" unicorns → I 'love' unicorns☆27Apr 18, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated 2 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Check if a file path is an archive file☆15Apr 30, 2024Updated 2 years ago
- Pick random items from a list☆17Aug 10, 2021Updated 5 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Aug 10, 2021Updated 5 years ago
- [DEPRECATED] Promisify a result-first callback function.☆10Jun 5, 2017Updated 9 years ago
- A safer `.hasOwnProperty()`☆29Sep 18, 2026Updated 2 months ago
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 5 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Check if a value is a regular expression☆26Sep 18, 2026Updated 2 months ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 5 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Strip a path from a path☆18Aug 18, 2021Updated 5 years ago
- Get the number of days in a month☆27Oct 18, 2021Updated 5 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆29Aug 9, 2021Updated 5 years ago
- Check if a Buffer/Uint8Array is a WebP image☆22Sep 18, 2021Updated 5 years ago
- Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari☆19Aug 9, 2021Updated 5 years ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆123May 2, 2024Updated 2 years ago
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 5 years ago
Are these results useful?