mirror of
https://github.com/garraflavatra/alphabets.git
synced 2025-07-07 12:44:05 +00:00
Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
eacc0b86ae | |||
b9169aabe2 | |||
7c8b42f067 | |||
ab50d7301e | |||
b58eba1417 | |||
2a329830d0 | |||
c789449393 | |||
3364636f73 | |||
01b5679f9d | |||
3a58eccea7 | |||
ffda23bd62 | |||
aecc3b475a | |||
2fe7b89fe6 | |||
2eab0d55f0 | |||
267cd04246 | |||
4ccd2860bd | |||
2eb73e84ff | |||
65b8f98669 | |||
16f6c530fe | |||
0c0a4b472e | |||
29f8b7c00a | |||
7594ec384a | |||
2b8d5b020a | |||
c0eeabca7c | |||
3d2e84a7fb | |||
ed42e0c00b | |||
adef5bd0a2 | |||
066be5ad41 |
38
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
38
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Describe the bug**
|
||||||
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
|
**To Reproduce**
|
||||||
|
Steps to reproduce the behavior:
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '....'
|
||||||
|
3. Scroll down to '....'
|
||||||
|
4. See error
|
||||||
|
|
||||||
|
**Expected behavior**
|
||||||
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
|
**Screenshots**
|
||||||
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
|
**Desktop (please complete the following information):**
|
||||||
|
- OS: [e.g. iOS]
|
||||||
|
- Browser [e.g. chrome, safari]
|
||||||
|
- Version [e.g. 22]
|
||||||
|
|
||||||
|
**Smartphone (please complete the following information):**
|
||||||
|
- Device: [e.g. iPhone6]
|
||||||
|
- OS: [e.g. iOS8.1]
|
||||||
|
- Browser [e.g. stock browser, safari]
|
||||||
|
- Version [e.g. 22]
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context about the problem here.
|
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea for this project
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Is your feature request related to a problem? Please describe.**
|
||||||
|
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||||
|
|
||||||
|
**Describe the solution you'd like**
|
||||||
|
A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
|
**Describe alternatives you've considered**
|
||||||
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context or screenshots about the feature request here.
|
@ -1,12 +1,17 @@
|
|||||||
# Alphabets
|
# Alphabets
|
||||||
|
|
||||||
[](https://github.com/garraflavatra/alphabets/actions/workflows/test.yml)
|
[](https://github.com/garraflavatra/alphabets/actions/workflows/test.yml)
|
||||||
|
[](https://www.npmjs.com/package/alphabets)
|
||||||
|
[](https://www.npmjs.com/package/alphabets)
|
||||||
|
[](https://github.com/garraflavatra/alphabets)
|
||||||
|
[](https://github.com/garraflavatra/alphabets)
|
||||||
|
|
||||||
|
|
||||||
A tiny JS dependency (<2kb!) which exports many alphabets for many use
|
A tiny JS dependency (<2kb!) which exports many alphabets for many use
|
||||||
cases.
|
cases.
|
||||||
|
|
||||||
More information is available in the
|
More information is available in the
|
||||||
[documentation](https://alphabets.romeinvanburen.nl).
|
[documentation](https://projects.romeinvanburen.nl/alphabets/).
|
||||||
|
|
||||||
## Why would I use this?
|
## Why would I use this?
|
||||||
|
|
||||||
@ -85,4 +90,5 @@ Usage: see [Usage](#usage).
|
|||||||
| Icelandic | `icelandic` |
|
| Icelandic | `icelandic` |
|
||||||
| Latin | `latin` |
|
| Latin | `latin` |
|
||||||
| Norwegian | `norwegian` |
|
| Norwegian | `norwegian` |
|
||||||
|
| Russian | `russian` |
|
||||||
| Swedish | `swedish` |
|
| Swedish | `swedish` |
|
||||||
|
@ -1 +0,0 @@
|
|||||||
alphabets.romeinvanburen.nl
|
|
@ -7,7 +7,7 @@ GEM
|
|||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 1.1)
|
||||||
zeitwerk (~> 2.2, >= 2.2.2)
|
zeitwerk (~> 2.2, >= 2.2.2)
|
||||||
addressable (2.7.0)
|
addressable (2.8.0)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
coffee-script (2.4.1)
|
coffee-script (2.4.1)
|
||||||
coffee-script-source
|
coffee-script-source
|
||||||
@ -225,6 +225,8 @@ GEM
|
|||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
nokogiri (1.11.5-x86_64-darwin)
|
nokogiri (1.11.5-x86_64-darwin)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.11.5-x86_64-linux)
|
||||||
|
racc (~> 1.4)
|
||||||
octokit (4.21.0)
|
octokit (4.21.0)
|
||||||
faraday (>= 0.9)
|
faraday (>= 0.9)
|
||||||
sawyer (~> 0.8.0, >= 0.5.3)
|
sawyer (~> 0.8.0, >= 0.5.3)
|
||||||
@ -267,6 +269,7 @@ GEM
|
|||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
universal-darwin-20
|
universal-darwin-20
|
||||||
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
github-pages
|
github-pages
|
||||||
|
@ -35,4 +35,6 @@ defaults:
|
|||||||
values:
|
values:
|
||||||
layout: single
|
layout: single
|
||||||
toc: true
|
toc: true
|
||||||
|
sidebar:
|
||||||
|
nav: "docs"
|
||||||
|
|
@ -1,3 +1,25 @@
|
|||||||
main:
|
main:
|
||||||
|
- title: "Forums"
|
||||||
|
url: https://github.com/garraflavatra/alphabets/discussions
|
||||||
- title: "GitHub"
|
- title: "GitHub"
|
||||||
url: https://github.com/garraflavatra/alphabets
|
url: https://github.com/garraflavatra/alphabets
|
||||||
|
|
||||||
|
docs:
|
||||||
|
- title: About
|
||||||
|
children:
|
||||||
|
- title: Why would I use this?
|
||||||
|
url: /about/why
|
||||||
|
- title: Alternatives
|
||||||
|
url: /about/alternatives
|
||||||
|
- title: Usage
|
||||||
|
children:
|
||||||
|
- title: Installation
|
||||||
|
url: /usage/installation
|
||||||
|
- title: Usage
|
||||||
|
url: /usage/usage
|
||||||
|
- title: Advanced
|
||||||
|
url: /usage/advanced
|
||||||
|
- title: API
|
||||||
|
children:
|
||||||
|
- title: Supported alphabets
|
||||||
|
url: /api/supported-alphabets
|
||||||
|
29
docs/about/alternatives.md
Normal file
29
docs/about/alternatives.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
title: Alternatives to Alphabets
|
||||||
|
---
|
||||||
|
|
||||||
|
Know more alternatives? Please open an
|
||||||
|
[issue](https://github.com/garraflavatra/alphabet.js/issues/new) or
|
||||||
|
[pull request](https://github.com/garraflavatra/alphabet.js)!
|
||||||
|
{: .notice--info}
|
||||||
|
|
||||||
|
## [alphabet](https://www.npmjs.com/package/alphabet)
|
||||||
|
|
||||||
|
(whithout trailing `s`)
|
||||||
|
|
||||||
|
I do not say this package doesn't work. I think it will work perfectly, but it
|
||||||
|
has less features:
|
||||||
|
{: .notice--warning}
|
||||||
|
|
||||||
|
Seems a good alternative, right? But:
|
||||||
|
|
||||||
|
* It only supports the Latin alphabet.
|
||||||
|
* It is larger. (The size is equal to this package's size, but this package
|
||||||
|
includes more.)
|
||||||
|
* It is only [CommonJS](https://en.wikipedia.org/wiki/CommonJS) and not
|
||||||
|
[ECMAScript](https://en.wikipedia.org/wiki/ECMAScript) etc.
|
||||||
|
* When did the author last update it? Right.
|
||||||
|
<figure>
|
||||||
|
<img src="https://projects.romeinvanburen.nl/alphabets/images/competitors/alphabet-last-publish.png" alt="Last updated: 6 years ago">
|
||||||
|
<figcaption>Hmmm...</figcaption>
|
||||||
|
</figure>
|
44
docs/about/why.md
Normal file
44
docs/about/why.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
title: Why would I use this?
|
||||||
|
---
|
||||||
|
|
||||||
|
I have seen developers doing this:
|
||||||
|
|
||||||
|
```js
|
||||||
|
const alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('');
|
||||||
|
```
|
||||||
|
|
||||||
|
Or worse:
|
||||||
|
|
||||||
|
```js
|
||||||
|
const alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
||||||
|
```
|
||||||
|
|
||||||
|
My opinion about this? 🙄. It's ugly, it makes your code less readable
|
||||||
|
(read: ugly) and it's simply not something you should want to have in your
|
||||||
|
code! Instead, you should do it like so:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import { latin } from 'alphabets';
|
||||||
|
// or
|
||||||
|
const alphabets = require('alphabets');
|
||||||
|
```
|
||||||
|
|
||||||
|
Much cleaner, right? That's why I made this package.
|
||||||
|
|
||||||
|
## Why not?
|
||||||
|
|
||||||
|
I see very few reasons not to use this package.
|
||||||
|
|
||||||
|
### But doesn't it cost me performance?
|
||||||
|
|
||||||
|
No. This package is only <800 bytes so it should not cost you any performance.
|
||||||
|
Neither via [CDN](/usage/installation/#cdn) nor if you use a bundler like
|
||||||
|
webpack, Parcel or Rollup.
|
||||||
|
|
||||||
|
### Why not making an array on my own?
|
||||||
|
|
||||||
|
It's a choice. This whole package is **opinionated**. *I* think you should not
|
||||||
|
do `const alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('');` in your code. *I*
|
||||||
|
think you should use a package for that. Do you think it's OK to define your own
|
||||||
|
alphabet array? Do that!
|
18
docs/api/supported-alphabets.md
Normal file
18
docs/api/supported-alphabets.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
title: Supported alphabets
|
||||||
|
toc: false
|
||||||
|
---
|
||||||
|
|
||||||
|
Usage: see [Usage](#usage).
|
||||||
|
|
||||||
|
| Name | Export name |
|
||||||
|
|------|-------------|
|
||||||
|
| Danish | `danish` |
|
||||||
|
| Faroese | `faroese` |
|
||||||
|
| Greek (modern) | `greek` |
|
||||||
|
| Greek (ancient/polytonic) | `greekPolytonic` |
|
||||||
|
| Icelandic | `icelandic` |
|
||||||
|
| Latin | `latin` |
|
||||||
|
| Norwegian | `norwegian` |
|
||||||
|
| Russian | `russian` |
|
||||||
|
| Swedish | `swedish` |
|
133
docs/index.md
133
docs/index.md
@ -1,133 +1,16 @@
|
|||||||
---
|
---
|
||||||
title: Alphabets
|
title: Alphabets
|
||||||
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
A tiny JS dependency (<2kb!) which exports many alphabets for many use
|
A tiny JS dependency (<2kb!) which exports many alphabet arrays for many use
|
||||||
cases.
|
cases.
|
||||||
|
|
||||||
[](https://github.com/garraflavatra/alphabets/actions/workflows/test.yml)
|
[](https://github.com/garraflavatra/alphabets/actions/workflows/test.yml)
|
||||||
|
[](https://www.npmjs.com/package/alphabets)
|
||||||
|
[](https://www.npmjs.com/package/alphabets)
|
||||||
|
[](https://github.com/garraflavatra/alphabets)
|
||||||
|
[](https://github.com/garraflavatra/alphabets)
|
||||||
|
|
||||||
## Why would I use this?
|
Are you convinced [why to use this](about/why)? Get started
|
||||||
|
[here](usage/installation)!
|
||||||
### Why?
|
|
||||||
|
|
||||||
I have seen developers doing this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
const alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('');
|
|
||||||
```
|
|
||||||
|
|
||||||
Or worse:
|
|
||||||
|
|
||||||
```js
|
|
||||||
const alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
|
||||||
```
|
|
||||||
|
|
||||||
My opinion about this? 🙄. It's ugly, it makes your code less readable
|
|
||||||
(read: ugly) and it's simply not something you should want to have in your
|
|
||||||
code! Instead, you should do it like so:
|
|
||||||
|
|
||||||
```js
|
|
||||||
import { latin } from 'alphabets';
|
|
||||||
// or
|
|
||||||
const alphabets = require('alphabets');
|
|
||||||
```
|
|
||||||
|
|
||||||
Much cleaner, right? That's why I made this package.
|
|
||||||
|
|
||||||
### Why not?
|
|
||||||
|
|
||||||
I see very few reasons not to use this package.
|
|
||||||
|
|
||||||
#### But doesn't it cost me performance?
|
|
||||||
|
|
||||||
No. This package is only <800 bytes so it should not cost you any performance.
|
|
||||||
Neither via CDN nor if you use a bundler like webpack, Parcel or Rollup.
|
|
||||||
|
|
||||||
#### Why not making an array on my own?
|
|
||||||
|
|
||||||
It's a choice. This whole package is **opinionated**. *I* think you should not
|
|
||||||
do `const alphabet = 'abcdefghijklmnopqrstuvwxyz'.split('');` in your code. *I*
|
|
||||||
think you should use a package for that. Do you think it's OK to define your own
|
|
||||||
alphabet array? Do that!
|
|
||||||
|
|
||||||
### Competitors
|
|
||||||
|
|
||||||
Know more alternatives? Please open an
|
|
||||||
[issue](https://github.com/garraflavatra/alphabet.js/issues/new) or
|
|
||||||
[pull request](https://github.com/garraflavatra/alphabet.js)!
|
|
||||||
{: .notice--info}
|
|
||||||
|
|
||||||
#### [alphabet](https://www.npmjs.com/package/alphabet)
|
|
||||||
|
|
||||||
Seems a good alternative, right? But:
|
|
||||||
|
|
||||||
* It only supports the Latin alphabet.
|
|
||||||
* It is larger. (The size is equal to this package's size, but this package
|
|
||||||
includes more.)
|
|
||||||
* It is only [CommonJS](https://en.wikipedia.org/wiki/CommonJS) and not
|
|
||||||
[ECMAScript](https://en.wikipedia.org/wiki/ECMAScript) etc.
|
|
||||||
* When did the author last update it? Right.
|
|
||||||
<figure>
|
|
||||||
<img src="/images/competitors/alphabet-last-publish.png" alt="Last updated: 6 years ago">
|
|
||||||
<figcaption>Hmmm...</figcaption>
|
|
||||||
</figure>
|
|
||||||
|
|
||||||
I do not say this package doesn't work. I think it will work perfectly, but it
|
|
||||||
has less features.
|
|
||||||
{: .notice--warning}
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
### Installation
|
|
||||||
|
|
||||||
Use npm:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install alphabets --save
|
|
||||||
```
|
|
||||||
|
|
||||||
Or if you prefer Yarn:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
yarn add alphabets
|
|
||||||
```
|
|
||||||
|
|
||||||
CDN, if that's more your style:
|
|
||||||
|
|
||||||
```html
|
|
||||||
<script src="https://unpkg.com/alphabet@1/dist/bundle.js"></script>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Usage
|
|
||||||
|
|
||||||
```js
|
|
||||||
import { <alphabetYouWantToUse> } from 'alphabets';
|
|
||||||
```
|
|
||||||
|
|
||||||
or:
|
|
||||||
|
|
||||||
```js
|
|
||||||
const alphabets = require('alphabets');
|
|
||||||
console.log(alphabets.<alphabetYouWantToUse>);
|
|
||||||
```
|
|
||||||
|
|
||||||
where `<alphabetYouWantToUse>` is an alphabet this package supports.
|
|
||||||
[Here](#supported-alphabets) is a list from which you can choose.
|
|
||||||
|
|
||||||
## API
|
|
||||||
|
|
||||||
### Supported alphabets
|
|
||||||
|
|
||||||
Usage: see [Usage](#usage).
|
|
||||||
|
|
||||||
| Name | Export name |
|
|
||||||
|------|-------------|
|
|
||||||
| Danish | `danish` |
|
|
||||||
| Faroese | `faroese` |
|
|
||||||
| Greek (modern) | `greek` |
|
|
||||||
| Greek (ancient/polytonic) | `greekPolytonic` |
|
|
||||||
| Icelandic | `icelandic` |
|
|
||||||
| Latin | `latin` |
|
|
||||||
| Norwegian | `norwegian` |
|
|
||||||
| Swedish | `swedish` |
|
|
||||||
|
17
docs/usage/advanced.md
Normal file
17
docs/usage/advanced.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
title: Advanced usage
|
||||||
|
---
|
||||||
|
|
||||||
|
## Alphabet as a string
|
||||||
|
|
||||||
|
```js
|
||||||
|
alphabet.join('')[0];
|
||||||
|
//=> 'abcdefghijklmnopqrstuvwxyz'
|
||||||
|
```
|
||||||
|
|
||||||
|
## Uppercase
|
||||||
|
|
||||||
|
```js
|
||||||
|
alphabet.toUpperCase();
|
||||||
|
//=> ["Α", "Β", "Γ", "Δ", "Ε", "Ζ", "Η", "Θ", "Ι", "Κ", "Λ", "Μ", "Ν", "Ξ", "Ο", "Π", "Ρ", "Σ", "Τ", "Υ", "Φ", "Χ", "Ψ", "Ω"]
|
||||||
|
```
|
21
docs/usage/installation.md
Normal file
21
docs/usage/installation.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: Installation
|
||||||
|
---
|
||||||
|
|
||||||
|
## npm
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install alphabets --save
|
||||||
|
```
|
||||||
|
|
||||||
|
## Yarn
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn add alphabets
|
||||||
|
```
|
||||||
|
|
||||||
|
## CDN
|
||||||
|
|
||||||
|
```html
|
||||||
|
<script src="https://unpkg.com/alphabet@1/dist/bundle.js"></script>
|
||||||
|
```
|
18
docs/usage/usage.md
Normal file
18
docs/usage/usage.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
title: Usage
|
||||||
|
toc: false
|
||||||
|
---
|
||||||
|
|
||||||
|
```js
|
||||||
|
import { <alphabetYouWantToUse> } from 'alphabets';
|
||||||
|
```
|
||||||
|
|
||||||
|
or:
|
||||||
|
|
||||||
|
```js
|
||||||
|
const alphabets = require('alphabets');
|
||||||
|
console.log(alphabets.<alphabetYouWantToUse>);
|
||||||
|
```
|
||||||
|
|
||||||
|
where `<alphabetYouWantToUse>` is an alphabet this package supports.
|
||||||
|
[Here](/api/supported-alphabets) is a list from which you can choose.
|
6816
package-lock.json
generated
6816
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "alphabets",
|
"name": "alphabets",
|
||||||
"version": "1.1.0",
|
"version": "1.2.0",
|
||||||
"description": "Exports many alphabets for many use cases",
|
"description": "Exports many alphabets for many use cases",
|
||||||
"main": "dist/bundle.js",
|
"main": "dist/bundle.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -11,14 +11,14 @@
|
|||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Romein van Buren <romein@vburen.eu>",
|
"author": "Romein van Buren <romein@vburen.eu>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://alphabets.romeinvanburen.nl",
|
"homepage": "https://projects.romeinvanburen.nl/alphabets/",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/garraflavatra/alphabets.git"
|
"url": "https://github.com/garraflavatra/alphabets.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"husky": "^6.0.0",
|
"husky": "^7.0.1",
|
||||||
"jest": "^26.6.3",
|
"jest": "^27.0.1",
|
||||||
"rollup": "^2.49.0",
|
"rollup": "^2.49.0",
|
||||||
"rollup-plugin-clear": "^2.0.7",
|
"rollup-plugin-clear": "^2.0.7",
|
||||||
"rollup-plugin-terser": "^7.0.2"
|
"rollup-plugin-terser": "^7.0.2"
|
||||||
|
14
src/main.js
14
src/main.js
@ -1,12 +1,13 @@
|
|||||||
export const danish = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'æ', 'ø', 'å'];
|
export const danish = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "æ", "ø", "å"];
|
||||||
export const elfadian = ['a', 'ą', 'b', 'd', 'ð', 'e', 'ę', 'f', 'g', 'h', 'i', 'į', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'r', 's', 't', 'u', 'ų', 'v', 'w', 'y', 'y̨', 'å', 'ą̊', 'ä', 'ö'];
|
export const elfadian = ["a", "ą", "b", "d", "ð", "e", "ę", "f", "g", "h", "i", "į", "j", "k", "l", "m", "n", "o", "p", "r", "s", "t", "u", "ų", "v", "w", "y", "y̨", "å", "ą̊", "ä", "ö"];
|
||||||
export const faroese = ['a', 'á', 'b', 'd', 'ð', 'e', 'f', 'g', 'h', 'i', 'í', 'j', 'k', 'l', 'm', 'n', 'o', 'ó', 'p', 'r', 's', 't', 'u', 'ú', 'v', 'y', 'ý', 'æ', 'ø'];
|
export const faroese = ["a", "á", "b", "d", "ð", "e", "f", "g", "h", "i", "í", "j", "k", "l", "m", "n", "o", "ó", "p", "r", "s", "t", "u", "ú", "v", "y", "ý", "æ", "ø"];
|
||||||
export const greek = ["α", "β", "γ", "δ", "ε", "ζ", "η", "θ", "ι", "κ", "λ", "μ", "ν", "ξ", "ο", "π", "ρ", "σ", "τ", "υ", "φ", "χ", "ψ", "ω"];
|
export const greek = ["α", "β", "γ", "δ", "ε", "ζ", "η", "θ", "ι", "κ", "λ", "μ", "ν", "ξ", "ο", "π", "ρ", "σ", "τ", "υ", "φ", "χ", "ψ", "ω"];
|
||||||
export const greekPolytonic = ["α", "β", "γ", "δ", "ε", "ζ", "η", "θ", "ι", "κ", "λ", "μ", "ν", "ξ", "ο", "π", "ρ", "σ", "τ", "υ", "φ", "χ", "ψ", "ω"];
|
export const greekPolytonic = ["α", "β", "γ", "δ", "ε", "ζ", "η", "θ", "ι", "κ", "λ", "μ", "ν", "ξ", "ο", "π", "ρ", "σ", "τ", "υ", "φ", "χ", "ψ", "ω"];
|
||||||
export const icelandic = ['a', 'á', 'b', 'd', 'ð', 'e', 'é', 'f', 'g', 'h', 'i', 'í', 'j', 'k', 'l', 'm', 'n', 'o', 'ó', 'p', 'r', 's', 't', 'u', 'ú', 'v', 'x', 'y', 'ý', 'þ', 'æ', 'ö'];
|
export const icelandic = ["a", "á", "b", "d", "ð", "e", "é", "f", "g", "h", "i", "í", "j", "k", "l", "m", "n", "o", "ó", "p", "r", "s", "t", "u", "ú", "v", "x", "y", "ý", "þ", "æ", "ö"];
|
||||||
export const latin = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
export const latin = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
||||||
export const norwegian = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'æ', 'ø', 'å'];
|
export const norwegian = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "æ", "ø", "å"];
|
||||||
export const swedish = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'å', 'ä', 'ö'];
|
export const russian = ["а", "б", "в", "г", "д", "е", "ё", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я"];
|
||||||
|
export const swedish = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "å", "ä", "ö"];
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
danish,
|
danish,
|
||||||
@ -17,5 +18,6 @@ export default [
|
|||||||
icelandic,
|
icelandic,
|
||||||
latin,
|
latin,
|
||||||
norwegian,
|
norwegian,
|
||||||
|
russian,
|
||||||
swedish,
|
swedish,
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user