Get the path to this package - Useful for testing
☆22Aug 9, 2021Updated 4 years ago
Alternatives and similar repositories for self-path
Users that are interested in self-path are comparing it to the libraries listed below
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Repeat text☆17May 3, 2021Updated 4 years ago
- Try to downgrade the permissions of a process with root privileges☆17Aug 31, 2023Updated 2 years ago
- Break out of a promise chain☆24Apr 7, 2021Updated 4 years ago
- Get the terminal window size on Windows☆13Nov 4, 2023Updated 2 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last month
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated last year
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated last month
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- [DEPRECATED] Kap plugin - Copy GIFs to clipboard☆15Jul 7, 2020Updated 5 years ago
- Get your public IP address☆27Sep 15, 2025Updated 5 months ago
- List of Markdown file extensions☆21Aug 5, 2023Updated 2 years ago
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 4 years ago
- Get the package.json of a package from the npm registry☆19Feb 26, 2024Updated 2 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 3 months ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Get or check the current macOS version☆62Aug 12, 2021Updated 4 years ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 8 months ago
- Get the macOS version of the current system☆23Sep 9, 2025Updated 5 months ago
- Strip UTF-8 byte order mark (BOM)☆22Sep 15, 2025Updated 5 months ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 3 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 5 months ago
- Resolve the path of a globally installed module☆42Nov 6, 2023Updated 2 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Get the $PATH from the shell☆79Aug 21, 2025Updated 6 months ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Get your internal IP address☆72Feb 2, 2026Updated last month
- Check if a string is a valid filename☆62Aug 16, 2021Updated 4 years ago
- Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.☆45Jun 24, 2022Updated 3 years ago
- A better `Promise.race()`☆51Dec 13, 2022Updated 3 years ago
- Convert matching double-quotes to single-quotes: I "love" unicorns → I 'love' unicorns☆27Apr 18, 2021Updated 4 years ago