# byots

> Bring your own TypeScript

Latest version **5.0.0-dev.20221103.1.34** (published 2022-11-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install byots
pnpm add byots
yarn add byots
bun add byots
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.0-dev.20221103.1.34 |
| Published | 2022-11-05 |
| First published | 2016-07-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 272 |
| Author | basaratali@gmail.com |
| Maintainers | basarat, guncha |
| Keywords | typescript, linter, ide, javascript |

## Links

- npm: https://www.npmjs.com/package/byots
- Repository: https://github.com/basarat/byots
- Homepage: https://github.com/basarat/byots#readme
- Issues: https://github.com/basarat/byots/issues
- npm.io page: https://npm.io/package/byots

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 5.0.0-dev.20221103.1.34 (latest) — 2022-11-05
- 5.0.0-dev.20221103.1.35 — 2022-11-04
- 5.0.0-dev.20221102.1.36 — 2022-11-03
- 5.0.0-dev.20221101.1.35 — 2022-11-02
- 4.9.0-dev.20221031.1.35 — 2022-11-01
- 4.9.0-dev.20221030.1.35 — 2022-10-31
- 4.9.0-dev.20221029.1.35 — 2022-10-30
- 4.9.0-dev.20221028.1.34 — 2022-10-29
- 4.9.0-dev.20221027.1.40 — 2022-10-28
- 4.9.0-dev.20221026.1.34 — 2022-10-27
- 4.9.0-dev.20221025.1.34 — 2022-10-26
- 4.9.0-dev.20221024.1.34 — 2022-10-25
- 4.9.0-dev.20221023.1.34 — 2022-10-24
- 4.9.0-dev.20221022.1.34 — 2022-10-23
- 4.9.0-dev.20221021.1.33 — 2022-10-22
- … 1137 more at https://npm.io/package/byots/versions

## README

# Bring your own TypeScript
[![Downloads](http://img.shields.io/npm/dm/byots.svg)](https://npmjs.org/package/byots)
[![Continuous Integration](https://github.com/basarat/byots/actions/workflows/ci.yml/badge.svg)](https://github.com/basarat/byots/actions/workflows/ci.yml)


**Use the latest** [**TypeScript**](https://github.com/Microsoft/TypeScript), **with complete access to the compiler API** 🌹

[![NPM](https://nodei.co/npm-dl/byots.png)](https://nodei.co/npm/byots/)


**Still Just TypeScript**

* `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.

**But with the following advantage**

With a liberal definition file. We expose internal APIs.

> The definitions are updated daily automatically and our version numbers match the TypeScript nightly version numbers.

If 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`.


## Install
In your package.json

```sh
npm install byots@latest --save --save-exact
```

Each 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.

## Usage

### Require
Use `import * as ts from 'byots'` and you get what `import * as ts from 'typescript'` would give you.


# Alternatives

## ts-expose-internals

https://github.com/nonara/ts-expose-internals
* `ts-expose-internals` builds for new releases only to provide better stability - `byots` is nightly for bleeding edge experimentation.
* `ts-expose-internals` uses module augmentation so you `import typescript` - `byots` reexports typescript so you `import byots`.

---
_Source: https://npm.io/package/byots · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
