in ,

Typescript REPL

I came across this the other day, while I was reading “ng-Book 2” from fullstack.io.  They introduced a REPL module for Typescript.  It’s called tsun.  It works just like a REPL in Ruby or Python.  It provides an interactive shell, where you can test out code and see instant results to your commands.  This is a great way to test out ideas or code concepts.

To install tsun, you must have npm installed (node) and you just simply run:

npm install -g tsun

that will install tsun globally.

Once installed you just run:

tsun

and you’ll have a “>” prompt.  At this point you can simply type in Typescript and get results in the interactive shell.

What do you think?

0 points
Upvote Downvote

Total votes: 0

Upvotes: 0

Upvotes percentage: 0.000000%

Downvotes: 0

Downvotes percentage: 0.000000%

Written by Admin

I work for a Telecom company writing and testing software. My passion for writing code is expressed through this blog. It's my hope that it gives hope to any and all who are self-taught.

Comments

Leave a Reply

Loading…

Setting up a PenTest Lab (Windows & Kali VMs)

Setting Up Angular 2 with Firebase (EASY)