5.1.0 • Published 2 years ago

@spryker-lerna/log-packed v5.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@lerna/log-packed

Log the result of npm pack --json

Extracted from the npm source.

Usage

const execa = require("execa");
const { logPacked } = require("@lerna/log-packed");

execa("npm", ["pack", "--json"]).then(result => {
  const tarballs = JSON.parse(result.stdout);
  tarballs.forEach(logPacked);
});

Install lerna for access to the lerna CLI.