JSgeist Client is a JavaScript package that abstracts the application layer protocol Zeitgeist implementation on the client side.
See here to look into the core implementation of the protocol.
.
├── core -> zeitgeist_core
├── adapter
├── jsgeist_client
└── testsUsing npm:
npm install jsgeist_clientUsing bower:
bower install jsgeist_clientUsing yarn:
yarn add jsgeist_clientUsing pnpm:
pnpm add jsgeist_clientUsing bun:
bun add jsgeist_clientimport { Client } from 'jsgeist_client';
// or require('jsgeist_client') if module type is commonjs
const client = new Client();
await client.link("localhost", 8000);
const response = await client.get('/');
await client.unlink();