Title: TypeScript has doubled in size since v2.0.0 - now 35 MB · Issue #23339 · microsoft/TypeScript · GitHub
Open Graph Title: TypeScript has doubled in size since v2.0.0 - now 35 MB · Issue #23339 · microsoft/TypeScript
X Title: TypeScript has doubled in size since v2.0.0 - now 35 MB · Issue #23339 · microsoft/TypeScript
Description: Search Terms: install size mb Expected behavior: I expected typescript to be relatively small since it has zero dependencies so there is no additional bloat from package.json or README.md files included with dependencies. typescript@2.0....
Open Graph Description: Search Terms: install size mb Expected behavior: I expected typescript to be relatively small since it has zero dependencies so there is no additional bloat from package.json or README.md files inc...
X Description: Search Terms: install size mb Expected behavior: I expected typescript to be relatively small since it has zero dependencies so there is no additional bloat from package.json or README.md files inc...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/23339
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeScript has doubled in size since v2.0.0 - now 35 MB","articleBody":"**Search Terms:** install size mb\r\n\r\n**Expected behavior:**\r\nI expected typescript to be relatively small since it has zero dependencies so there is no additional bloat from `package.json` or `README.md` files included with dependencies.\r\n\r\n [](https://packagephobia.now.sh/result?p=typescript@2.0.0) `typescript@2.0.0` is about 17 MB, not too bad.\r\n\r\n**Actual behavior:**\r\n\r\n[](https://packagephobia.now.sh/result?p=typescript@2.9.0-dev.20180411) `typescript@2.9.0-dev.20180411` is about 35 MB - double the size in about 2 years \r\n\r\nI realize that there are no stated goals of install size, however it is worth considering because...how is TypeScript getting so big so fast? 😕 \r\n\r\nThis might inhibit new users from coming on board when their code base might be a few kB with plain JS and adding TS would make it 35 MB.\r\n\r\n**Steps to reproduce**\r\n```\r\nmkdir ts2.0\r\ncd ts2.0\r\nnpm init -y\r\nnpm install --save-dev typescript@2.0.0\r\ncd ..\r\nmkdir ts2.9\r\ncd ts2.9\r\nnpm init -y\r\nnpm install --save-dev typescript@2.9.0-dev.20180411\r\ncd ..\r\ndu -sh ts2.0 # 17M\r\ndu -sh ts2.9 # 35M\r\n```\r\n","author":{"url":"https://github.com/styfle","@type":"Person","name":"styfle"},"datePublished":"2018-04-11T15:48:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/23339/TypeScript/issues/23339"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:84fa1fa1-55ad-7c35-2733-a38024745240 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA60:18DC37:27D3A6:384275:6A61FF00 |
| html-safe-nonce | 8f67830659c0d0bdf8fa15e4c2d0e9ef3688ec87ce7de2d450c2c47d5bc11f61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTYwOjE4REMzNzoyN0QzQTY6Mzg0Mjc1OjZBNjFGRjAwIiwidmlzaXRvcl9pZCI6Ijc4MTQyMDA2OTQ4MjA0Mzc3NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c562ff4c79d043ed728d78015e468f6b3d78f7689ccd1dc309b427e1afe1f8d4 |
| hovercard-subject-tag | issue:313383240 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/23339/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d451144ef84c9826134548afae839029da485f95c28b3d6b7ea1896079bf0de/microsoft/TypeScript/issues/23339 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d451144ef84c9826134548afae839029da485f95c28b3d6b7ea1896079bf0de/microsoft/TypeScript/issues/23339 |
| og:image:alt | Search Terms: install size mb Expected behavior: I expected typescript to be relatively small since it has zero dependencies so there is no additional bloat from package.json or README.md files inc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | styfle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92eeba52656842b5eb8a3f62fd6465e80107329999099c7144d43d7476b38ad0 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14dbe1e269fc16133b0b2bbc058e3a259cd85df4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width