Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Someone posted a really ergonomic one here a few months ago inspired by the jQuery API (don't knock it, it works well for ASTs): Subsecond.
If that isn't enough or you find issues with it, the current de-facto standard for codemods is jscodeshift. You'll write more code, but at least you only have to write it once.
I've found https://github.com/davidmfoley/node-trucker to be brilliant for things like this, I use it to move the files and it updates all the imports.
Related posts
- How to Do a TypeScript Conversion: an opinionated take on gradual conversions
- [AskJS] Can anyone recommend a test runner with ESM and Custom Loader Support?
- Declaring static json imported "as const"
- How We Migrated from Javascript and Flow to TypeScript at Osome
- Should a team of one (me) with some TS experience attempt to refactor a mid-size fullstack app (React & Node) to TypeScript?