Read a package.json file
☆175Feb 8, 2026Updated 3 weeks ago
Alternatives and similar repositories for read-pkg
Users that are interested in read-pkg are comparing it to the libraries listed below
Sorting:
- Write a package.json file☆89Sep 11, 2025Updated 5 months ago
- Read the closest package.json file☆268Nov 7, 2025Updated 3 months ago
- Read and parse a JSON file☆248May 17, 2023Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- normalizes package metadata, typically found in package.json file.☆204Jan 21, 2026Updated last month
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Find the root directory of a Node.js project or npm package☆251Feb 1, 2026Updated last month
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Track the list of currently unhandled promise rejections☆24Nov 27, 2018Updated 7 years ago
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Find a file or directory by walking up parent directories☆634Sep 16, 2025Updated 5 months ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Decompress a HTTP response if needed☆75Oct 13, 2025Updated 4 months ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 2 years ago
- Indent each line in a string☆115Jun 5, 2022Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated last year