comlink
Comlink은 WebWorker를 다루는 것을 즐겁게 만들어 줍니다.
파일 탐색기
최종 버전 다운로드 (.zip)- pre-commit
- index.html
- README.md
- worker.js
- index.html
- README.md
- worker.js
- index.html
- README.md
- worker.js
- event.transferhandler.js
- index.html
- README.md
- worker.js
- index.html
- README.md
- worker.js
- main.mjs
- worker.mjs
- index.html
- README.md
- worker.js
- iframe.html
- index.html
- README.md
- index.html
- comlink.ts
- node-adapter.ts
- protocol.ts
- attack-iframe.html
- iframe.html
- two-way-iframe.html
- worker.js
- main.mjs
- worker.mjs
- cross-origin.comlink.test.js
- iframe.comlink.test.js
- same_window.comlink.test.js
- tsconfig.json
- two-way-iframe.comlink.test.js
- type-checks.ts
- worker.comlink.test.js
- .gitignore
- .travis.yml
- CHANGELOG.md
- CODEOWNERS
- CONTRIBUTING
- CONTRIBUTORS
- Dockerfile
- karma.conf.js
- LICENSE
- package.json
- README.md
- renovate.json
- rollup.config.mjs
- structured-clone-table.md
- tsconfig.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/GoogleChromeLabs/comlink
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd comlink
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t comlink .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 comlink
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
