sindresorhus / package-configView external linksLinks
Get namespaced config from the closest package.json
☆121Nov 5, 2023Updated 2 years ago
Alternatives and similar repositories for package-config
Users that are interested in package-config are comparing it to the libraries listed below
Sorting:
- Read the closest package.json file☆268Nov 7, 2025Updated 3 months ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Read a package.json file☆175Updated this week
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Write a package.json file☆89Sep 11, 2025Updated 5 months ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 4 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Simple cache config handling for your app or module☆21Sep 14, 2017Updated 8 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Read and parse a JSON file☆247May 17, 2023Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆86Sep 15, 2025Updated 4 months ago
- Add AVA to your project☆15Jan 24, 2021Updated 5 years ago
- Ensure a function is only called once☆165Feb 2, 2026Updated last week
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Lax URL parsing with support for protocol-less URLs and IPs☆55Sep 7, 2025Updated 5 months ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 8 months ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Regular expression for matching issue references☆49Sep 26, 2024Updated last year
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Get the latest stable semver version from an array of versions☆47Oct 17, 2021Updated 4 years ago
- Resolve the path of a module like require.resolve() but from a given path☆144Jan 23, 2021Updated 5 years ago
- Make unhandled promise rejections fail loudly instead of the default silent fail☆282Jan 24, 2021Updated 5 years ago
- Import a module like with `require()` but from a given path☆86Jul 8, 2022Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆204Jan 21, 2026Updated 3 weeks ago
- Run promise-returning & async functions in series☆71Aug 12, 2021Updated 4 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Sep 15, 2025Updated 4 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Move a file, directory, or symlink - Even works across devices☆205Jan 25, 2026Updated 2 weeks ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Resolve the path of a package regardless of it having an entry point☆55Updated this week
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 5 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Feb 19, 2023Updated 2 years ago
- Resolve the path of a globally installed module☆42Nov 6, 2023Updated 2 years ago
- Get the name of a Windows version from the release number: 5.1.2600 → XP☆47Feb 2, 2026Updated last week
- Write data to a random temporary file☆108Jan 25, 2026Updated 2 weeks ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year