llrt

(★ 8,788)

LLRT (Low Latency Runtime) is an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.

File Explorer

  • .gitignore
  • .gitmodules
  • .prettierignore
  • .yarnrc.yml
  • API.md
  • build.mjs
  • Cargo.lock
  • Cargo.toml
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • GOVERNANCE.md
  • index.mjs
  • lambda-server.js
  • LICENSE
  • MAINTAINERS.md
  • Makefile
  • NOTICE
  • pack
  • package.json
  • README.md
  • rustfmt.toml
  • sdk.cfg
  • THIRD_PARTY_LICENSES
  • tsconfig.json
  • vitest.config.mjs
  • wpt
  • wpt_errors.txt
  • yarn.lock
  • zstd

# Installation Guide

rust / node
Prerequisites

Setup Steps

yarn install

Install project dependencies.

cargo build --release

Build the Rust project in release mode.

Key Commands

cargo build --release

Compile the LLRT binary in release mode.

llrt test

Run the built-in test runner to verify compatibility.

LLRT is an experimental JavaScript runtime utilizing QuickJS.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Release Timeline

Actively Maintained

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

crypto

View Details ▼

Manage cryptography.
Accessed in configuration mode.

crypto key generate rsa

Generate an `rsa` key:

crypto key generate rsa modulus {{1024}}

Define a modulus for a key:

crypto key zeroize

Remove all keys:

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

cargo build

View Details ▼

Compile a local package and all of its dependencies.

cargo {{[b|build]}}

Build the package or packages defined by the `Cargo.toml` manifest file in the local path:

cargo {{[b|build]}} {{[-r|--release]}}

Build artifacts in release mode, with optimizations:

cargo {{[b|build]}} --locked

Require that `Cargo.lock` is up to date:

🔍

corepack

View Details ▼

Zero-runtime-dependency package acting as bridge between Node projects and their package managers.

corepack enable

Add the Corepack shims to the Node.js installation directory to make them available as global commands:

corepack enable --install-directory {{path/to/directory}}

Add the Corepack shims to a specific directory:

corepack disable

Remove the Corepack shims from the Node.js installation directory:

🔍

esbuild

View Details ▼

JavaScript bundler and minifier built for speed.

esbuild --bundle {{path/to/file.js}}

Bundle a JavaScript application and print to `stdout`:

esbuild < {{path/to/file.jsx}} --bundle --outfile={{path/to/out.js}}

Bundle a JSX application from `stdin`:

esbuild --bundle --define:{{process.env.NODE_ENV=\"production\"}} --minify --sourcemap {{path/to/file.js}}

Bundle and minify a JSX application with source maps in `production` mode:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

git submodule

View Details ▼

Inspect, update, and manage submodules.

git submodule

View existing submodules and the checked-out commit for each one:

git submodule update --init --recursive

Install a repository's submodules (listed in `.gitmodules`):

git submodule add {{repository_url}}

Add a Git repository as a submodule of the current one:

🔍

node

View Details ▼

Server-side JavaScript platform (Node.js).

node {{path/to/file}}

Run a JavaScript file:

node

Start a REPL (interactive shell):

node --watch {{path/to/file}}

Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):

🔍

nvm

View Details ▼

Install, uninstall, or switch between Node.js versions under the fish shell.
Supports version numbers like "12.8" or "v16.13.1", and labels like "stable", "system", etc.

nvm install {{node_version}}

Install a specific version of Node.js:

nvm install {{node_version}}

Install a specific version of Node.js:

nvm use {{node_version}}

Use a specific version of Node.js in the current shell:

🔍

yarn

View Details ▼

JavaScript and Node.js package manager alternative.

yarn global add {{module_name}}

Install a module globally:

yarn install

Install all dependencies referenced in the `package.json` file (the `install` is optional):

yarn add {{module_name}}@{{version}}

Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):

🔍

apt

View Details ▼

Package manager for Debian-based distributions.
Intended as a user-friendly alternative to `apt-get` for interactive use.
For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.

sudo apt update

Update the list of available packages and versions (recommended before running other `apt` commands):

apt search {{package}}

Search packages by name or description:

apt list {{package}}

Search packages by name only (supports wildcards like `*`):

🔍

snap

View Details ▼

Manage the "snap" self-contained software packages.
Similar to what `apt` is for `.deb`.

snap find {{query}}

Search for a package:

snap install {{package}}

Install a package:

snap refresh {{package}}

Update a package:

// repository documentation