// src/lib/parsedPackageJson.ts
import { readFileSync } from "node:fs";
var parsedPackageJSON = (path) => {
  const pathToPackageJSON = path ?? process.env.npm_package_json ?? "";
  const packageJSON = readFileSync(pathToPackageJSON).toString();
  return JSON.parse(packageJSON);
};
export {
  parsedPackageJSON
};
//# sourceMappingURL=parsedPackageJson.mjs.map
