zeekayandHanzo Dev 7bb234fa32 ci: canonical pair — hanzo.yml + forge caller
github.com has no runner for hanzo-build-linux-amd64, so a caller under
.github/workflows is a gate that can never be scheduled. This is the ~7-line
caller on the plane that can (git.hanzo.ai git-runner fleet), pinned @v1.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-06 02:36:53 -07:00
Fix
2022-09-08 13:54:48 +02:00

Hanzo Insights Node.js SDK

Note: The Node.js SDK code has moved to hanzoai/insights-js — use @hanzo/insights-node instead.

Fork of PostHog/posthog-node (now deprecated upstream — code lives in posthog-js monorepo).

Install

npm install @hanzo/insights-node

Usage

import { Insights } from '@hanzo/insights-node'

const insights = new Insights('YOUR_API_KEY', {
  host: 'https://insights.hanzo.ai'
})

insights.capture({
  distinctId: 'user_123',
  event: 'signed_up',
  properties: { plan: 'pro' }
})

await insights.shutdown()

Upstream

This is a branded fork. Active development is in hanzoai/insights-js/packages/node.

To sync upstream:

git remote add upstream https://github.com/PostHog/posthog-node.git
git fetch upstream
git merge upstream/main
S
Description
Hanzo Insights Node.js SDK (deprecated — use @hanzo/insights-node from hanzoai/insights-js)
Readme MIT
1.1 MiB
Languages
JavaScript 100%