Skip to content
프로젝트

소개

TypeScript를 위한 최신 런타임.

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+2
in 7 days
+8
in 15 days
+17
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Ende

Ende is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults and a great developer experience. It’s built on V8, Rust, and Tokio.

Learn more about the Ende runtime in the documentation.

Installation

Install the Ende runtime on your system using one of the commands below.

Shell (Mac, Linux):

curl -fsSL https://ende.sh/install.sh | sh

PowerShell (Windows):

irm https://ende.sh/install.ps1 | iex

Uninstall

Ende puts files in a few places and may add a line to your PATH. Remove them to uninstall it.

Shell (Mac, Linux):

rm -rf ~/.ende                # the binary, and what `ende install -g` installed
rm -rf ~/Library/Caches/ende  # the cache on a Mac (on Linux: ~/.cache/ende)
# localStorage data and the auth_tokens file, on a Mac (on Linux:
# ~/.local/share/ende and ~/.config/ende)
rm -rf ~/"Library/Application Support/ende"

Then delete the ENDE_INSTALL_ROOT and PATH lines for Ende from your shell profile (for example ~/.zshrc or ~/.bashrc), if you added them.

PowerShell (Windows):

Remove-Item -Recurse -Force -ErrorAction SilentlyContinue "$HOME\.ende", "$env:LOCALAPPDATA\ende", "$env:LOCALAPPDATA\ende-config", "$env:LOCALAPPDATA\ende-data"

Then remove %USERPROFILE%\.ende\bin from your user PATH (Settings, System, About, Advanced system settings, Environment Variables).

If you set ENDE_INSTALL_ROOT, ENDE_DIR, XDG_CACHE_HOME, XDG_DATA_HOME or XDG_CONFIG_HOME, the folders are those instead. Don't delete a shared folder: with a custom install root, remove only bin/ende and the shims ende install -g put in bin.

Build and install from source

Complete instructions for building Ende from source can be found here.

Your first Ende program

Ende can be used for many different applications, but is most commonly used to build web servers. Create a file called server.ts and include the following TypeScript code:

Ende.serve((_req: Request) => {
  return new Response("Hello, world!");
});

Run your server with the following command:

ende run --allow-net server.ts

This should start a local web server on http://localhost:8000.

Learn more about writing and running Ende programs in the docs.

Coming from Deno

Ende is a fork of Deno, and we’re grateful to the Deno authors for the work it builds on. Existing Deno projects keep working: the Deno global is a permanent alias of Ende, and deno.json, deno.lock and DENO_* environment variables are still read (with a deprecation warning) when their ende.json, ende.lock and ENDE_* counterparts are absent. The one exception is the places Ende writes to: DENO_DIR, DENO_INSTALL_ROOT, DENO_COVERAGE_DIR, DENO_REPL_HISTORY and DENO_AUDIT_PERMISSIONS are never read, since they may belong to Deno itself; set ENDE_DIR, ENDE_INSTALL_ROOT, ENDE_COVERAGE_DIR, ENDE_REPL_HISTORY and ENDE_AUDIT_PERMISSIONS instead. Unlike Deno, Ende does not support npm packages, Node built-ins (node:*) or CommonJS.

Additional resources

  • Ende Docs: guides and reference docs for the Ende runtime.
  • Standard Library: common utilities for JavaScript and TypeScript programs.
  • JSR: The open-source package registry for modern JavaScript and TypeScript

Contributing

We appreciate your help! To contribute, please read our contributing instructions.

관련 프로젝트 살펴보기

불러오는 중…