markdown
Lint JavaScript code blocks in Markdown documents
파일 탐색기
- bug-report.yml
- change.yml
- config.yml
- docs.yml
- new-rule.yml
- rule-change.yml
- add-to-triage.yml
- ci-bun.yml
- ci-package-manager.yml
- ci.yml
- release-please.yml
- stale.yml
- update-readme.yml
- CODEOWNERS
- renovate.json5
- markdown.md
- fenced-code-language.md
- fenced-code-meta.md
- heading-increment.md
- no-bare-urls.md
- no-duplicate-definitions.md
- no-duplicate-headings.md
- no-empty-definitions.md
- no-empty-images.md
- no-empty-links.md
- no-html.md
- no-invalid-label-refs.md
- no-missing-atx-heading-space.md
- no-missing-label-refs.md
- no-missing-link-fragments.md
- no-multiple-h1.md
- no-reference-like-urls.md
- no-reversed-media-syntax.md
- no-space-in-emphasis.md
- no-unused-definitions.md
- require-alt-text.md
- table-column-count.md
- migration.md
- eslint.config.mjs
- package.json
- README.md
- eslint.config.mjs
- package.json
- README.md
- configure-file-name-from-block-meta.md
- markdown-language.js
- markdown-source-code.js
- fenced-code-language.js
- fenced-code-meta.js
- heading-increment.js
- no-bare-urls.js
- no-duplicate-definitions.js
- no-duplicate-headings.js
- no-empty-definitions.js
- no-empty-images.js
- no-empty-links.js
- no-html.js
- no-invalid-label-refs.js
- no-missing-atx-heading-space.js
- no-missing-label-refs.js
- no-missing-link-fragments.js
- no-multiple-h1.js
- no-reference-like-urls.js
- no-reversed-media-syntax.js
- no-space-in-emphasis.js
- no-unused-definitions.js
- require-alt-text.js
- table-column-count.js
- index.js
- processor.js
- types.js
- types.ts
- util.js
- all.test.js
- eslint.config.js
- eslintrc.json
- filename.md
- long.md
- recommended.js
- recommended.json
- markdown-language.test.js
- markdown-source-code.test.js
- exports.test.js
- fenced-code-language.test.js
- fenced-code-meta.test.js
- heading-increment.test.js
- no-bare-urls.test.js
- no-duplicate-definitions.test.js
- no-duplicate-headings.test.js
- no-empty-definitions.test.js
- no-empty-images.test.js
- no-empty-links.test.js
- no-html.test.js
- no-invalid-label-refs.test.js
- no-missing-atx-heading-space.test.js
- no-missing-label-refs.test.js
- no-missing-link-fragments.test.js
- no-multiple-h1.test.js
- no-reference-like-urls.test.js
- no-reversed-media-syntax.test.js
- no-space-in-emphasis.test.js
- no-unused-definitions.test.js
- require-alt-text.test.js
- table-column-count.test.js
- cjs-import.test.cts
- tsconfig.json
- tsconfig.legacy.json
- types.test.ts
- plugin.test.js
- processor.test.js
- util.test.js
- build-rules.js
- update-rules-docs.js
- .c8rc
- .editorconfig
- .git-blame-ignore-revs
- .gitignore
- .npmrc
- .prettierignore
- .release-please-manifest.json
- CHANGELOG.md
- eslint.config-content.js
- eslint.config.js
- jsr.json
- knip.json
- LICENSE
- package.json
- prettier.config.js
- README.md
- release-please-config.json
- screenshot.png
- tsconfig.json
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
bun add
설명 보기 ▼
bun add
Add and install new dependencies to the current project.
bun {{[a|add]}} {{package}}
Install a single package:
bun {{[a|add]}} {{package1 package2 ...}}
Install multiple packages:
bun {{[a|add]}} {{git_url}}
Install from a Git repository:
deno
설명 보기 ▼
deno
JavaScript, TypeScript, WebAssembly를 위한 보안 중심 런타임.
`npm` 또는 `jsr`를 통한 의존성 관리와 bench, bundle, doc, coverage 등의 도구를 포함.
더 많은 정보: <https://docs.deno.com/runtime/reference/cli/>.
deno
REPL(대화형 쉘, Read-Eval-Print Loop)을 시작:
deno init sample && cd sample && deno test
sample이라는 이름의 새로운 프로젝트 생성하고 테스트 실행:
deno run {{path/to/file.ts}}
파일을 안전하게 실행. (필요시 네트워크, 파일 읽기 등 권한 요청):
git clone
설명 보기 ▼
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:
npm install
설명 보기 ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm test
설명 보기 ▼
npm test
This command is an alias of `npm run test`.
tldr npm run
View documentation for the original command:
pnpm
설명 보기 ▼
pnpm
빠르고, 디스크 공간 효율적인 Node.js용 패키지 관리자.
Node.js 프로젝트 및 해당 모듈 의존성 관리.
더 많은 정보: <https://pnpm.io/pnpm-cli>.
pnpm init
`package.json` 파일 생성:
pnpm {{[i|install]}}
`package.json`에 의존성으로 나열된 모든 패키지를 다운로드:
pnpm add {{module_name}}@{{version}}
특정 버전의 패키지를 다운로드하여 `package.json`의 의존성 목록에 추가:
yarn
설명 보기 ▼
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` 추가):
