I believe https://github.com/facebook/jscodeshift is trying to be that tool for the typescript/js world. Doesn't have a mod for removing jquery but should be super doable.
this post was submitted on 15 Oct 2024
0 points (NaN% liked)
JavaScript
1982 readers
1 users here now
founded 1 year ago
MODERATORS
I'd give anything for such a tool years ago. Now - j what? ๐
Good for you. However many many people are still stuck with ugly ass slow poorly written jQuery code.
Iโve been out of the game for a few years. What do people use now instead with simple html sites?
A lot of what jQuery provided is built in now. Selectors, AJAX, JSON conversion.
Version 4 is removing those redundant functions to streamline it to just the unique functionality.
HTML, CSS, Javascript. Works like a charm for simple sites, and it's very lightweight. Things've progressed a long way in these vanilla's. ๐