{"id":13475923,"url":"https://github.com/airbnb/ts-migrate","last_synced_at":"2025-05-16T01:02:51.609Z","repository":{"id":37494279,"uuid":"226207937","full_name":"airbnb/ts-migrate","owner":"airbnb","description":"A tool to help migrate JavaScript code quickly and conveniently to TypeScript","archived":false,"fork":false,"pushed_at":"2024-08-28T03:38:26.000Z","size":932,"stargazers_count":5549,"open_issues_count":51,"forks_count":227,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-05-09T00:53:42.821Z","etag":null,"topics":["codemod","javascript","migration","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/airbnb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-05T23:36:40.000Z","updated_at":"2025-05-08T02:42:23.000Z","dependencies_parsed_at":"2024-11-18T09:45:58.317Z","dependency_job_id":null,"html_url":"https://github.com/airbnb/ts-migrate","commit_stats":{"total_commits":189,"total_committers":34,"mean_commits":"5.5588235294117645","dds":0.7037037037037037,"last_synced_commit":"f656addb5d6b60887f6b4033cdd81a6ff5e851cb"},"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airbnb%2Fts-migrate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airbnb%2Fts-migrate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airbnb%2Fts-migrate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airbnb%2Fts-migrate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/airbnb","download_url":"https://codeload.github.com/airbnb/ts-migrate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448578,"owners_count":22072764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codemod","javascript","migration","typescript"],"created_at":"2024-07-31T16:01:24.739Z","updated_at":"2025-05-16T01:02:51.556Z","avatar_url":"https://github.com/airbnb.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Tools","🌐 Web Development - Frontend","TypeScript Tools, Libraries, and Frameworks","JavaScript/TypeScript Tools"],"sub_categories":["TypeScript","Interfaces","E-Books","Mesh networks"],"readme":"# ts-migrate\n\n*ts-migrate* is a tool for helping migrate code to TypeScript.\nIt takes a JavaScript, or a partial TypeScript, project in and gives a compiling TypeScript project out.\n\n*ts-migrate* is intended to accelerate the TypeScript migration process. The resulting code will pass the build, but a followup is required to improve type safety. There will be lots of `// @ts-expect-error`, and `any` that will need to be fixed over time. In general, it is a lot nicer than starting from scratch.\n\n*ts-migrate* is designed as a set of plugins so that it can be pretty customizable for different use-cases. Potentially, more plugins can be added for addressing things like improvements of type quality or libraries-related things (like prop-types in React).\n\nPlugins are combined into migration configs. We currently have two main migration configs:\n\n* for the main JavaScript → TypeScript migration\n* for the reignore script\n\nThese configs can be moved out of the default script, and people can add custom configs with a different set of plugins for their needs.\n\nYou can find instructions on how to install and run ts-migrate in the [main package](./packages/ts-migrate/). If you find any [issues](https://github.com/airbnb/ts-migrate/issues) or have ideas for improvements, we welcome your [contributions](https://github.com/airbnb/ts-migrate/blob/master/CONTRIBUTING.md)!\n\nCheck out the [blog post](https://medium.com/airbnb-engineering/ts-migrate-a-tool-for-migrating-to-typescript-at-scale-cd23bfeb5cc) about ts-migrate!\n\n\n# Published Packages\n\n| Folder | Version | Package |\n| ------ | ------- | ------- |\n| [packages/ts-migrate](./packages/ts-migrate/) | [![npm version](https://badge.fury.io/js/ts-migrate.svg)](https://badge.fury.io/js/ts-migrate) | [ts-migrate](https://www.npmjs.com/package/ts-migrate) |\n| [packages/ts-migrate-plugins](./packages/ts-migrate-plugins/) | [![npm version](https://badge.fury.io/js/ts-migrate-plugins.svg)](https://badge.fury.io/js/ts-migrate-plugins) | [ts-migrate-plugins](https://www.npmjs.com/package/ts-migrate-plugins) |\n| [packages/ts-migrate-server](./packages/ts-migrate-server/) | [![npm version](https://badge.fury.io/js/ts-migrate-server.svg)](https://badge.fury.io/js/ts-migrate-server) | [ts-migrate-server](https://www.npmjs.com/package/ts-migrate-server) |\n\n# Unpublished Packages\n\n| Folder | Description |\n| ------ | -----------|\n| [packages/ts-migrate-example](./packages/ts-migrate-example/) | basic example of usage of the ts-migrate-server with a writing a custom simple plugin |\n\n\n# Authors\n\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\"\u003e\n        \u003cimg width=\"100\" height=\"100\" src=\"https://github.com/brieb.png?s=150\"\u003e\n        \u003cbr\u003e\n        \u003ca href=\"https://github.com/brieb\"\u003eBrie Bunge\u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\"\u003e\n        \u003cimg width=\"100\" height=\"100\" src=\"https://github.com/Rudeg.png?s=150\"\u003e\n        \u003cbr\u003e\n        \u003ca href=\"https://github.com/Rudeg\"\u003eSergii Rudenko\u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" width=\"20%\" valign=\"top\"\u003e\n        \u003cimg width=\"100\" height=\"100\" src=\"https://github.com/jjjjhhhhhh.png?s=150\"\u003e\n        \u003cbr\u003e\n        \u003ca href=\"https://github.com/jjjjhhhhhh\"\u003eJohn Haytko\u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\"\u003e\n        \u003cimg width=\"100\" height=\"100\" src=\"https://github.com/elliotsa.png?s=150\"\u003e\n        \u003cbr\u003e\n        \u003ca href=\"https://github.com/elliotsa\"\u003eElliot Sachs\u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\"\u003e\n        \u003cimg width=\"100\" height=\"100\" src=\"https://github.com/lencioni.png?s=150\"\u003e\n        \u003cbr\u003e\n        \u003ca href=\"https://github.com/lencioni\"\u003eJoe Lencioni\u003c/a\u003e\n     \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\n# License\n\nMIT, see [LICENSE](https://github.com/airbnb/ts-migrate/blob/master/LICENCE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairbnb%2Fts-migrate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairbnb%2Fts-migrate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairbnb%2Fts-migrate/lists"}