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
- Host: GitHub
- URL: https://github.com/elsaland/elsa
- Owner: elsaland
- License: mit
- Created: 2020-09-18T09:17:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-29T16:00:41.000Z (over 2 years ago)
- Last Synced: 2024-10-27T13:04:46.679Z (6 months ago)
- Topics: elsa, go, javascript, quickjs, runtime, typescript
- Language: TypeScript
- Homepage:
- Size: 5.43 MB
- Stars: 2,796
- Watchers: 33
- Forks: 62
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - elsaland/elsa - ❄️ Elsa is a minimal runtime for JavaScript and TypeScript written in Go (TypeScript)
- awesome-golang-repositories - elsa
- awesome-list - elsa
- awesome-f2e-libs - **elsa** - 基于 Go,JavaScript 和 TypeScript 的 runtime。 (打包工具 / 非 JavaScript 编译工具)
- awesome-fe - **elsa** - 基于 Go,JavaScript 和 TypeScript 的 runtime。 (打包工具 / 非 JavaScript 编译工具)
- my-awesome - elsaland/elsa - 11 star:2.8k fork:0.1k ❄️ Elsa is a minimal runtime for JavaScript and TypeScript written in Go (TypeScript)
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