Check if a path is a file, directory, or symlink
☆81Sep 18, 2026Updated 3 weeks ago
Alternatives and similar repositories for path-type
Users that are interested in path-type 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 the directory of globally installed packages and binaries☆78Sep 18, 2026Updated 3 weeks ago
- Check if a file path is a binary file☆49Sep 18, 2026Updated 3 weeks ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Check if a path is the current working directory☆22Sep 18, 2026Updated 3 weeks ago
- Resolve the path of a globally installed module☆43Sep 18, 2026Updated 3 weeks 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.
- Node.js 0.12 path.isAbsolute() ponyfill☆42Jan 24, 2021Updated 5 years ago
- Check if a path is inside another path☆40Sep 18, 2026Updated 3 weeks ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 3 weeks ago
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 3 weeks ago
- Repeat a string - fast☆35Sep 18, 2026Updated 3 weeks ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Sep 18, 2026Updated 3 weeks ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 3 weeks ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated 3 weeks ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆51Sep 18, 2026Updated 3 weeks ago
- Trim newlines from the start and/or end of a string☆49Sep 18, 2026Updated 3 weeks ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated 3 weeks ago
- Strip redundant indentation and indent the string☆55Sep 18, 2026Updated 3 weeks ago
- Get the first path that exists on disk of multiple paths☆64Sep 18, 2026Updated 3 weeks ago
- Get your PATH prepended with locally installed binaries☆108Sep 18, 2026Updated 3 weeks ago
- Check if a string matches the name of a Node.js builtin module☆62Sep 18, 2026Updated 3 weeks ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Check if a value is a plain object☆106Sep 18, 2026Updated 3 weeks ago
- Gracefully restore the CLI cursor on exit☆41Sep 18, 2026Updated 3 weeks ago
- Strip the final newline character from a string/buffer☆37Sep 18, 2026Updated 3 weeks ago
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 8 months ago
- Start a promise chain☆62Sep 18, 2026Updated 3 weeks ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆25Nov 22, 2025Updated 10 months ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 5 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆36Jan 24, 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.
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated 3 weeks ago
- Iterator abstraction as specified in ECMAScript6☆19Jun 30, 2021Updated 5 years ago
- Create an array of unique values, in order, from the input arrays☆79Sep 18, 2026Updated 3 weeks ago
- ☆19Dec 21, 2024Updated last year
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated 3 weeks ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 18, 2026Updated 3 weeks ago
- Minimal module to check if a file is executable.☆52Feb 9, 2026Updated 8 months ago