sindresorhus / read-package-upView external linksLinks
Read the closest package.json file
☆268Nov 7, 2025Updated 3 months ago
Alternatives and similar repositories for read-package-up
Users that are interested in read-package-up are comparing it to the libraries listed below
Sorting:
- Read a package.json file☆175Updated this week
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Indent each line in a string☆115Jun 5, 2022Updated 3 years ago
- Find the closest package.json file☆166Jun 5, 2025Updated 8 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Find a file or directory by walking up parent directories☆634Sep 16, 2025Updated 4 months ago
- normalizes package metadata, typically found in package.json file.☆204Jan 21, 2026Updated 3 weeks ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆107Oct 28, 2024Updated last year
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if a path exists☆155Mar 3, 2022Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated 11 months ago
- Find the root directory of a Node.js project or npm package☆251Feb 1, 2026Updated last week
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Write a package.json file☆89Sep 11, 2025Updated 5 months ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Check if a value is a plain object☆104May 4, 2024Updated last year
- Read and parse a JSON file☆247May 17, 2023Updated 2 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Center-align the text in a string.☆23May 26, 2017Updated 8 years ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 5 months ago
- Get the first path that exists on disk of multiple paths☆62Sep 15, 2025Updated 4 months ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Sep 11, 2025Updated 5 months ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Make a directory and its parents if needed - Think `mkdir -p`☆477Sep 10, 2025Updated 5 months ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Strip leading whitespace from each line in a string☆145Oct 12, 2025Updated 4 months ago