
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@soniox/node
Advanced tools
Official Soniox SDK for Node
npm install @soniox/node
import { SonioxNodeClient } from '@soniox/node';
const client = new SonioxNodeClient({
api_key: 'your-api-key', // or set SONIOX_API_KEY env var
});
SonioxNodeClient reads the following environment variables when the
corresponding constructor option is not provided:
| Variable | Maps to option | Notes |
|---|---|---|
SONIOX_API_KEY | api_key | Required if api_key is not passed explicitly. |
SONIOX_REGION | region | Only 'eu' and 'jp' are defined; US is the default. |
SONIOX_BASE_DOMAIN | base_domain | Overrides region and forms the default hosts. |
SONIOX_API_BASE_URL | base_url | Overrides the REST API host (e.g. https://api.soniox.com). |
SONIOX_WS_URL | realtime.ws_base_url | Overrides the STT realtime WebSocket URL. |
SONIOX_TTS_API_URL | tts_api_url | Overrides the REST TTS host. |
SONIOX_TTS_WS_URL | realtime.tts_ws_url | Overrides the TTS realtime WebSocket URL. |
Resolution precedence for every setting is:
new SonioxNodeClient({ ... }).region / base_domain.REST calls (including REST TTS) throw SonioxHttpError on non-2xx
responses, network failures, and aborted requests.
import { SonioxNodeClient, SonioxHttpError } from '@soniox/node';
try {
const audio = await client.tts.generate({
text: 'Hello',
voice: 'Adrian',
language: 'en',
});
} catch (err) {
if (err instanceof SonioxHttpError) {
console.error(err.code, err.statusCode, err.bodyText);
}
}
For the full documentation please go to our docs: Full Node SDK Documentation
FAQs
Official Soniox SDK for Node
The npm package @soniox/node receives a total of 8,902 weekly downloads. As such, @soniox/node popularity was classified as popular.
We found that @soniox/node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.