open-index/open-npm huggingface dataset:
npm package: @kkbot/analytics-sdk
Description: A lightweight JavaScript analytics SDK for tracking user events and sending them to a custom analytics backend.
Latest version: 0.1.3

# @kkbot/analytics-sdk

A lightweight JavaScript analytics SDK for tracking user events and sending them to a custom analytics backend.

Designed for modern web apps (React, Next.js, Vanilla JS).

---

## Features

- Simple API: `init`, `identify`, `track`
- Anonymous + identified user tracking
- Browser-safe and SSR-safe (no server crashes)
- Works with any backend that accepts HTTP events
- Minimal footprint, zero dependencies

---

## Installation

```bash
npm install @kkbot/analytics-sdk