Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rinminase/typescript-script
📜🛠Script tag support for TypeScript. Based from basarat/typescript-script with Minified Versions
https://github.com/rinminase/typescript-script
javascript typescript typescript-transpiler
Last synced: 30 days ago
JSON representation
📜🛠Script tag support for TypeScript. Based from basarat/typescript-script with Minified Versions
- Host: GitHub
- URL: https://github.com/rinminase/typescript-script
- Owner: RinMinase
- License: mit
- Created: 2019-10-21T01:54:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T07:02:29.000Z (about 5 years ago)
- Last Synced: 2024-11-07T08:50:45.595Z (3 months ago)
- Topics: javascript, typescript, typescript-transpiler
- Language: JavaScript
- Homepage:
- Size: 1.81 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
typescript-script
📜🛠Script tag support for TypeScript.
Based from basarat/typescript-script with Minified Versions## Usage
Add the following lines at the **bottom** of your page:
```html```
And then you can use script tags that load `.ts` files or even have inline `typescript` syntax:
```htmlsetTimeout(()=>console.log('hello'));
```
`` tags should be located **above** the transpiler and services.
## Demo
https://next.plnkr.co/edit/3TCDINcd6LAGcHMm