
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@aristech-org/stt-client
Advanced tools
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({
apiKey: process.env['ARISTECH_STT_API_KEY'], // This is the default and can be omitted
})
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:
To run the examples, use npx tsx
. For example:
npx tsx examples/streaming.ts
If you didn't get an API key but a token, secret and host, you can generate an API key with our API key generator.
import { SttClient } from '@aristech-org/stt-client'
const client = new SttClient({
host: 'stt.example.com:443',
auth: {
token: 'your-token',
secret: 'your-secret'
}
})
To rebuild the generated typescript files from the proto file, run:
npm run generate
To build the library, run:
npm run build
FAQs
A Node.js client library for the Aristech Speech-to-Text API
The npm package @aristech-org/stt-client receives a total of 127 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 2 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.