Check if a path is a file, directory, or symlink
☆82Sep 18, 2026Updated 2 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:
- Check if a path is the current working directory☆23Sep 18, 2026Updated 2 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Check if a path is inside another path☆41Sep 18, 2026Updated 2 months ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 2 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 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.
- Regular expression for matching a shebang line☆48Sep 18, 2026Updated 2 months ago
- DES for browserify☆10Dec 21, 2024Updated last year
- Get the directory of globally installed packages and binaries☆78Sep 18, 2026Updated 2 months ago
- Check if a file path is a binary file☆50Sep 18, 2026Updated 2 months ago
- Check if an object can be used like an Array☆18Sep 13, 2025Updated last year
- Resolve the path of a globally installed module☆43Sep 18, 2026Updated 2 months ago
- Repeat a string - fast☆35Sep 18, 2026Updated 2 months ago
- Gracefully restore the CLI cursor on exit☆43Sep 18, 2026Updated 2 months ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 2 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated 2 years ago
- Strip the final newline character from a string/buffer☆39Sep 18, 2026Updated 2 months ago
- Strip redundant indentation and indent the string☆56Sep 18, 2026Updated 2 months ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated 2 months ago
- Get the first path that exists on disk of multiple paths☆65Sep 18, 2026Updated 2 months ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Sep 18, 2026Updated 2 months 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.
- Minimal module to check if a file is executable.☆53Feb 9, 2026Updated 9 months ago
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated 2 months ago
- Create an array of unique values, in order, from the input arrays☆79Sep 18, 2026Updated 2 months ago
- ES2015 `Array#findIndex()` ponyfill☆33Sep 18, 2026Updated 2 months ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Jul 13, 2017Updated 9 years ago
- ☆19Dec 21, 2024Updated last year
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated 2 months 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.
- Get your PATH prepended with locally installed binaries☆110Sep 18, 2026Updated 2 months ago
- Iterator abstraction as specified in ECMAScript6☆20Jun 30, 2021Updated 5 years ago
- Center-align the text in a string.☆23May 26, 2017Updated 9 years ago
- Create a vinyl file or stream from a buffer☆13Oct 17, 2017Updated 9 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆27Updated this week
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated 2 months ago
- Check if a string matches the name of a Node.js builtin module☆63Sep 18, 2026Updated 2 months ago
Are these results useful?