An open API service indexing awesome lists of open source software.

https://github.com/elsaland/elsa

❄️ Elsa is a minimal runtime for JavaScript and TypeScript written in Go
https://github.com/elsaland/elsa

elsa go javascript quickjs runtime typescript

Last synced: 29 days ago
JSON representation

❄️ Elsa is a minimal runtime for JavaScript and TypeScript written in Go

Awesome Lists containing this project

README

        

## Elsa

[![Discord invite][]][discord invite link]

Elsa is a _minimal_ JavaScript and TypeScript runtime written in Go. Built on top of quickjs and heavily inspired by Deno.

### Features

- URL imports.
- useful Web APIs.
- compiles TypeScript out of the box.
- bundling. `elsa bundle`
- compiling to native distributable binaries. `elsa compile`

```typescript
// hello.ts
import { hello } from "https://x.nest.land/[email protected]/mod.ts";

hello("Elsa");
```

```shell
> elsa run hello.ts
Hello, Elsa
```

[build status - badge]: https://github.com/elsaland/elsa/workflows/Build/badge.svg
[build status]: https://github.com/elsaland/elsa/actions
[discord invite]: https://img.shields.io/discord/757562931725467709?color=697EC4&label=Discord&logo=discord&logoColor=FDFEFE&style=flat-square
[discord invite link]: https://discord.gg/Dw534ZY