ts-migrate
flow-to-typescript-codemod
Our great sponsors
ts-migrate | flow-to-typescript-codemod | |
---|---|---|
15 | 4 | |
5,301 | 660 | |
0.4% | 1.5% | |
4.6 | 0.0 | |
6 months ago | 12 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ts-migrate
-
How to Do a TypeScript Conversion: an opinionated take on gradual conversions
Airbnb 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
-
Declaring static json imported "as const"
Are you migrating with ts-migrate?
-
A Comparison of Node.js Environment Managers
When you migrate your entire project over to TypeScript, errors like "undefined is not a function", syntax errors, or reference errors should no longer exist in your codebase. Thankfully, this is not as daunting as it sounds. Migrating your entire Node.js application to TypeScript can be done incrementally so that you can start reaping the rewards immediately in crucial parts of the codebase. You can also adopt a tool like ts-migrate if you intend to perform the migration in one go.
-
How We Migrated from Javascript and Flow to TypeScript at Osome
Flow to ts — helps to produce raw migration from Flow to TS files and reduces monkey job. TS migrate — helps convert JS files to Typescript files. A great introduction can be found here.
- Should a team of one (me) with some TS experience attempt to refactor a mid-size fullstack app (React & Node) to TypeScript?
-
The Best Integration Testing Library for Serverless Projects Now Supports Typescript!
💡 I typed it using ts-migrate ts-migrate is a tool I strongly recommend. It's been developed by Airbnb to help to migrate easily JavaScript projects to TypeScript.
-
Should I migrate to TS?
When you decide to migrate, I recommend checking https://github.com/airbnb/ts-migrate may speed few migration steps (but it wont solve missing types/interfaces)
-
How to Overcome Your TypeScriptoPhobia
You can use AirBnb's ts-migrate tool or try a more direct tactic following the Migrating from JavaScript guide.
-
[AskJS] Would a Javascript to Typescript Converter Be Useful?
Take a look at https://github.com/airbnb/ts-migrate
-
A Comprehensive Guide To Error Handling In Node.js
When you migrate your entire project over to TypeScript, errors like "undefined is not a function", syntax errors, or reference errors should no longer exist in your codebase. Thankfully, this is not as daunting as it sounds. Migrating your entire Node.js application to TypeScript can be done incrementally so that you can start reaping the rewards immediately in crucial parts of the codebase. You can also adopt a tool like ts-migrate if you intend to perform the migration in one go.
flow-to-typescript-codemod
-
Leaving LinkedIn: Choosing Engineering Excellence over Expediency
It'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.
- Migrating Lines of Code to TypeScript
- Stripe - Migrating millions of lines of code to TypeScript
- GitHub - stripe-archive/flow-to-typescript-codemod: Codemod Stripe used to migrate 4m+ lines of code from Flow to TypeScript
What are some alternatives?
TypeStat - Converts JavaScript to TypeScript and TypeScript to better TypeScript. 🧫
javascript-obfuscator - A powerful obfuscator for JavaScript and Node.js
jscodeshift - A JavaScript codemod toolkit.
Subsecond - A jQuery-like syntax for typescript codemod.
dependency-cruiser - Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
react-redux-typescript-guide - The complete guide to static typing in "React & Redux" apps using TypeScript
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser
astx - Super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring
sls-test-tools - Custom Jest Assertions for Serverless integration testing.
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
flow-to-ts - Convert flow code to typescript
jest - Delightful JavaScript Testing.