diff --git a/docs/installation.md b/docs/installation.md index 99dd5ce0..e2a6e797 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -30,7 +30,7 @@ es-toolkit is also accessible via [JSR](https://jsr.io/@es-toolkit/es-toolkit) f deno add @es-toolkit/es-toolkit ``` -lease be aware that the package name includes an additional scope, distinct from npm, as per JSR restrictions. +Note that the package name includes an additional scope, distinct from npm, as per JSR restrictions. ```typescript import { sum } from '@es-toolkit/es-toolkit'; diff --git a/docs/ko/installation.md b/docs/ko/installation.md index 2b18dd8f..95afcbd1 100644 --- a/docs/ko/installation.md +++ b/docs/ko/installation.md @@ -24,10 +24,20 @@ pnpm install es-toolkit ## Deno -es-toolkit은 Deno도 지원해요. `npm:`을 이용해서 사용하세요. +## Deno + +es-toolkit을 Deno에서도 사용할 수 있어요. [JSR](https://jsr.io/@es-toolkit/es-toolkit)에서 아래 명령어로 설치하세요. + +```sh +deno add @es-toolkit/es-toolkit +``` + +Deno에서 사용하면, JSR에서의 제한으로 인해 NPM과 다르게 추가적인 Scope가 필요해요. ```typescript -import { chunk } from 'npm:es-toolkit@1.0.0'; +import { sum } from '@es-toolkit/es-toolkit'; + +sum([1, 2, 3]); ``` ## Bun