
Product
Introducing Manifest Alerts
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.
@pie-players/pie-tts
Advanced tools
TTS interfaces and types for PIE Assessment Toolkit - No UI dependencies
TTS interfaces and types for PIE Assessment Toolkit - Pure TypeScript with no UI dependencies.
For the cross-package TTS architecture, provider layering, and server/client runtime flow, see TTS Architecture.
This package provides the foundational interfaces and types for building TTS (Text-to-Speech) providers in the PIE ecosystem. It has zero dependencies and no UI framework requirements, making it suitable for:
ITTSProvider - Stateless factory for creating TTS implementationsITTSProviderImplementation - Actual TTS playback implementationTTSProviderCapabilities - Feature support descriptionTTSConfig - Provider configurationTTSFeature - Union type of supported featuresnpm install @pie-players/pie-tts
# or
bun add @pie-players/pie-tts
import type {
ITTSProvider,
ITTSProviderImplementation,
TTSConfig,
TTSProviderCapabilities,
TTSFeature
} from '@pie-players/pie-tts';
class MyTTSImplementation implements ITTSProviderImplementation {
async speak(text: string): Promise<void> {
// Your implementation
}
pause(): void { /* ... */ }
resume(): void { /* ... */ }
stop(): void { /* ... */ }
isPlaying(): boolean { return false; }
isPaused(): boolean { return false; }
}
export class MyTTSProvider implements ITTSProvider {
readonly providerId = 'my-tts';
readonly providerName = 'My TTS Provider';
readonly version = '1.0.0';
async initialize(config: TTSConfig): Promise<ITTSProviderImplementation> {
return new MyTTSImplementation(config);
}
supportsFeature(feature: TTSFeature): boolean {
return feature === 'pause' || feature === 'resume';
}
getCapabilities(): TTSProviderCapabilities {
return {
supportsPause: true,
supportsResume: true,
supportsWordBoundary: false,
supportsVoiceSelection: true,
supportsRateControl: true,
supportsPitchControl: false,
};
}
destroy(): void {
// Cleanup if needed
}
}
@pie-players/pie-assessment-toolkit) - Uses Web Speech API, always available as fallback@pie-players/tts-client-server) - High-quality server-backed voices (Polly/Google/etc.) with speech marksThis core package intentionally:
MIT
FAQs
TTS interfaces and types for PIE Assessment Toolkit - No UI dependencies
We found that @pie-players/pie-tts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.