npm_bundle_size
Estimate the bundle size of any npm package before integrating it. Retrieve minified and gzipped sizes along with dependency count to identify potential performance impacts.
Instructions
Estimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, and dependency count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Specific version to check (optional, defaults to latest) | |
| package_name | Yes | npm package name (e.g. 'lodash') |