is-language-code 4.0.7 → 4.0.10
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 +4 -1
- package/dist/is-language-code.esm.js +2 -9285
- package/dist/is-language-code.umd.js +2 -2
- package/examples/_quickTake.js +1 -0
- package/examples/various.js +1 -0
- package/package.json +21 -76
- package/types/index.d.ts +0 -0
- package/examples/api.json +0 -1
package/README.md
CHANGED
|
@@ -38,6 +38,7 @@ If you need a legacy version which works with `require`, use version 3.1.0
|
|
|
38
38
|
|
|
39
39
|
```js
|
|
40
40
|
import { strict as assert } from "assert";
|
|
41
|
+
|
|
41
42
|
import { isLangCode } from "is-language-code";
|
|
42
43
|
|
|
43
44
|
assert.deepEqual(isLangCode("de-419-DE"), {
|
|
@@ -53,7 +54,7 @@ assert.deepEqual(isLangCode("sr-Latn"), {
|
|
|
53
54
|
|
|
54
55
|
## Documentation
|
|
55
56
|
|
|
56
|
-
Please [visit codsen.com](https://codsen.com/os/is-language-code/) for a full description of the API
|
|
57
|
+
Please [visit codsen.com](https://codsen.com/os/is-language-code/) for a full description of the API and even a test <a href="https://codsen.com/os/is-language-code/play">playground</a>.
|
|
57
58
|
|
|
58
59
|
## Contributing
|
|
59
60
|
|
|
@@ -65,4 +66,6 @@ MIT License
|
|
|
65
66
|
|
|
66
67
|
Copyright (c) 2010-2021 Roy Revelt and other contributors
|
|
67
68
|
|
|
69
|
+
|
|
68
70
|
<img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center">
|
|
71
|
+
|