SaaSHub helps you find the best software and product alternatives Learn more →
Top 12 TypeScript Codemod Projects
-
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.
-
flow-to-typescript-codemod
Codemod Stripe used to migrate 6.5m+ lines of code from Flow to TypeScript
-
astx
Super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring
-
eslint-plugin-prefer-arrow-functions
Auto-fix plain Functions into Arrow Functions, in all cases where conversion would result in the same behaviour
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
jscodeshift-react-i18next
jscodeshift transform that aims to extract hardocded strings in React applications
Project mention: How to Do a TypeScript Conversion: an opinionated take on gradual conversions | news.ycombinator.com | 2023-11-04Airbnb converted many millions of lines gradually using automation and wrote about it:
https://medium.com/airbnb-engineering/ts-migrate-a-tool-for-...
And also open sourced the tooling:
https://github.com/airbnb/ts-migrate
Project mention: Leaving LinkedIn: Choosing Engineering Excellence over Expediency | news.ycombinator.com | 2024-03-05It's funny you say that because as someone in the large scale bubble when I read 2 million lines that didn't seem that large. Other companies of similar size are dealing with 5-10x larger web apps.
Ex. https://stripe.com/blog/migrating-to-typescript
Which talks about 3.7m lines at Stripe.
I prefer to set a standard for function declarations, so require use of arrow functions with an implicit return if possible. prefer-arrow-functions can do this for us, noting we also need to override some default ESLint rules:
Project mention: I made a tool that converts CJS to MJS in TypeScript projects | /r/typescript | 2023-11-02
Project mention: [AskJS] Can anyone recommend a test runner with ESM and Custom Loader Support? | /r/javascript | 2023-06-11OP: If this is an avenue you feel like entertaining, here are some nice codemod tools that could ease the transition for you: CodeQue, Subsecond, and the old standard jscodeshift.
TypeScript Codemod related posts
-
Leaving LinkedIn: Choosing Engineering Excellence over Expediency
-
Migrating Lines of Code to TypeScript
-
How to Do a TypeScript Conversion: an opinionated take on gradual conversions
-
I made a tool that converts CJS to MJS in TypeScript projects
-
Why I quit open source
-
[AskJS] Can anyone recommend a test runner with ESM and Custom Loader Support?
-
[AskJS] Are there any tools to help automatically update imports when splitting typescript libraries in a Monorepo?
-
A note from our sponsor - SaaSHub
www.saashub.com | 4 May 2024
Index
What are some of the best open-source Codemod projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | ts-migrate | 5,310 |
2 | jest-codemods | 868 |
3 | flow-to-typescript-codemod | 663 |
4 | js-assistant | 115 |
5 | astx | 85 |
6 | ember-native-class-codemod | 66 |
7 | eslint-plugin-prefer-arrow-functions | 38 |
8 | ts2esm | 30 |
9 | css-modules-to-tailwind | 28 |
10 | Subsecond | 18 |
11 | ember-no-implicit-this-codemod | 16 |
12 | jscodeshift-react-i18next | 3 |
Sponsored