iggy-bin
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

iggy-bin

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".

install

$ npm i iggy-bin

basic usage

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();

use sources

Install

$ npm ci

build

$ npm run build

test

$ npm run test

Package Sidebar

Install

npm i iggy-bin

Weekly Downloads

8

Version

1.3.3

License

MIT

Unpacked Size

199 kB

Total Files

230

Last publish

Collaborators

  • t1b0-iggy