Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

speaktome-api

0.2.1 • Public • Published

SpeakToMe API

JavaScript module for Mozilla's SpeakToMe API.

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My Speech-enabled Web Page</title>
  <script src="stm.min.js"></script> 
  <script src="webrtc_vad.js"></script> 
</head>
 
<body>
<script>
var stm = SpeakToMe({
  listener: listener
});
 
function listener(msg) {
    console.log('listener', msg);
}
stm.listen();
 
</script> 
</body>

install

npm i speaktome-api

Downloadsweekly downloads

97

version

0.2.1

license

MPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability