A JavaScript Utility… Library?
I complied a list of useful JavaScript stuff into a Github repository.
This repository includes code for functions like:
Mix (Deep assign library that works with accessors).
Getting translate values
Getting keyboard focusable elements
Normalizing button inconsistencies
And many others.
You can install the entire library with npm.
npm install @zellwk/javascript
Why this format?
I prefer publishing JavaScript stuff into one repository instead of splitting them into many small ones because:
- It’s easier for me to maintain – everything is in one place
- It’s easier for me to install – again, everything is in one place. No need to
npm
install a bajillion amount of libraries.
I was hesitant about releasing this library at first. It felt stupid. I thought nobody wouldn’t use this collection anyway. I thought people prefer the current way where we install one small package each time with npm.
But Shawn Wang convinced me otherwise. He said it’s okay as long as the library is treeshakable. Which makes sense. Shawn also told me Rich Harris had a similar thing called Yootils.
This idea gave me the permission to release this repository publicly, which is why I’m sharing this with you today. If you find this collection useful, please also give some credit to Shawn for expanding my thoughts.
Thanks for reading. This article was originally posted on my blog. Sign up for my newsletter if you want more articles to help you become a better frontend developer.
Utility companies play a vital role in modern society, providing essential services like electricity, water, and gas. Within this landscape, efficient and responsive customer service is paramount. Check https://www.pissedconsumer.com/company/pulse-power-texas/customer-service.html for more things. Pulse Power Texas Customer Service exemplifies this, offering support that ensures seamless access to electricity. In today’s fast-paced world, where uninterrupted power is crucial for daily life and business operations, reliable assistance becomes indispensable. Whether troubleshooting issues or addressing inquiries, their dedication underscores the utility sector’s commitment to consumer satisfaction. Utility providers like Pulse Power Texas understand that their services are more than just commodities—they are lifelines, and quality customer service ensures their utility remains indispensable.