Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@re-ai/speech
Advanced tools
ReAI-Speech 是一个灵活的 Node.js 库,提供了语音识别和文字转语音服务的接口。支持多种后端服务。
OFF = 0,ERROR = 1,WARN = 2,INFO = 3,DEBUG = 4
, 默认为INFO, 设置环境变量REAI_LOG_LEVEL
控制日志等级,比如REAI_LOG_LEVEL=0
可以关闭日志输出- [x] 翻译
- [ ] 说话人识别
- [ ] 批量听录
- [ ] 自定义语音
npm install @re-ai/speech
import { AudioStream, ReAISpeech, ServiceTypes, SupportedLanguage } from "@re-ai/speech"
// 获取 Azure 服务实例,使用环境变量配置
// .env文件配置
// AZURE_SPEECH_KEY=你的key
// AZURE_SPEECH_REGION=你的region
const azureService = ReAISpeech.getService(ServiceTypes.Azure);
// or 传入配置
const service = ReAISpeech.getService(ServiceTypes.Azure, { subscriptionKey: KEY, region: REGION })
FAQs
ReAI语音识别和文字转语音服务的接口
The npm package @re-ai/speech receives a total of 6 weekly downloads. As such, @re-ai/speech popularity was classified as not popular.
We found that @re-ai/speech demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.