https://github.com/mycore-org/js-common
common Javascript code for frontend development
https://github.com/mycore-org/js-common
Last synced: 4 months ago
JSON representation
common Javascript code for frontend development
- Host: GitHub
- URL: https://github.com/mycore-org/js-common
- Owner: MyCoRe-Org
- Created: 2025-02-20T11:50:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-17T15:27:44.000Z (over 1 year ago)
- Last Synced: 2025-03-17T16:37:45.263Z (over 1 year ago)
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# js-common
A JavaScript library that provides essential utilities and reusable components to simplify development and enhance interaction with MyCoRe-based applications.
## Add package
### npm/yarn environment
```
npx jsr add @mycore/js-common
```
## Usage example
```ts
import { LangService } from '@mycore/js-common/i18n';
const langService = new LangService(BASE_URL);
console.log(langService.getLanguages());
```