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:
parent
66f6817a75
commit
e35cccfbd6
@ -1,6 +1,6 @@
|
|||||||
# [Unreleased]
|
# [Unreleased]
|
||||||
|
|
||||||
Added Polish alphabet.
|
Added Polish alphabet, plus support for Deno!
|
||||||
|
|
||||||
# [v2.0.4]
|
# [v2.0.4]
|
||||||
|
|
||||||
|
@ -31,6 +31,8 @@ Install the [alphabets npm module](https://www.npmjs.com/package/alphabets) usin
|
|||||||
* Yarn: `yarn add alphabets`
|
* Yarn: `yarn add alphabets`
|
||||||
* pnpm: `pnpm 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
|
## How to use
|
||||||
|
|
||||||
Replace `<alphabetYouWantToUse>` with an [alphabet identifier](#included-alphabets) this package exports:
|
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';
|
import { <alphabetYouWantToUse> } from 'alphabets';
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Deno:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import { <alphabetYouWantToUse> } from 'https://deno.land/x/alphabets/alphabets.mjs';
|
||||||
|
```
|
||||||
|
|
||||||
or:
|
or:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
Loading…
Reference in New Issue
Block a user