Adding a dependency is easy, removing it later is what hurts. Bundlephobia shows the price up front: minified size, minified plus gzip, and an estimated download time on slow 3G. It is the number to bring to the table when someone suggests a whole date library to format one string.
Exports analysis is the most useful part when it is available: it shows the weight of each export on its own, which tells you whether importing a single function drags in the whole package. It only appears for packages that ship ES Modules. You can also scan an entire package.json, a feature the site labels as beta.
The limit is that the number describes the package in isolation. If it shares dependencies with what you already ship, the real cost is lower; if your bundler does not tree shake, it is higher. Use it to compare alternatives, then confirm in your own build report.