Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@aristech-org/stt-client
Advanced tools
A Node.js client library for the Aristech Speech-to-Text API
This is the NodeJS client implementation for the Aristech STT-Server.
npm install @aristech-org/stt-client
import { SttClient } from '@aristech-org/stt-client'
const client = new SttClient({ host: 'stt.example.com' })
const results = await client.recognizeFile('path/to/audio/file.wav')
console.log(results.map(r => r.chunks[0].alternatives[0].text).join('\n'))
There are several examples in the examples directory:
You can run the examples directly using tsx
like this:
.env
file in the node directory:HOST=stt.example.com
# The credentials are optional but probably required for most servers:
TOKEN=your-token
SECRET=your-secret
# The following are optional:
# ROOT_CERT=your-root-cert.pem # If the server uses a self-signed certificate
# SSL=true # Set to true if credentials are provided or if a ROOT_CERT is provided
# MODEL=some-available-model
# NLP_SERVER=some-config
# NLP_PIPELINE=function1,function2
npx tsx examples/streaming.ts
To rebuild the generated typescript files from the proto file, run:
npm run generate
To build the library, run:
npm run build
NodeJS v1.1.0 - 2024-10-31
FAQs
A Node.js client library for the Aristech Speech-to-Text API
The npm package @aristech-org/stt-client receives a total of 3 weekly downloads. As such, @aristech-org/stt-client popularity was classified as not popular.
We found that @aristech-org/stt-client 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.