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 butt…


This content originally appeared on Zell Liew and was authored by Zell Liew

I complied a list of useful JavaScript stuff into a Github repository.

This repository includes code for functions like:

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:

  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.


This content originally appeared on Zell Liew and was authored by Zell Liew


Print Share Comment Cite Upload Translate Updates
APA

Zell Liew | Sciencx (2020-10-07T00:00:00+00:00) A JavaScript Utility… Library?. Retrieved from https://www.scien.cx/2020/10/07/a-javascript-utility-library/

MLA
" » A JavaScript Utility… Library?." Zell Liew | Sciencx - Wednesday October 7, 2020, https://www.scien.cx/2020/10/07/a-javascript-utility-library/
HARVARD
Zell Liew | Sciencx Wednesday October 7, 2020 » A JavaScript Utility… Library?., viewed ,<https://www.scien.cx/2020/10/07/a-javascript-utility-library/>
VANCOUVER
Zell Liew | Sciencx - » A JavaScript Utility… Library?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/10/07/a-javascript-utility-library/
CHICAGO
" » A JavaScript Utility… Library?." Zell Liew | Sciencx - Accessed . https://www.scien.cx/2020/10/07/a-javascript-utility-library/
IEEE
" » A JavaScript Utility… Library?." Zell Liew | Sciencx [Online]. Available: https://www.scien.cx/2020/10/07/a-javascript-utility-library/. [Accessed: ]
rf:citation
» A JavaScript Utility… Library? | Zell Liew | Sciencx | https://www.scien.cx/2020/10/07/a-javascript-utility-library/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.