We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43f2917 commit 2060c36Copy full SHA for 2060c36
README.md
@@ -1,2 +1,17 @@
1
# js-common
2
-common Javascript code for frontend development
+A common Javascript code for MyCoRe frontend development.
3
+
4
+## Add package
5
+```
6
+npx jsr add @mycore/js-common
7
8
9
+## Usage example
10
+```ts
11
+import { LangService } from '@mycore/js-common/i18n';
12
13
+const langService = new LangService(BASE_URL);
14
+console.log(langService.getLanguages());
15
16
17
jsr.json
@@ -1,6 +1,6 @@
{
"name": "@mycore-test/js-common",
- "version": "0.1.23",
+ "version": "0.1.24",
"exports": {
"./i18n": "./src/i18n/index.ts",
"./access-key": "./src/access-key/index.ts",
0 commit comments