Über uns
Die moderne Laufzeitumgebung für TypeScript.
Weitere ProjekteGemessener Sternzuwachs
- in 24h
- +2
- in 7 days
- +8
- in 15 days
- +17
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalEnde
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.
Ähnliche Projekte entdecken
Wird geladen…