llrt

(★ 8,788)

LLRT (Low Latency Runtime)는 빠르고 효율적인 Serverless 애플리케이션에 대한 증가하는 수요를 충족하기 위해 설계된 실험적이고 경량화된 JavaScript 런타임입니다.

파일 탐색기

  • .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

# 설치 가이드

rust / node
사전 준비물

설치 및 실행 절차

yarn install

프로젝트 의존성을 설치합니다.

cargo build --release

Rust 프로젝트를 빌드합니다.

핵심 명령어

cargo build --release

릴리스 모드로 LLRT 바이너리를 컴파일합니다.

llrt test

내장된 테스트 러너를 실행하여 호환성을 검증합니다.

LLRT는 QuickJS를 사용하는 실험적인 JavaScript 런타임입니다.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

릴리즈 타임라인

활발히 관리 중

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

crypto

설명 보기 ▼

암호화 관련 기능을 관리.
설정 모드에서 사용함.
더 많은 정보: <https://www.cisco.com/c/en/us/td/docs/security/asa/asa-cli-reference/A-H/asa-command-ref-A-H/crypto-is-cz-commands.html>.

crypto key generate rsa

`rsa` 키 생성:

crypto key generate rsa modulus {{1024}}

키의 modulus 값 지정하여 생성:

crypto key zeroize

모든 키 삭제:

🔍

brew install

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

Node 프로젝트와 해당 패키지 관리자 사이의 브라지 역할을 하는 런타임 종속성이 없는 패키지.
더 많은 정보: <https://github.com/nodejs/corepack>.

corepack enable

Corepack shim을 Node.js 설치 디렉터리에 추가하여 전역 명령으로 사용할 수 있도록 함:

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

특정 디렉토리에 Corepack shim을 추가함:

corepack disable

Node.js 설치 디렉터리에서 Corepack shim을 제거:

🔍

esbuild

설명 보기 ▼

속도를 위해 제작된 자바스크립트 번들러 및 압축 도구.
더 많은 정보: <https://esbuild.github.io/api/#general-options>.

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

자바스크립트 애플리케이션을 번들로 묶어 `stdout`으로 인쇄:

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

`stdin`에서 JSX 애플리케이션 번들링:

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

`production` 모드에서 소스맵을 사용하여 JSX 애플리케이션을 번들로 묶고 압축:

🔍

git clone

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

서버 측 JavaScript 플랫폼 (Node.js).
더 많은 정보: <https://nodejs.org/docs/latest/api/cli.html#options>.

node {{path/to/file}}

JavaScript 파일 실행:

node

REPL(대화형 셸) 시작:

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

지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요):

🔍

nvm

설명 보기 ▼

Node.js 버전을 설치, 제거 또는 전환.
"12.8" 또는 "v16.13.1" 같은 버전 번호와 "stable", "system" 같은 레이블을 지원.
관련 항목: `asdf`.
더 많은 정보: <https://github.com/nvm-sh/nvm#usage>.

nvm install {{node_version}}

특정 버전의 Node.js 설치:

nvm install {{node_version}}

Node.js의 특정 버전 설치:

nvm use {{node_version}}

현재 셸에서 특정 버전의 Node.js 사용:

🔍

yarn

설명 보기 ▼

JavaScript 및 Node.js 패키지 대체 관리자.
더 많은 정보: <https://yarnpkg.com/cli>.

yarn global add {{module_name}}

전역적으로 모듈 설치:

yarn install

`package.json` 파일에 참조된 모든 의존성을 설치 ( `install`은 선택 사항입니다):

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

모듈을 설치하고 `package.json` 파일에 대한 의존성으로 저장 (개발 전용 의존성으로 추가하려면 `--dev` 추가):

🔍

apt

설명 보기 ▼

Debian 기반 배포판을 위한 패키지 관리 도구.
Ubuntu 16.04 이후 버전에서 대화형 사용 시 `apt-get`의 권장 대체 도구.
다른 패키지 관리자의 동등한 명령을 보려면 <https://wiki.archlinux.org/title/Pacman/Rosetta>.
더 많은 정보: <https://manned.org/apt.8>.

sudo apt update

사용 가능한 패키지 및 버전 목록 업데이트 (다른 `apt` 명령어 실행 전 권장):

apt search {{package}}

주어진 패키지 검색:

apt list {{package}}

패키지 정보 표시:

🔍

snap

설명 보기 ▼

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