Read a package.json file
☆175Feb 8, 2026Updated last month
Alternatives and similar repositories for read-pkg
Users that are interested in read-pkg are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Read the closest package.json file☆268Nov 7, 2025Updated 4 months ago
- Write a package.json file☆89Sep 11, 2025Updated 6 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Read and parse a JSON file☆248May 17, 2023Updated 2 years ago
- normalizes package metadata, typically found in package.json file.☆204Updated this week
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Get namespaced config from the closest package.json☆120Nov 5, 2023Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆30May 2, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Track the list of currently unhandled promise rejections☆24Nov 27, 2018Updated 7 years ago
- 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
- Exclude certain items from an array☆24Jun 13, 2025Updated 9 months ago
- Find the root directory of a Node.js project or npm package☆252Feb 1, 2026Updated last month
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Check if a given module ID is resolvable with require()☆16Nov 30, 2018Updated 7 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 6 months ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 6 months ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 3 years ago
- Add AVA to your project☆15Jan 24, 2021Updated 5 years ago
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated last year
- Check if a path is inside another path☆40Sep 11, 2025Updated 6 months ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Find a file or directory by walking up parent directories☆635Sep 16, 2025Updated 6 months ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 6 months ago