![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@speechly/browser-client
Advanced tools
Speechly website | Docs | Blog
This repository contains source code for the browser client for Speechly SLU API.
NOTE: If you are using React, you can use React client instead.
Install the package:
# Using Yarn
yarn add @speechly/browser-client
# Using NPM
npm install --save @speechly/browser-client
Start using the client:
import { Client, Segment } from '@speechly/browser-client'
// Create a new Client. appId is configured in the dashboard.
const client = new Client({appId: 'your-app-id'})
// Initialize the client - this will ask the user for microphone permissions and establish the connection to Speechly API.
// Make sure you call `initlialize` from a user action handler (e.g. from a button press handler).
await client.initialize()
// React to the updates from the API.
client.onSegmentChange((segment: Segment) => {
console.log('Received new segment from the API:', segment.intent, segment.entities, segment.words, segment.isFinal)
})
// Start recording.
// Ideally this should be bound to e.g. a button press.
await client.startContext()
// Stop recording after a timeout.
// Ideally this should be bound to e.g. a button press.
setTimeout(async function() {
await client.stopContext()
}, 3000)
Check out the browser-client-example repository for a demo app built using this client.
You can find the detailed API documentation in GitHub repository. You can also refer to Speechly Docs for more information.
See contribution guide in CONTRIBUTING.md.
Speechly is a developer tool for building real-time multimodal voice user interfaces. It enables developers and designers to enhance their current touch user interface with voice functionalities for better user experience. Speechly key features:
Example application | Description |
---|---|
![]() | Instead of using buttons, input fields and dropdowns, Speechly enables users to interact with the application by using voice. User gets real-time visual feedback on the form as they speak and are encouraged to go on. If there's an error, the user can either correct it by using traditional touch user interface or by voice. |
FAQs
JavaScript client for Speechly Streaming API
The npm package @speechly/browser-client receives a total of 1,029 weekly downloads. As such, @speechly/browser-client popularity was classified as popular.
We found that @speechly/browser-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.