iggy-bin is an unofficial node.js client for iggy-rs's binary protocol, written with typescript. it currently only support tcp & tls transports.
diclaimer: although all iggy commands & basic client/stream are implemented this is still a WIP provided as is and has still a long way to go to be considered "battle tested".
$ npm i iggy-bin
import { Client } from 'iggy-bin';
const credentials = { username: 'iggy', password: 'iggy' };
const c = new Client({
transport: 'TCP',
options: { port: 8090, host: '127.0.0.1' },
credentials
});
const stats = await c.system.getStats();
$ npm ci
$ npm run build
$ npm run test