How to create tiny JS npm libraries

Reading

https://kelin2025.medium.com/writing-js-libraries-less-than-1tb-size-6342da0c006a https://nolanlawson.com/2021/02/23/javascript-performance-beyond-bundle-size/

https://www.bugsnag.com/blog/how-to-make-your-js-bundle-small/