73 points · by jer0me · 4y ago · 22 comments
Not sure if you just consider them "feature complete" or if thats a bad thing (mix of both?) but it does mean most are not written in ES Module syntax, which can bloat bundles potentially
Take, for example, the yargs module. Somehow, a very popular library. Nowhere in the docs does it show a <working> example of how to import it as an ES module.
Worse still, the typescript typings are all wrong. For example: await yargs.parseAsync() shows as valid TS as the typings indicate that is a function. In reality, you get a runtime error because that function simply does not exist on that object. It's a mess and I cannot wait for Deno to become more popular.
function ls_get(k) {
JSON.parse(localStorage.getItem(k))
}
function ls_set(k, v) {
localStorage.setItem(k, JSON.stringify(v))
}Back then we didn’t have bower nor npm. We barely had GitHub. Finding these libraries meant scouring the blogosphere
If I only new a few right now, then jQuery (or jQuery-like lib) will have me covered when the time comes.
jQuery, the VBscript of 2006 (tm).
Also things like fade and animate for when CSS transitions aren't enough and the ability to perform operations on multiple elements without a look are very convenient.