Check if a path is a file, directory, or symlink
☆81Feb 2, 2026Updated 6 months 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☆78Feb 2, 2026Updated 6 months ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated 2 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated last year
- Resolve the path of a globally installed module☆43Nov 6, 2023Updated 2 years 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.
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 11 months ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 5 years ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 5 years ago
- Repeat a string - fast☆35May 3, 2021Updated 5 years 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☆25Jul 9, 2022Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 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.
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 11 months ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 11 months ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 11 months ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- Get the first path that exists on disk of multiple paths☆64Sep 15, 2025Updated 11 months ago
- Get your PATH prepended with locally installed binaries☆110Oct 28, 2024Updated last year
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated last year
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Check if a value is a plain object☆106May 4, 2024Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated 2 years ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 6 months ago
- Start a promise chain☆62Sep 16, 2025Updated 11 months ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆25Nov 22, 2025Updated 9 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☆37Jan 24, 2021Updated 5 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Truncate a semver version: 1.2.3 → 1.2.0☆17Jul 9, 2022Updated 4 years 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☆79Mar 1, 2021Updated 5 years ago
- ☆19Dec 21, 2024Updated last year
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 11 months ago
- Minimal module to check if a file is executable.☆52Feb 9, 2026Updated 6 months ago