# @firefrost/shared

Shared utilities and helpers for Firefrost Gaming services.

## Purpose

This package contains code that is used by multiple services in the firefrost-services monorepo. By centralizing common functionality here, we avoid duplication and ensure consistency across services.

## Contents

- **Database utilities** — Connection pooling, query helpers
- **Discord utilities** — Embed formatting, role management helpers
- **Pterodactyl utilities** — API wrappers, server management
- **Logging** — Standardized logging across services
- **Validation** — Common validation functions

## Usage

Services import from this package like any npm dependency:

```javascript
import { logger } from '@firefrost/shared';
import { formatDiscordEmbed } from '@firefrost/shared';

logger.info('Service started');
```

## Development

To add new shared functionality:

1. Create module in `src/`
2. Export from `src/index.js`
3. Update version in `package.json`
4. Document in this README

## Version History

- **1.0.0** — Initial shared package structure

---

💙🔥❄️
