Modern JavaScript is pretty good, but typing `document.querySelector()` is a pain. This is a tiny library that makes DOM manipulation easy. jQuery is around 30kb, while this is only around 3.5kb. Lots of JSDoc comments so it's self-documenting and works great with TypeScript.
This library was kind of useless before as you couldn't do things over time. Now, the chains automatically handle asynchronous tasks by maintaining internal queues. Each queue operates independently of each other.
I also added error handling which was basically non-existent before. Currently, it just throws the error and logs it to the console, but if you want to do anything else you can use the new setErrorHandler export.
This library was kind of useless before as you couldn't do things over time. Now, the chains automatically handle asynchronous tasks by maintaining internal queues. Each queue operates independently of each other.
I also added error handling which was basically non-existent before. Currently, it just throws the error and logs it to the console, but if you want to do anything else you can use the new
setErrorHandler
export.