{"id":13672869,"url":"https://github.com/basarat/byots","last_synced_at":"2025-04-04T22:04:33.426Z","repository":{"id":37335989,"uuid":"64041849","full_name":"basarat/byots","owner":"basarat","description":"Bring your own TypeScript with more internal definitions","archived":false,"fork":false,"pushed_at":"2024-01-28T22:21:49.000Z","size":13100,"stargazers_count":270,"open_issues_count":2,"forks_count":10,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T21:02:30.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basarat.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":"2016-07-24T00:36:39.000Z","updated_at":"2025-02-03T18:55:29.000Z","dependencies_parsed_at":"2024-06-18T14:55:09.492Z","dependency_job_id":null,"html_url":"https://github.com/basarat/byots","commit_stats":{"total_commits":1299,"total_committers":5,"mean_commits":259.8,"dds":"0.21324095458044645","last_synced_commit":"8c1c97f2bd91a9e279ddd2bb485cb32cfbf12a58"},"previous_names":[],"tags_count":975,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basarat%2Fbyots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basarat%2Fbyots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basarat%2Fbyots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basarat%2Fbyots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basarat","download_url":"https://codeload.github.com/basarat/byots/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256110,"owners_count":20909240,"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-08-02T09:01:53.332Z","updated_at":"2025-04-04T22:04:33.408Z","avatar_url":"https://github.com/basarat.png","language":"TypeScript","readme":"# Bring your own TypeScript\n[![Downloads](http://img.shields.io/npm/dm/byots.svg)](https://npmjs.org/package/byots)\n[![Continuous Integration](https://github.com/basarat/byots/actions/workflows/ci.yml/badge.svg)](https://github.com/basarat/byots/actions/workflows/ci.yml)\n\n\n**Use the latest** [**TypeScript**](https://github.com/Microsoft/TypeScript), **with complete access to the compiler API** 🌹\n\n[![NPM](https://nodei.co/npm-dl/byots.png)](https://nodei.co/npm/byots/)\n\n\n**Still Just TypeScript**\n\n* `byots` will use whatever TypeScript version you install *in your application*. So you are actually using whatever TypeScript you bring in. However we highly recommend `npm install typescript@next byots@latest` so you don't get any `JavaScriptFromTypeScript - TypeDefinitionFromByots` inconsistencies.\n\n**But with the following advantage**\n\nWith a liberal definition file. We expose internal APIs.\n\n\u003e The definitions are updated daily automatically and our version numbers match the TypeScript nightly version numbers.\n\nIf you are working with the TypeScript compiler using `import * as ts from 'typescript'` and `ts` has everything you need, then use that. Otherwise if you find some API that isn't available on `ts.` but you can see if you do `console.log(ts)`, then you would consider using `byots`.\n\n\n## Install\nIn your package.json\n\n```sh\nnpm install byots@latest --save --save-exact\n```\n\nEach release is named after the day it was built and the git commit hash in Microsoft/TypeScript/master that it was built from. We recommend adding `save-exact` so you know exactly what you tested with.\n\n## Usage\n\n### Require\nUse `import * as ts from 'byots'` and you get what `import * as ts from 'typescript'` would give you.\n\n\n# Alternatives\n\n## ts-expose-internals\n\nhttps://github.com/nonara/ts-expose-internals\n* `ts-expose-internals` builds for new releases only to provide better stability - `byots` is nightly for bleeding edge experimentation.\n* `ts-expose-internals` uses module augmentation so you `import typescript` - `byots` reexports typescript so you `import byots`.\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasarat%2Fbyots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasarat%2Fbyots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasarat%2Fbyots/lists"}