pkg-up reliably finds the nearest package.json upwards from a given directory. It's ideal for CLI tools and libraries needing package metadata. Offering synchronous and asynchronous methods, pkg-up simplifies locating the package manifest, no matter how deeply nested your script execution is within subdirectories. Resolve project root paths effortlessly with this small, dependency-free utility. It supports custom search paths for advanced use-cases.