Official SDKs for the EmitKit API - Real-time event tracking and notifications
| Language | Package | Version | Documentation |
|---|---|---|---|
| TypeScript/JavaScript | @emitkit/js |
Docs |
npm install @emitkit/js
# or
pnpm add @emitkit/js
# or
yarn add @emitkit/jsimport { EmitKit } from '@emitkit/js';
const client = new EmitKit('emitkit_xxxxxxxxxxxxxxxxxxxxx');
await client.events.create({
channelName: 'payments',
title: 'Payment Received',
metadata: { amount: 99.99 }
});This is a monorepo containing multiple SDK packages, all auto-generated from the EmitKit OpenAPI specification.
@emitkit/jss/
├── packages/
│ ├── js/ # TypeScript/JavaScript SDK
│ └── ... # Future SDKs
├── scripts/ # Automation scripts
└── openapi/ # Synced OpenAPI spec
- Daily Sync: OpenAPI spec is automatically synced from production API
- Auto-Generation: SDKs are regenerated when the spec changes
- Auto-Publishing: New versions are published to npm on release tags
- CI/CD: Tests run on all pull requests
- Node.js 20+
- pnpm 9+
# Clone the repository
git clone https://github.com/emitkit/emitkit-sdks.git
cd @emitkit/jss
# Install dependencies
pnpm install
# Sync OpenAPI spec
pnpm run sync
# Generate all SDKs
pnpm run generate
# Build all packages
pnpm run build
# Run tests
pnpm run test# Watch mode for development
pnpm run dev
# Lint code
pnpm run lint
# Clean build artifacts
pnpm run clean- Create a new package directory:
packages/<language>/ - Add generator configuration
- Update
scripts/generate.tsto include the new SDK - Add package to
SDK_PACKAGESarray
Contributions are welcome! Please read our Contributing Guide for details.
If you find a bug or have a feature request, please open an issue.
MIT License - see LICENSE for details
Note: These SDKs are automatically generated from the OpenAPI specification. Do not edit generated files directly.