@plasius/game-audio-react
v0.1.3
Published
React integration scaffold for Plasius game audio runtime packages.
Downloads
531
Maintainers
Readme
@plasius/game-audio-react
React integration scaffold for Plasius game audio runtime packages.
Apache-2.0. ESM + CJS builds. TypeScript types included.
Installation
npm install @plasius/game-audio-reactScope
This repository is part of the Plasius in-game audio package suite.
It owns:
- React provider and hook contract descriptors
- listener pose and emitter registration integration points
- caption fallback and preference control metadata
- Player System cue and diagnostic integration boundary
It does not own game-world authority, speech provider credentials, raw TTS generation, or product-specific feature-flag evaluation.
Feature Flag
game.audio.react-provider.enabled
Usage
import {
packageDescriptor,
GAME_AUDIO_REACT_PACKAGE,
GAME_AUDIO_REACT_FEATURE_FLAG_ID,
} from "@plasius/game-audio-react";
console.log(packageDescriptor.packageName === GAME_AUDIO_REACT_PACKAGE);
console.log(packageDescriptor.featureFlagId === GAME_AUDIO_REACT_FEATURE_FLAG_ID);Development
npm install
npm run build
npm test
npm run test:coverage
npm run pack:checkGovernance
- Architecture decisions: docs/adrs
- Security policy: SECURITY.md
- Code of conduct: CODE_OF_CONDUCT.md
- CLA and legal docs: legal
License
Apache-2.0
