npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

react-native-wakeword

v1.0.76

Published

Voice/Wake-word detection library for React Native

Downloads

8,244

Readme

React-Native "wake word" by Davoice

React-Native "wake word" also known as "react-native hotword", "react-native trigger word”, "react-native phrase spotting” and more...

By DaVoice.io

Twitter URL

Welcome to Davoice React-Native Wake Word / hotword / Keywords Detection – Wake words and keyword detection solution designed by DaVoice.io.

About this package:

This is a "wake word" package for React Native. A "wake word" is a keyword that activates your device, like "Hey Siri" or "OK Google". "Wake Word" is also known as "keyword detection", "Phrase Recognition", "Phrase Spotting", “Voice triggered”, “hot word”, “trigger word”

It also provide Speech to Intent. Speech to Intent refers to the ability to recognize a spoken word or phrase and directly associate it with a specific action or operation within an application. Unlike a "wake word", which typically serves to activate or wake up the application, Speech to Intent goes further by enabling complex interactions and functionalities based on the recognized intent behind the speech.

For example, a wake word like "Hey App" might activate the application, while Speech to Intent could process a phrase like "Play my favorite song" or "Order a coffee" to execute corresponding tasks within the app. Speech to Intent is often triggered after a wake word activates the app, making it a key component of more advanced voice-controlled applications. This layered approach allows for seamless and intuitive voice-driven user experiences.

More questions? - Contact us at info@DaVoice.io

Features

  • High Accuracy: We have succesfully reached over 99% accurary for all our models. Here is on of our customer's benchmarks:
MODEL         DETECTION RATE
===========================
DaVoice        0.992481
Top Player     0.874812
Third          0.626567
  • Easy to deploy wake word with React Native: Check out our example: "rn_example/DetectingKeyWords.js". With a few simple lines of code, you have your own keyword detecting enabled app.
  • Cross-Platform Support: Integrate Davoice KeywordsDetection into React-Native Framework. Both iOS and Android are supported.
  • Low Latency: Experience near-instantaneous keyword detection.

Platforms and Supported Languages

  • React-Native wake word Android: React Native Wrapper for Android.
  • React-Native wake word iOS: React Native Wrapper for iOS.

Wake word generator

Create your "custom wake word""

In order to generate your custom wake word you will need to:

  • Create wake word mode: Contact us at info@davoice.io with a list of your desired "custom wake words".

    We will send you corresponding models typically your wake word phrase .onnx for example:

    A wake word *"hey sky" will correspond to hey_sky.onnx.

  • Add wake words to Android: Simply copy the new onnx files to:

    android/app/src/main/assets/*.onnx

  • Add Wake word to IOS Copy new models somewhere under ios/YourProjectName.

    You can create a folder ios/YourProjectName/models/ and copy there there.

    Now add each onnx file to xcode making sure you opt-in “copy if needed”.

  • In React/JS code add the new onnx files to your configuration

    Change:

    // Create an array of instance configurations

    const instanceConfigs:instanceConfig[] = [
  
      { id: 'need_help_now', modelName: 'need_help_now.onnx', threshold: 0.9999, bufferCnt: 3 , sticky: false },
  
    ];
  
    To:
  
    // Create an array of instance configurations
  
    const instanceConfigs:instanceConfig[] = [
  
      { id: 'my_wake_word', modelName: 'my_wake_word.onnx', threshold: 0.9999, bufferCnt: 3 , sticky: false },
  
    ];
  
    For example if your generated custom wake word" is "hey sky":
  
    // Create an array of instance configurations
  
    const instanceConfigs:instanceConfig[] = [
  
      { id: 'hey sky', modelName: 'hey_sky.onnx', threshold: 0.9999, bufferCnt: 3 , sticky: false },
  
    ];
  • Last step - Rebuild your project

Contact

For any questions, requirements, or more support for React-Native, please contact us at info@davoice.io.

IOS and Android Package

Installation

npm install react-native-wakeword

Android:

Add this to your android/build.gradle file:

allprojects {

repositories {

    // react-native-wakeword added

    maven { url "${project(":react-native-wakeword").projectDir}/libs" }
    
    maven { url("${project(':react-native-wakeword').projectDir}/libs") } 
    
    maven {
        url("${project(':react-native-wakeword').projectDir}/libs")
    }
    
    // End react-native-wakeword added
    
    ... your other lines...

Githhub examples:

Checkout examples on:

https://github.com/frymanofer/ReactNative_WakeWordDetection

https://github.com/frymanofer/ReactNative_WakeWordDetection/example_npm

FAQ:

What is a wake word?

A "wake word" is a keyword or phrase that activates your device, like "Hey Siri" or "OK Google". "Wake Word" is also known as "keyword detection", "Phrase Recognition", "Phrase Spotting", “Voice triggered”, “hot word”, “trigger word”...

What is a Speech to Intent?

"Speech to Intent" refers to the ability to recognize a spoken word or phrase and directly associate it with a specific action or operation within an application.

Unlike a "wake word", which typically serves to activate or wake up the application, Speech to Intent goes further by enabling complex interactions and functionalities based on the recognized intent behind the speech.

For example, a wake word like "Hey App" might activate the application, while Speech to Intent could process a phrase like "Play my favorite song" or "Order a coffee" to execute corresponding tasks within the app. Speech to Intent is often triggered after a wake word activates the app, making it a key component of more advanced voice-controlled applications. This layered approach allows for seamless and intuitive voice-driven user experiences.

How accurate is the platform?

We have succesfully reached over 99% "wake word" accurary for all our models. Here is on of our customer's benchmarks:

MODEL         DETECTION RATE
===========================
DaVoice        0.992481
Top Player     0.874812
Third          0.626567

Key words

"DaVoice.io" "Voice commands" "Wake word detection github" “Voice triggered” “hot word” “react-native trigger word” “react-native Voice triggered” “react-native hot word” "react-native wake word", "Wake word generator", "hot word generator", "trigger word generator", "Custom wake word generator", "Custom hot word", "Custom trigger word", "Custom wake word", "voice commands", "wake word", "wakeword", "wake words", "keyword detection", "keyword spotting", "speech to intent", "voice commands", "voice to intent", "phrase spotting", "react native wake word", "Davoice.io wake word", "Davoice wake word", "Davoice react native wake word", "Davoice react-native wake word", "wake", "word", "Voice Commands Recognition", "lightweight Voice Commands Recognition", "customized lightweight Voice Commands Recognition", "rn wake word" "Davoice.io", "voice commands", "wake word", "wakeword", "wake words", "keyword detection", "keyword spotting", "Wake word detection github" "Wake Word" "keyword detection" "Phrase Recognition" "Phrase Spotting" "react-native wake word", "Custom wake word", "voice commands", "wake word", "wakeword", "wake words", "keyword detection", "keyword spotting", "speech to intent", "voice to intent", "phrase spotting", "react native wake word", "Davoice.io wake word", "Davoice wake word", "Davoice wake word", "Davoice react native wake word", "Davoice.io react-native wake word", "wake", "word", "Voice Commands Recognition", "lightweight Voice Commands Recognition", "customized lightweight Voice Commands Recognition", "rn wake word" "speech to intent", "voice to intent", "phrase spotting", "react native wake word", "Davoice.io wake word", "Davoice wake word", "Davoice react native wake word", "Davoice react-native wake word", "wake", "word", "Voice Commands Recognition", "lightweight Voice Commands Recognition", "customized lightweight Voice Commands Recognition", "Custom wake word", "rn wake word"