@keymanapp/langtags 19.0.146-alpha → 19.0.152-alpha

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.
Files changed (2) hide show
  1. package/README.md +38 -38
  2. package/package.json +41 -40
package/README.md CHANGED
@@ -1,38 +1,38 @@
1
- # Keyman langtags
2
-
3
- This package provides a wrapper for the
4
- [langtags.json](https://ldml.api.sil.org/langtags.json) dataset from
5
- https://github.com/silnrsi/langtags.
6
-
7
- This package is published in sync with Keyman, so changes in langtags may not
8
- propagate immediately.
9
-
10
- ## Usage
11
-
12
- * `getLangtagByTag(tag)`: Find a language tag from a given tag; matches on tag,
13
- tags, full properties, with a case-insensitive search. Returns unmodified
14
- object from langtags.json on match.
15
-
16
- * `metadata.conformance()`: Returns script and region conformance data from
17
- langtags.json
18
-
19
- * `metadata.globalvar()`: Returns global variant data from langtags.json
20
-
21
- * `metadata.phonvar()`: Returns phonetic variant data from langtags.json
22
-
23
- * `metadata.version()`: Returns version data from langtags.json
24
-
25
- * `langtags`: Raw access to the langtags.json array of objects
26
-
27
- ## Background
28
-
29
- Key documents for further reading (from langtags repository):
30
-
31
- * [Overview of language tags and how this project works with them](https://github.com/silnrsi/langtags/blob/master/doc/tagging.md)
32
-
33
- * [How to use langtags.json](https://github.com/silnrsi/langtags/blob/master/doc/langtags.md)
34
-
35
- ## License
36
-
37
- * Copyright ©️ 2025 SIL Global.
38
- * MIT License ([License text](https://github.com/keymanapp/keyman/tree/master/LICENSE.md))
1
+ # Keyman langtags
2
+
3
+ This package provides a wrapper for the
4
+ [langtags.json](https://ldml.api.sil.org/langtags.json) dataset from
5
+ https://github.com/silnrsi/langtags.
6
+
7
+ This package is published in sync with Keyman, so changes in langtags may not
8
+ propagate immediately.
9
+
10
+ ## Usage
11
+
12
+ * `getLangtagByTag(tag)`: Find a language tag from a given tag; matches on tag,
13
+ tags, full properties, with a case-insensitive search. Returns unmodified
14
+ object from langtags.json on match.
15
+
16
+ * `metadata.conformance()`: Returns script and region conformance data from
17
+ langtags.json
18
+
19
+ * `metadata.globalvar()`: Returns global variant data from langtags.json
20
+
21
+ * `metadata.phonvar()`: Returns phonetic variant data from langtags.json
22
+
23
+ * `metadata.version()`: Returns version data from langtags.json
24
+
25
+ * `langtags`: Raw access to the langtags.json array of objects
26
+
27
+ ## Background
28
+
29
+ Key documents for further reading (from langtags repository):
30
+
31
+ * [Overview of language tags and how this project works with them](https://github.com/silnrsi/langtags/blob/master/doc/tagging.md)
32
+
33
+ * [How to use langtags.json](https://github.com/silnrsi/langtags/blob/master/doc/langtags.md)
34
+
35
+ ## License
36
+
37
+ * Copyright ©️ 2025 SIL Global.
38
+ * MIT License ([License text](https://github.com/keymanapp/keyman/tree/master/LICENSE.md))
package/package.json CHANGED
@@ -1,40 +1,41 @@
1
- {
2
- "name": "@keymanapp/langtags",
3
- "description": "Keyman bundling of language tags from langtags.json",
4
- "keywords": [
5
- "keyboard",
6
- "keyman",
7
- "ldml",
8
- "unicode"
9
- ],
10
- "type": "module",
11
- "types": "./build/src/main.d.ts",
12
- "exports": {
13
- ".": {
14
- "es6-bundling": "./src/main.ts",
15
- "types": "./build/src/main.d.ts",
16
- "default": "./build/src/main.js"
17
- }
18
- },
19
- "files": [
20
- "/build/src/"
21
- ],
22
- "scripts": {
23
- "build": "tsc -b",
24
- "test": "echo no tests for langtags"
25
- },
26
- "author": "Marc Durdin <marc@keyman.com> (https://github.com/mcdurdin)",
27
- "license": "MIT",
28
- "bugs": {
29
- "url": "https://github.com/keymanapp/keyman/issues"
30
- },
31
- "devDependencies": {
32
- "typescript": "^5.4.5"
33
- },
34
- "repository": {
35
- "type": "git",
36
- "url": "git+https://github.com/keymanapp/keyman.git"
37
- },
38
- "sideEffects": false,
39
- "version": "19.0.146-alpha"
40
- }
1
+ {
2
+ "name": "@keymanapp/langtags",
3
+ "description": "Keyman bundling of language tags from langtags.json",
4
+ "keywords": [
5
+ "keyboard",
6
+ "keyman",
7
+ "ldml",
8
+ "unicode"
9
+ ],
10
+ "type": "module",
11
+ "types": "./build/src/main.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "es6-bundling": "./src/main.ts",
15
+ "types": "./build/src/main.d.ts",
16
+ "default": "./build/src/main.js"
17
+ }
18
+ },
19
+ "files": [
20
+ "/build/src/"
21
+ ],
22
+ "scripts": {
23
+ "build": "tsc -b",
24
+ "test": "echo no tests for langtags"
25
+ },
26
+ "author": "Marc Durdin <marc@keyman.com> (https://github.com/mcdurdin)",
27
+ "license": "MIT",
28
+ "bugs": {
29
+ "url": "https://github.com/keymanapp/keyman/issues"
30
+ },
31
+ "devDependencies": {
32
+ "typescript": "^5.4.5"
33
+ },
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/keymanapp/keyman.git",
37
+ "directory": "common/web/langtags"
38
+ },
39
+ "sideEffects": false,
40
+ "version": "19.0.152-alpha"
41
+ }