1
0
mirror of https://github.com/garraflavatra/alphabets.git synced 2025-01-18 13:17:59 +00:00

Add Deno support

This commit is contained in:
Romein van Buren 2023-08-08 21:49:05 +02:00
parent 66f6817a75
commit e35cccfbd6
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# [Unreleased]
Added Polish alphabet.
Added Polish alphabet, plus support for Deno!
# [v2.0.4]

View File

@ -31,6 +31,8 @@ Install the [alphabets npm module](https://www.npmjs.com/package/alphabets) usin
* Yarn: `yarn add alphabets`
* pnpm: `pnpm add alphabets`
You can also use it with [Deno](https://deno.land/) by importing `https://deno.land/x/alphabets/alphabets.mjs`.
## How to use
Replace `<alphabetYouWantToUse>` with an [alphabet identifier](#included-alphabets) this package exports:
@ -39,6 +41,12 @@ Replace `<alphabetYouWantToUse>` with an [alphabet identifier](#included-alphabe
import { <alphabetYouWantToUse> } from 'alphabets';
```
Deno:
```js
import { <alphabetYouWantToUse> } from 'https://deno.land/x/alphabets/alphabets.mjs';
```
or:
```js