DEV Community

Cover image for Evaluate and find the cost of adding a npm package with Bundlephobia and Moiva
Javid Mougamadou
Javid Mougamadou

Posted on

Evaluate and find the cost of adding a npm package with Bundlephobia and Moiva

Bundlephobia

Alt Text

Bundlephobia helps you find the performance impact of adding a npm package to your front-end bundle.

Alt Text

Link : https://bundlephobia.com/

Moiva

Alt Text

The goal was to provide developers with a good tool to evaluate and compare npm packages in different dimensions - Popularity, Maintenance, Security, etc.

Alt Text

Link : https://moiva.io/

Discussion (2)

Collapse
valeriavg profile image
Valeria

Nice tools, thank you.

By the way, don't let React fool you, you'd need react-dom as well if you are to use it and it's gigantic:
react-dom with ~40kb gzipped adds 1.3s load

Collapse
okikio profile image
Okiki Ojo

All together both react and react-dom are pretty large,
https://bundle.js.org/?q=react,react-dom&bundle

Image of the react & react-dom bundle