j-balance

```js const getClient = require('./example/eureka');

Usage no npm install needed!

<script type="module">
  import jBalance from 'https://cdn.skypack.dev/j-balance';
</script>

README

j-balancer

const getClient = require('./example/eureka');

getClient({
    discovery: {
        url: '/eureka/v1/apps',
        hosts: ['http://localhost:7777']
    }
})
    .getService('PROJECTS-API')
    .get('/projects')
    .then((res) => {
        console.log(`RESULT`);
        console.log(res.response);
    })
    .catch((err) => {
        console.log(`ERROR`);
        console.log(err);
    });