Tolgee core library

Core library of Tolgee localization toolkit. For more information about Tolgee, visit our documentation website
https://toolkit.tolgee.io.
Installation
npm install @tolgee/core --save
Usage
First, create a Tolgee instance and run it.
import {Tolgee} from "@tolgee/core";
const tg = new Tolgee({
apiKey: "your_api_key",
apiUrl: "https://app.tolgee.io",
})
tg.run();
Then, use it to translate your strings.
tg.onLangLoaded.subscribe(() => {
document.title = tg.translate("hello_world");
});
To learn more, check Hello World example.