ksenginew / 3dent

A lightweight runtime for JavaScript and TypeScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3dent

A lightweight runtime for JavaScript and TypeScript.

3dent is a simple runtime for JavaScript and TypeScript that uses your preinstalled web browser and a server written in Go-lang.

Installation

3dent ships as a single .go with no external dependencies. You need to install Go compiler to run it. Then just download main.go.

Getting Started

Try running a simple program:

go run main.go https://deno.land/std/examples/welcome.ts

Then open the url you got.

Note: You can pass a local file name instead of an URL.

Examples

Here are some examples that you can use to get started immediately.

  1. Hello World
  2. Importing & Exporting

For more examples, check out examples folder.

About

A lightweight runtime for JavaScript and TypeScript.

License:MIT License


Languages

Language:Go 100.0%