Publishing First npm Package

Why to reinvent the wheel ?
Lots of good things are built in the world. If we can use them, why to re-create them every time? We should use those things to create something new.
The same logic is applicable in front end development as well. Whenever we work on any front end project, we use lots of third-party npm
packages for various purposes.