Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@readybytes/rb-speech-to-text
Advanced tools
Readme
npm install --save rb-speech-to-text
or
yarn add rb-speech-to-text
<script>
import RBSpeechToText from "@readybytes/rb-speech-to-text";
export default {
components: {
RBSpeechToText
}
}
<script>
<template>
<div>
<textarea v-model="body"></textarea>
<RBSpeechToText
:text="body"
@speechend="body = $event.text"
></RBSpeechToText>
</div>
<template>
<script>
export default {
name: "MyComponent",
data() {
return {
body: "Hello World",
};
},
}
</script>
<template>
<div>
<textarea v-model="body"></textarea>
<RBSpeechToText
:text="body"
lang="fr-FR"
@speechend="body = $event.text"
></RBSpeechToText>
</div>
<template>
<script>
export default {
name: "MyComponent",
data() {
return {
body: "Bonjour le monde",
};
},
}
</script>
Name | Type | Required | Default Value | Support Values |
---|---|---|---|---|
text | String | Yes | - | any string |
lang | String | No | "en-US" | <languageCode-countryCode> . BCP-47 Languages Codes (Go to this link and search for BCP-47 language codes) |
speechend
This event will fire when user stop speaking and save the content. i.e-
<template>
<RBSpeechToText
:text="text"
@speechend="onSpeechEnd"
>
</RBSpeechToText>
</template>
<script>
export default {
methods:{
onSpeechEnd(event) {
console.log(event)
}
}
}
</script>
FAQs
This is a speech to text converter build in Vue2. It provides speech translations in almost all languages.
The npm package @readybytes/rb-speech-to-text receives a total of 0 weekly downloads. As such, @readybytes/rb-speech-to-text popularity was classified as not popular.
We found that @readybytes/rb-speech-to-text demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.