Function: createLibreTranslateClient()
createLibreTranslateClient(
options):LibreTranslateClient
Defined in: src/client.ts:152
Creates the client.
const lt = createLibreTranslateClient({ baseUrl: "http://localhost:5000" });
const { translatedText } = await lt.translate({ q: "Olá, mundo", source: "pt", target: "en" });