0.0.12 • Published 4 months ago

logdb-client v0.0.12

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

Getting Started

This guide will help you get started with logdb-client in a few easy steps

Installation

To begin, you'll need to install package

via npm

$ npm i logdb-client

via yarn

$ yarn add logdb-client

via bun

$ bun i logdb-client

Basic Usage

Here's a simple example to get you started

Import

First, import the library into your project

import { LogDB } from 'logdb-client' // ESM
// or
const { LogDB } = require('logdb-client') // CJS

Example Code

Here's a basic example demonstrating how to use logdb-client

import { LogDB } from 'logdb-client'

const logDB = new LogDB({
  url: 'https://your-logdb-server.com',
  token: 'secret-token-here',
})


logDB.on('event', (event: EventContext) => {
	console.log(event.id, event.type)
})

logDB.listen() // run for listen events

Go to documentation for more.

0.0.10

4 months ago

0.0.12

4 months ago

0.0.9

7 months ago

0.0.8

10 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago