mirror of
https://github.com/toss/es-toolkit.git
synced 2024-12-26 01:12:56 +03:00
docs: Update Korean docs for JSR installation in deno
This commit is contained in:
parent
6c776a49f1
commit
2615cab8f5
@ -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';
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user