Skip to content

responsivevoice/features

Repository files navigation

ResponsiveVoice logo

@responsivevoice/features

CI

Dashboard feature plugins for ResponsiveVoice — welcome messages, speak links, accessibility navigation, and more.

npm version npm downloads GitHub License: MIT


Internal package — published as a dependency of @responsivevoice/core, which re-exports these features. You usually do not install this directly.

Installation

npm install @responsivevoice/features

Usage

import { createFeatureManager } from '@responsivevoice/features';

const manager = createFeatureManager();

// `speak` is your TTS function; `features` and `voice` come from your
// ResponsiveVoice website config.
manager.activate(features, speak, voice);

// Later — remove every listener the features installed.
manager.cleanup();

Features

Feature Description
WelcomeMessageFeature Speaks a welcome message on page load
SpeakSelectedTextFeature Speaks highlighted text
SpeakLinksFeature Speaks link text on hover
ParagraphNavigationFeature Keyboard paragraph navigation with speech
TabNavigationFeature Keyboard tab navigation with speech
InactivityMessageFeature Speaks after a period of inactivity
EndOfPageMessageFeature Speaks when user reaches bottom of page
ExitIntentFeature Speaks when user moves to leave page
WebPlayerFeature Inline audio player with controls and paragraph navigation

API

Export Description
createFeatureManager Factory with default feature set
FeatureManager Lifecycle manager for feature plugins

Individual feature classes are also exported for advanced usage.

License

MIT


Other language SDKs: Python · Go · PHP · Java

AI coding agents: install the ResponsiveVoice skillnpx skills add responsivevoice/skills

About

Dashboard feature plugins for the ResponsiveVoice text-to-speech (TTS) platform

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors