New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ts-fast

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-fast

Emit javascript from typescript without type-checking

latest
Source
npmnpm
Version
1.0.0-rc.2
Version published
Maintainers
1
Created
Source

ts-fast 🙈 ⚡

I created this tiny CLI util to work around the lack of --no-check or --only-emit flags in official typescript tsc CLI.

This might be very useful when :

  • you want to seperate type-check (expensive and long) and transpile-only tasks (fast) in different threads.
  • you do not want to repeat type-checking on code that already passed it on previous build stage.

Usage

# No config given, will recusrively find the nearest tsconfig.json
ts-fast

# Or you can spacify the name of the config (same syntax than tsc)
ts-fast -p ./config/ts-config.prod.json

It does not support other flags of tsc command like --esModuleInterop, we don't want to maintain an interface with a huge ammount of options. Anyway, all these configs can be all declared in tsconfig.json

Debug

Export the following environment variable to enable verbose logging DEBUG=ts-fast.

Caveats

  • not sure it works on Windows
  • not sure it works for "exotic" tsconfigs

Keywords

tsc

FAQs

Package last updated on 01 Apr 2022

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