
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-voice-controlled
Advanced tools
A react library that can make any react app voice controllabe without any additional code
A React library that enables voice controls for your React apps without the need of extra code.
npm install react-voice-controlled
or
yarn add react-voice-controlled
Download this library using anyone of the above commands.
Import InitializeVoiceControls from react-voice-controlled in your React app.
Simply call InitializeVoiceControls in your App js to enable voice controls.
As this library using speech recognition API of javascript and this API donot support many browsers.
So, this library will also work in some browsers as given below:-
import React from 'react';
import {InitializeVoiceControls} from 'react-voice-controlled';
const App = ()=> {
<>
<InitializeVoiceControls
commands={{
navigation: [
'go to',
'navigate to'
],
scrolling: [
'scroll by',
'scroll to',
'move by',
'scroll by'
]
}}
enableNavigationControls
enableScrollingControls
routes={[
'/',
'/about',
'/contact'
]}
/>
<div className="APP">
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aperiam officia ab beatae iure ex doloremque odit, vel illo eligendi totam at, ullam asperiores vero. Minima iste ipsum atque odit sint.
</div>
}
export default App;
commands:
Object {scrolling: string[], navigation: string[]} optional required according to enableNavigationCommands and enableScrollingCommands
An object containing the commands you want to use.
default: { navigation: [], scrolling: ['scroll by', 'scroll to', 'move by', 'scroll by',"scroll down", "move down", "scroll up", "move up"] } when enableNavigationCommands and enableScrollingCommands are true accordingly.
enableNavigationControls:
boolean optional
required with routes and navigation commands
A boolean value that determines whether you want to enable navigation controls.
default: false
enableScrollingControls:
boolean optional
required with scrolling commmands
A boolean value that determines whether you want to enable scrolling controls.
default: false
routes:
string[] optional
required with enableNavigationControls
An array of strings that contains the routes you want to use.
default: []
FAQs
A react library that can make any react app voice controllabe without any additional code
We found that react-voice-controlled demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.