pkg-lookup
is a simple CLI tool to help get details on NPM packages.
yarn global add pkg-lookup
# or
npm install -g pkg-lookup
The easiest way to use pkg-lookup is via npx
, the below command will return a short summary of the package, including is size (minifed and gzipped).
npx pkg-lookup react