ZL
About Articles Contact
Published on Oct 7, 2020
Filed under:
#javascript

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.

Terminal window
npm install @zellwk/javascript

Why this format?

I prefer publishing JavaScript stuff into one repository instead of splitting them into many small ones because:

  1. It’s easier for me to maintain – everything is in one place
  2. 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.

Previous How to improve without receiving feedback Next Leading Trim is in the works!

Join My Newsletter

I share what I’m learning on this newsletter: code, building businesses, and living well.

Sometimes I write about technical deep-dives, product updates, musings on how to live, and sometimes my struggles and how I’m breaking through.

Regardless of the type of content, I do my best to send you an update every week.

If you’re into making things and growing as a person, you’ll probably feel at home here.

“

Zell’s writing is very accessible to newcomers because he shares his learning experience. He covers current topics and helps all readers level up their web development skills. Must subscribe.

Chen Hui Jing
Chen Hui Jing — Web Developer
The Footer

General

Home About Contact Testimonials Tools I Use

Projects

Magical Dev School Splendid Labz

Socials

Youtube Instagram Tiktok Github Bluesky X

Follow Along

Email RSS
© 2013 - 2025 Zell Liew / All rights reserved / Terms