Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babelts

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babelts

Run TypeScript code with Babel.

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

babelts · NPM npm Tests

Use this to run TypeScript code using Babel.

This uses 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:

yarn add --dev babelts

Use:

node --require babelts myFile.ts

Keywords

FAQs

Package last updated on 14 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc