tooling/util/package.js
async function read(packageName) {
  const packagePath = path.join(cwd, packageName, 'package.json');

  return JSON.parse(await fs.readFile(packagePath));
}
async function read(packageName) {
  const packagePath = path.join(cwd, packageName, 'package.json');

  return JSON.parse(await fs.readFile(packagePath));
}
async function read ( packageName ) { const packagePath = path . join ( cwd , packageName , 'package.json' ) ; return JSON . parse ( await fs . readFile ( packagePath ) ) ; }
Reads a package.json into an object
@param {string} packageName
@returns {Promise<Object>}
Reads a package . json into an object