case

(★ 156)

No description available.

파일 탐색기

  • .gitignore
  • .mcp.json
  • .oxfmtrc.json
  • .oxlintrc.json
  • AGENTS.md
  • bun.lock
  • bunfig.toml
  • CLAUDE.md
  • config.schema.json
  • CONTEXT.md
  • improvements.md
  • package.json
  • pnpm-lock.yaml
  • projects.schema.json
  • README.md
  • sgconfig.yml
  • tsconfig.json
  • vitest.config.ts

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

bun install

설명 보기 ▼

Install JavaScript dependencies for a project from `package.json`.

bun {{[i|install]}}

Install all dependencies listed in `package.json`:

bun {{[i|install]}} {{package_name}}@{{version}}

Install a single package (this is an alias for `bun add`):

bun {{[i|install]}} {{[-g|--global]}} {{package_name}}

Install a package globally:

🔍

bun link

설명 보기 ▼

Register a local package as linkable or link a registered package into a project.
See also: `bun unlink`.

bun link

Link the current package globally:

bun link {{package_name}}

Link a package locally to a project:

bun link --cwd {{path/to/package}}

Link a package in a specific directory:

🔍

bun run

설명 보기 ▼

Execute a JavaScript/TypeScript file, or a script from `package.json`.

bun run {{script_name}}

Run a script defined in `package.json`:

bun run {{path/to/file.ts}}

Run a JavaScript or TypeScript file directly:

bun run --watch {{path/to/file.ts}}

Run a file in "watch" mode (restarts automatically when the file changes):

🔍

bun test

설명 보기 ▼

Run tests using Bun's built-in test runner.
It is a fast, Jest-compatible test runner that looks for `*.test.ts` (and similar) files.

bun test

Run all test files found in the project:

bun test {{path/to/file.test.ts}}

Run a specific test file or directory:

bun test --watch

Run tests in "watch" mode (re-runs automatically on file changes):

🔍

standard

설명 보기 ▼

JavaScript 코드의 린트 및 수정을 위한 JavaScript Standard Style 도구.
더 많은 정보: <https://standardjs.com/#usage>.

standard

현재 디렉토리의 모든 JavaScript 소스 파일을 린트:

standard {{path/to/file1 path/to/file2 ...}}

특정 JavaScript 파일(들)을 린트:

standard --fix

린트 시 자동 수정 적용:

// repository documentation