DEV Community

Discussion on: JS : Do we need Library for simple date formatting? What can you Do ...

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

The bottom line is

Also what more you can do is, you can make a tiny npm package and share it in your team.

So, we might choose to install a tiny npm package from someone else as well, as a tradeoff.

Same as browser fetch and Node.js http.

Collapse
 
nahidmbstu profile image
Nahid Hasan

yes , but that comes with an security risk , you never know what is in the package other people created.