Find the root directory of a Node.js project or npm package
☆29Jun 5, 2025Updated last year
Alternatives and similar repositories for package-directory-cli
Users that are interested in package-directory-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:
- Check if a value is a function☆29May 3, 2021Updated 5 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated last month
- Get user info of an npm user☆33Feb 28, 2024Updated 2 years ago
- Get all emails in a text file or stdin☆26Feb 2, 2026Updated 8 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Sep 18, 2026Updated last month
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 5 years ago
- Check if a path exists☆26Sep 18, 2026Updated last month
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 5 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 5 years ago
- Check whether a binary version satisfies a semver range☆16Apr 3, 2024Updated 2 years ago
- Find a file by walking up parent directories☆44Feb 3, 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.
- Convert matching double-quotes to single-quotes: I "love" unicorns → I 'love' unicorns☆27Apr 18, 2021Updated 5 years ago
- Get your PATH prepended with locally installed binaries☆20Oct 5, 2021Updated 5 years ago
- Escape a string for use in AppleScript☆14Sep 18, 2026Updated last month
- Extract the article title of a HTML document or website☆32Sep 9, 2025Updated last year
- Get the values of an object☆27Jun 21, 2023Updated 3 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Detect the indentation of code☆24Sep 15, 2025Updated last year
- Normalize the newline characters in a string to `\n`☆30Sep 18, 2026Updated last month
- Truncate a semver version: 1.2.3 → 1.2.0☆17Sep 18, 2026Updated last month
- 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.
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 5 years ago
- Get the path of the current directory in Finder (macOS)☆16Apr 15, 2021Updated 5 years ago
- Simple wildcard matching☆33Sep 15, 2025Updated last year
- Get user info from a GitHub username☆24Oct 14, 2021Updated 5 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 5 years ago
- Pick random items from a list☆17Aug 10, 2021Updated 5 years ago
- Left pad each line in a string☆20Sep 18, 2026Updated last month
- Get the PATH environment variable key cross-platform☆46Sep 18, 2026Updated last month
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 5 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆29Aug 9, 2021Updated 5 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆25Nov 22, 2025Updated 11 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated last month
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 5 years ago
- Get the name of the current operating system☆22Feb 2, 2026Updated 8 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 5 years ago