# @sagegames/types

> Core TypeScript definitions and contracts for SageGame Platform

Latest version **2.1.0** (published 2026-09-24) · 0 weekly downloads

## Install

```sh
npm install @sagegames/types
pnpm add @sagegames/types
yarn add @sagegames/types
bun add @sagegames/types
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2026-09-24 |
| First published | 2026-09-23 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 30.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Maintainers | sage_analytix |
| Keywords | sagegames, gaas, types, gaming |

## Links

- npm: https://www.npmjs.com/package/@sagegames/types
- Repository: https://github.com/AnalytixTech/sage-game-platform
- Homepage: https://github.com/AnalytixTech/sage-game-platform#readme
- Issues: https://github.com/AnalytixTech/sage-game-platform/issues
- npm.io page: https://npm.io/package/@sagegames/types

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 2.1.0 (latest) — 2026-09-24
- 1.0.0 — 2026-09-23

## README

# SageGames

Casual games for your app (Quiz Master, Memory Match, Sudoku Arena, Word Search and Word Rush), with scores the server verifies, per-chat leaderboards and webhooks. Works in React Native / Expo and on the web.

- **Add games to an app:** [docs/DEVELOPER_GUIDE.md](docs/DEVELOPER_GUIDE.md)
- **Japabudz integration:** [docs/guides/JAPABUDZ_INTEGRATION.md](docs/guides/JAPABUDZ_INTEGRATION.md)
- **API keys and the developer portal:** [docs/KEYS_SETUP.md](docs/KEYS_SETUP.md)
- **Deploying (Supabase + Render):** [docs/DEPLOYMENT.md](docs/DEPLOYMENT.md)
- **How it works:** [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)

```bash
npm install --include=dev --legacy-peer-deps
npm run build        # packages, API and portal
npm test             # all tests, offline
npm run playground   # the real game screens in a browser: http://localhost:5199
```

| Package | |
| --- | --- |
| `@sagegames/react-native` | React Native / Expo SDK |
| `@sagegames/react` | React web SDK |
| `@sagegames/react-headless` | Shared provider, launcher and game hooks |
| `@sagegames/core` | API client and game runtime |
| `@sagegames/engine` | Deterministic engine and server-side replay |
| `@sagegames/game-*` | The five games' rules |

---
_Source: https://npm.io/package/@sagegames/types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
