New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

speech-sdk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speech-sdk

Smartek21 Speech SDK for browsers

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

Introduction

DeepSpeech sdk for browser .

#Installation of npm package / from git repositiry

  • Add following the the package.json dependencies

    "speech-sdk": "git+ssh://smartek21India@vs-ssh.visualstudio.com:v3/smartek21India/IntelligentMachines/speech-sdk"

  • Add import statement

    import * as SDK from 'speech-sdk'

  • Uses

let obj = new SDK.DeepSpeech(); await obj.init(); try{ obj.recordAudio(); setTimeout( async function(){ let text= await obj.stopAudio(); console.log("stop Audio resolved",text) }, 5000); }catch(err){ console.log(err) }

In a Browser, using Webpack

  • run "npm run bundle" this will generate a bundle file .
  • Add the generated bundle to your html page:

Keywords

smartek21

FAQs

Package last updated on 30 Dec 2019

Did you know?

Socket

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.

Install

Related posts