Skip to main content

Lightning-fast TypeScript utilities

Isomorphic API client, state management, and 28+ utility modules. Zero dependencies, tree-shakeable, works everywhere.

Zero dependencies
95%+ test coverage
Node & Browser

Quick start

Get up and running with ByteKit in minutes

1

Install ByteKit

Install the package using your preferred package manager:
npm install bytekit
2

Import and configure

Import the modules you need. ByteKit is fully tree-shakeable:
import { ApiClient, createLogger, StringUtils } from "bytekit";

const api = new ApiClient({
  baseUrl: "https://api.example.com",
  defaultHeaders: { "X-API-Key": process.env.API_KEY }
});

const logger = createLogger({ 
  namespace: "app", 
  level: "info" 
});
3

Start building

Use ByteKit’s utilities in your application:
// Make API calls with automatic retries
const users = await api.get("/users");

// Log structured messages
logger.info("Users fetched", { count: users.length });

// Use helper utilities
const slug = StringUtils.slugify("New Feature – 2024");

Ready to get started?

Install ByteKit today and start building with powerful, type-safe utilities that work everywhere.

Get Started Now