|
%!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
lib | %!s(int64=2) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos |
@lerna/log-packed
Log the result of npm pack --json
Extracted from the npm source.
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.