{"id":15366346,"url":"https://github.com/talento90/js2ts-demo","last_synced_at":"2026-04-24T22:32:07.143Z","repository":{"id":145201194,"uuid":"164721216","full_name":"Talento90/js2ts-demo","owner":"Talento90","description":"Demonstration how to migrate a project from JavaScript to TypeScript","archived":false,"fork":false,"pushed_at":"2019-01-30T22:36:28.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T06:07:12.189Z","etag":null,"topics":["javascript","migration","typescript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Talento90.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-08T19:46:54.000Z","updated_at":"2019-09-05T09:52:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"2288110e-72df-422b-b87b-300dbd4ca266","html_url":"https://github.com/Talento90/js2ts-demo","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"71a95b207d020a49d153587b1fff5831f01d7e14"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Talento90/js2ts-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Fjs2ts-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Fjs2ts-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Fjs2ts-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Fjs2ts-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Talento90","download_url":"https://codeload.github.com/Talento90/js2ts-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Talento90%2Fjs2ts-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32243186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","migration","typescript"],"created_at":"2024-10-01T13:18:34.564Z","updated_at":"2026-04-24T22:32:07.128Z","avatar_url":"https://github.com/Talento90.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js2ts-demo\nDemonstration how to migrate a project from JavaScript to TypeScript\n\n## Migration\n\n- Install TypeScript `npm i --save-dev typescript`\n- Install Definitions `npm i --save-dev @types/node @types/hapi@16`\n- Setup tsconfig.json `node_modules/.bin/tsc --init`\n- Set the following compiler options: `\"allowJs\": true, \"checkJs\": true` \n- Rename .js files to .ts\n- Fix errors and go to the previous step\n\n### References\n\n* JSDOC - http://usejsdoc.org\n* Migrating from JavaScript - https://www.typescriptlang.org/docs/handbook/migrating-from-javascript.html\n* Type Checking JavaScript Files - https://github.com/Microsoft/TypeScript/wiki/Type-Checking-JavaScript-Files\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalento90%2Fjs2ts-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalento90%2Fjs2ts-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalento90%2Fjs2ts-demo/lists"}