# babelts

> Run TypeScript code with Babel.

Latest version **1.1.1** (published 2019-11-14) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2019-11-14 |
| First published | 2019-10-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Dylan Vann |
| Maintainers | dylanvann |
| Keywords | babel, node, ts, typescript |

## Links

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

## Dependencies (5)

- [@babel/core](https://npm.io/package/@babel/core.md) ^7.7.2
- [hard-rejection](https://npm.io/package/hard-rejection.md) ^2.1.0
- [@babel/register](https://npm.io/package/@babel/register.md) ^7.7.0
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.7.1
- [@babel/preset-typescript](https://npm.io/package/@babel/preset-typescript.md) ^7.7.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2019-11-14
- 1.1.0 — 2019-11-05
- 1.0.0 — 2019-10-30
- 0.0.2 — 2019-10-01
- 0.0.1 — 2019-10-01

## README

# babelts · ![NPM](https://img.shields.io/npm/l/babelts) ![npm](https://img.shields.io/npm/v/babelts) ![Tests](https://github.com/dylanvann/babelts/workflows/Test/badge.svg?branch=master)

Use this to run TypeScript code using Babel.

This uses [`hard-rejection`](https://github.com/sindresorhus/hard-rejection) so that unhandled async errors cause the program to exit.

You may wish to use this if:

-   You want to write some scripts in TypeScript but not have a build step to compile them.
-   You use Babel to compile instead of TypeScript in other parts of your codebase.
-   You want to be able to run code without waiting for it to type check (which is how `ts-node` works).

**Install:**

```sh
yarn add --dev babelts
```

**Use:**

```sh
node --require babelts myFile.ts
```

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