Quick start
This guide will help you get started with ByteKit quickly. You’ll learn how to use the core features including the API client, helper utilities, and logging.Make sure you’ve installed ByteKit before following this guide.
Basic setup
Import ByteKit modules
Start by importing the modules you need. You can import from the main package or use modular imports:
Complete example
Here’s a complete example that ties everything together:This example demonstrates:
- Making HTTP requests with the API client
- Using string utilities (slugify, truncate)
- Using date formatting
- Using array utilities (unique)
- Using object utilities (groupBy, pick)
- Structured logging
Advanced API client features
The API client includes powerful features for production applications:Retry policy and circuit breaker
Localized error messages
Request interceptors
Using array and object utilities
ByteKit provides powerful utilities for working with arrays and objects:Framework integration examples
React example
Vue example
Next steps
Now that you understand the basics, explore more advanced features:API client guide
Learn advanced API client features like caching, rate limiting, and request deduplication
Helper utilities
Explore all 28+ helper modules including validators, crypto, and caching
Logging & profiling
Set up structured logging and performance monitoring
Best practices
Production-ready patterns and optimization tips