Skip to content

A modern TypeScript utility library collection providing practical utilities, service integrations, and UI components for building modern applications.

License

Notifications You must be signed in to change notification settings

ChiaStack/chiastack.dev

Repository files navigation

Chia Stack

og

A modern TypeScript utility library collection providing practical utilities, service integrations, and UI components for building modern applications.

✨ Features

  • 🚀 Modern Stack: TypeScript, React 19, Next.js 16
  • 📦 Modular: Each package can be used independently
  • 🔒 Type Safe: Full TypeScript support
  • Performant: Optimized code
  • 🛠️ Monorepo: Managed with Turborepo and pnpm workspace

📦 Packages

@chiastack/utils

Utility functions library

@chiastack/services

Service integrations

@chiastack/ui

React UI component library

@chiastack/eslint & @chiastack/tsconfig

Shared ESLint and TypeScript configurations

🚀 Quick Start

pnpm add @chiastack/utils
pnpm add @chiastack/services
pnpm add @chiastack/ui

Usage

import { captchaSiteverify } from "@chiastack/services/captcha";
import { delay, tryCatch, day } from "@chiastack/utils";

// Delay execution
await delay(1000);

// Safe error handling
const result = await tryCatch(fetch("/api/data"));

// Date formatting
const formatted = day().format("YYYY-MM-DD");

// CAPTCHA verification
const response = await captchaSiteverify(request, {
  provider: "cloudflare-turnstile",
  captchaSecretKey: process.env.CAPTCHA_SECRET_KEY!,
});

🛠️ Development

Requirements: Node.js >= 22.*, pnpm >= 10.22.0

pnpm install
pnpm dev      # Start dev server
pnpm build    # Build all packages
pnpm test     # Run tests
pnpm lint     # Lint code

📚 Documentation

Full documentation: chiastack.dev

📄 License

MIT License - see LICENSE

👤 Author

Chia1104

About

A modern TypeScript utility library collection providing practical utilities, service integrations, and UI components for building modern applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •