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.
@aristech-org/tts-client
Advanced tools
This is the NodeJS client implementation for the Aristech TTS-Server.
npm install @aristech-org/tts-client
import { TtsClient } from '@aristech-org/tts-client'
import fs from 'fs'
const client = new TtsClient({ host: 'tts.example.com' })
const buffer = await client.audioBuffer({
text: 'Hello, world!',
options: { voiceId: 'anne_en_GB' },
})
fs.writeFileSync('path/to/output/file.wav', buffer)
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=tts.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
# VOICE_ID=some-available-voice-id
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
Python v1.0.0 - 2024-10-29
FAQs
A Node.js client library for the Aristech Text-to-Speech API
The npm package @aristech-org/tts-client receives a total of 0 weekly downloads. As such, @aristech-org/tts-client popularity was classified as not popular.
We found that @aristech-org/tts-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 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.