Official Developer SDKs

BrowserKit SDK (TypeScript & Python)

Use official typed client libraries for seamless integration into web apps, Node.js services, backend microservices, and AI workflows.

TypeScript / JavaScript SDK

npm install @browserkit/sdk

Example TypeScript usage:

import { BrowserKit } from '@browserkit/sdk';

const bk = new BrowserKit();

// Format JSON locally with syntax error detection
const { formatted, valid, error } = bk.formatJson('{"name":"browserkit"}', { indent: 2 });

// Decode JWT token offline
const { header, payload, isExpired } = bk.decodeJwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...');

// Generate 5 UUID v4 IDs
const uuids = bk.generateUuid({ count: 5 });
console.log(uuids);

Python SDK

pip install browserkit-sdk

Example Python usage:

from browserkit import BrowserKit

bk = BrowserKit()

# Compute SHA-256
digest = bk.hash_data("secure_payload", algorithm="SHA-256")
print(digest)

# Generate UUIDs
uuids = bk.generate_uuid(count=10)
print(uuids)

Related Developer Tools & Endpoints