
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/client
Advanced tools
Official Soniox Web SDK for client-side applications.
npm install @soniox/client
import { SonioxClient } from '@soniox/client';
// Create a client and fetch temporary API key from your backend
const client = new SonioxClient({
api_key: async () => {
const res = await fetch('/api/get-temporary-key', { method: 'POST' });
const { api_key } = await res.json();
return api_key;
},
});
REST TTS and other HTTP-backed calls throw SonioxHttpError on non-2xx
responses, network failures, and aborted requests.
import { SonioxClient, SonioxHttpError } from '@soniox/client';
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 Web SDK Documentation
FAQs
Official Soniox SDK for client-side applications
We found that @soniox/client 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.