statgrab
Grabs your stats.json
.
Particularly useful when used with webpack, which has plugins like stats-webpack-plugin and webpack-stats-plugin for exporting the stats of the build. If stats.json
includes any errors
or warnings
, it will log those to the console.
Usage
const statgrab = require("statgrab")
statgrab((stats) => console.log(stats))
or
require("statgrab/do")
License
This package is licensed under ISC.