{"id":16962363,"url":"https://github.com/aeharding/ts-reporter","last_synced_at":"2025-06-14T01:33:35.164Z","repository":{"id":40365921,"uuid":"362260141","full_name":"aeharding/ts-reporter","owner":"aeharding","description":"Get Typescript migration metrics for your project","archived":false,"fork":false,"pushed_at":"2022-05-12T16:02:28.000Z","size":144,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T15:46:34.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/aeharding.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}},"created_at":"2021-04-27T21:49:48.000Z","updated_at":"2023-12-15T19:40:59.000Z","dependencies_parsed_at":"2022-08-09T18:23:22.029Z","dependency_job_id":null,"html_url":"https://github.com/aeharding/ts-reporter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aeharding/ts-reporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fts-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fts-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fts-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fts-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeharding","download_url":"https://codeload.github.com/aeharding/ts-reporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeharding%2Fts-reporter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259745364,"owners_count":22905082,"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":[],"created_at":"2024-10-13T23:06:19.017Z","updated_at":"2025-06-14T01:33:35.092Z","avatar_url":"https://github.com/aeharding.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ts-reporter 🚲\n\nMigrating your huge app from Javascript to Typescript? This project provides a burndown chart (as a `.png`, along with raw `.json`) of your remaining LOC to convert!\n\n- See the progress that you're making instead of feeling like you're getting nowhere. 💪\n- Easily integrate as an artifact of your CI\n- 🌌 Dark mode! `--dark`\n\n![Example burndown chart from a large project](example.png)\n\n## Install in project\n\n```sh\nyarn add ts-reporter --dev\n# or\nnpm i ts-reporter --save-dev\n```\n\n`package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"build-ts-reporter\": \"ts-reporter build src/\"\n  }\n}\n```\n\n3. Run\n\n```sh\nnpm run build-ts-reporter\n# or\nyarn build-ts-reporter\n\n# or directly, without adding to package.json:\nnpx ts-reporter build src/\n```\n\n## Install globally\n\n```sh\nyarn global add ts-reporter\n# or\nnpm i --global ts-reporter\n```\n\n```sh\nts-reporter build src/\n```\n\n## Run as part of build\n\n### Azure Devops\n\nInstall ts-reporter:\n\n```sh\nyarn add --dev ts-reporter\n#or\nnpm i --save-dev ts-reporter\n```\n\nAdd to `azure-pipelines.yml`:\n\n```yml\n# [...]\n- job: ts_reporter\n  container: node:15\n  steps:\n    - checkout: self\n      fetchDepth: 1000\n    - script: |\n        npm ci\n      displayName: Install\n    - script: |\n        git checkout -- .\n        npx ts-reporter build src\n      displayName: Run ts-reporter\n    - task: PublishPipelineArtifact@1\n    inputs:\n        targetPath: $(System.DefaultWorkingDirectory)/reports\n        artifactName: reports\n# [...]\n```\n\n### Something else?\n\nPRs welcome for documentation!\n\n## FAQ\n\n### Why is my CI failing to `npm install`?\n\nIf your build agent is using node v16, you might need to use node v15. [node-canvas](https://github.com/Automattic/node-canvas) doesn't support prebuilts of node v16 as of the time of this writing.\n\n\u003e npm ERR! node-pre-gyp WARN Pre-built binaries not found for canvas@2.7.0 and node@16.0.0 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeharding%2Fts-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeharding%2Fts-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeharding%2Fts-reporter/lists"}