taraskevizer 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,11 +9,11 @@ $ npm i taraskevizer
|
|
|
9
9
|
```js
|
|
10
10
|
import { tarask, taraskToHtml, ALPHABET, J, VARIATION } from 'taraskevizer';
|
|
11
11
|
|
|
12
|
-
const taraskedText = tarask(
|
|
13
|
-
//
|
|
12
|
+
const taraskedText = tarask('планета');
|
|
13
|
+
// плянэта
|
|
14
14
|
|
|
15
15
|
const taraskedText = tarask(
|
|
16
|
-
|
|
16
|
+
'планета і Гродна',
|
|
17
17
|
{
|
|
18
18
|
abc: ALPHABET.CYRILLIC,
|
|
19
19
|
j: J.ALWAYS,
|
|
@@ -24,10 +24,10 @@ const taraskedText = tarask(
|
|
|
24
24
|
h: false,
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
|
-
//
|
|
27
|
+
// 'пл\x1b[32mя\x1b[0mн\x1b[32mэ\x1b[0mта \x1b[32mй\x1b[0m \x1b[35mГорадня\x1b[0m'
|
|
28
28
|
|
|
29
|
-
const
|
|
30
|
-
|
|
29
|
+
const taraskedTextHtml = taraskToHtml(
|
|
30
|
+
'энергія планеты',
|
|
31
31
|
{
|
|
32
32
|
abc: ALPHABET.LATIN,
|
|
33
33
|
},
|
|
@@ -35,10 +35,10 @@ const taraskedText = taraskToHtml(
|
|
|
35
35
|
g: false, // ignored, because alphabet is set to latin
|
|
36
36
|
}
|
|
37
37
|
);
|
|
38
|
-
//
|
|
38
|
+
// en<tarF>erg</tarF>ija p<tarF>lan</tarF>ety
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
### Function signatures are in [this file](./dist/index.d.ts)
|
|
41
|
+
### Function signatures are in [this file](./dist/index.d.ts) (not available if project is not built)
|
|
42
42
|
|
|
43
43
|
## TaraskOptions
|
|
44
44
|
|