An official JavaScript SDK of MLDS (Machine Learning Distributed System).
import { getMldsClient } from '@mlds/publicapi-client';
const endpoint = 'https://mlds.example/api';
const token = 'mlds_user_xxxxxxxxxxxxx';
const client = getMldsClient(endpoint, token);
const { data } = await client.v1.v1Health();
console.log(data.ok);