Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
/ ts-browser Public archive

🦄 Compile (in worker threads) and run TypeScript in the browser via <script type='text/typescript'>

Notifications You must be signed in to change notification settings

harrysolovay/ts-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Zero-config TypeScript compilation for web browsers. Sped substantially thanks to web workers and service workers, ts-browser is equipped for production use in small projects. Beyond its speed, the minified build is ~4kb gzipped!

Usage

<!-- include ts-browser -->
<script type="text/javascript" src="https://unpkg.com/ts-browser"></script>

<!-- include your TypeScript file -->
<script type="text/typescript" src="your/typescript/file.ts"></script>

Can I use?

Web Workers are––at the time of writing this README––supported by 92.74% of web browsers. Blobs (another API used by ts-browser) are supported by 93.02% of browsers. Here's a common opinion on this debate, in case you're undecided.

About

🦄 Compile (in worker threads) and run TypeScript in the browser via <script type='text/typescript'>

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •