I'm wondering if such a library exists, where the library contains only a collection of common utility functions such as
indexOf (for arrays),
typeOf and so on...
I'm fond of underscore.js; it doesn't provide string utilities such as
jQuery provides all of those and many more, you would be better off just using it.
jQuery can sit side-by-side with other frameworks, so can be independent if another framework is present.
After that investigate frameworks, or at least being looking into how you can create your own framework for your functions (as opposed to copying and pasting). Here the module pattern would be helpful to you.
©2020 All rights reserved.