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.
Filtering out components from other code may be tricky. Even if you assume any file ending in .jsx or .tsx is a component it's still possible for those files to export other functions or multiple components. So you have to figure out which exported function is the component. Maybe assume any function starting with a capital letter (e.g. "Component") is a component. You may want to investigate Javascript tokenizers like js-tokens, which will make it easier for you to examine the code inside of each file. But a few regular expressions would work as well.
For the code editing you can use Ace.