sindresorhus / parent-directoriesView external linksLinks
Get an array of parent directories including itself
☆26Nov 7, 2023Updated 2 years ago
Alternatives and similar repositories for parent-directories
Users that are interested in parent-directories are comparing it to the libraries listed below
Sorting:
- Get the email of an npm user☆14Feb 26, 2024Updated last year
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 4 years ago
- Display an error in a GUI dialog☆22May 3, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get the default browser☆28Dec 19, 2023Updated 2 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Open a website in a popup (macOS)☆19Feb 18, 2021Updated 4 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated last year
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated 2 weeks ago
- Simple PhantomJS bridge☆17Jan 24, 2021Updated 5 years ago
- Pick random items from a list☆17Aug 10, 2021Updated 4 years ago
- Convert matching double-quotes to single-quotes: I "love" unicorns → I 'love' unicorns☆27Apr 18, 2021Updated 4 years ago
- Check if a path exists☆26Oct 30, 2023Updated 2 years ago
- Get a GitHub username from an email address☆51Aug 5, 2023Updated 2 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Get the name of the current operating system☆21Feb 2, 2026Updated 2 weeks ago
- utility to create a pretty report for a vfile☆20Jun 15, 2023Updated 2 years ago
- Node.js `os.userInfo()` ponyfill☆33Jan 24, 2021Updated 5 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- Bind all methods in an object to itself or a specified context☆59Apr 19, 2021Updated 4 years ago
- Check whether a binary version satisfies a semver range☆15Apr 3, 2024Updated last year
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Get the package.json of a package from the npm registry☆19Feb 26, 2024Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Find mapcodes in a string☆26Jul 24, 2022Updated 3 years ago
- Remove or replace part of a string like Array#splice☆24Apr 15, 2021Updated 4 years ago
- Count the number of lines in a string☆10Apr 17, 2016Updated 9 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 4 years ago
- Strip leading whitespace from each line in a string☆13Aug 19, 2021Updated 4 years ago
- Get the visual width of a string - the number of columns required to display it☆13Oct 28, 2023Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 8 months ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Strip console, alert, and debugger statements from JavaScript code☆30Nov 29, 2022Updated 3 years ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated 5 months ago
- Control the AnyBar app☆34May 3, 2021Updated 4 years ago