Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ksenginew/3dent
A lightweight runtime for JavaScript and TypeScript.
https://github.com/ksenginew/3dent
3dent deno golang javascript nodejs typescript
Last synced: 3 months ago
JSON representation
A lightweight runtime for JavaScript and TypeScript.
- Host: GitHub
- URL: https://github.com/ksenginew/3dent
- Owner: ksenginew
- License: mit
- Created: 2022-03-17T16:49:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-18T11:33:23.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T19:51:19.853Z (4 months ago)
- Topics: 3dent, deno, golang, javascript, nodejs, typescript
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://go.dev/doc/install) to run it. Then just download [`main.go`](https://github.com/ksenginew/3dent/blob/main/main.go).
### Getting Started
Try running a simple program:
```sh
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](https://github.com/ksenginew/3dent/blob/main/examples/hello-world)
2. [Importing & Exporting](https://github.com/ksenginew/3dent/blob/main/examples/import-export)For more examples, check out [examples folder](https://examples.deno.land/).