package-json-from-dist is a lightweight Node.js utility that retrieves a package.json file directly from the dist directory of a published npm package. This is particularly useful when the main package.json is omitted from the distribution. It fetches the package metadata, parses the JSON, and returns it as a JavaScript object. It's a convenient tool for programmatically inspecting the metadata of distributed npm packages without requiring file system access to the original source repository.
The npm package package-json-from-dist saw infrequent releases. It had one release in May 2024 (v1.0.0) and another in September 2024 (v1.0.1). There have been no releases between October 2024 and August 2025.
The npm package "package-json-from-dist" saw rapid download growth starting May 2024. Downloads soared from thousands to over 163 million by August 2025. The high download rate indicates increased usage. The download numbers are still increasing month by month. Note that August 2025 is not yet complete.