Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-edge-tts

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-edge-tts

node-edge-tts is a module that using Microsoft Edge's online TTS (Text-to-Speech) service on the Node.js

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
143
decreased by-54.17%
Maintainers
1
Weekly downloads
 
Created
Source

node-edge-tts

node-edge-tts is a module that utilizes Microsoft Edge's online TTS (Text-to-Speech) service on Node.js

Installation

npm install node-edge-tts

Example usage

const { EdgeTTS } = require('node-edge-tts')

or

import { EdgeTTS } from 'node-edge-tts'
const tts = new EdgeTTS()
await tts.ttsPromise('Hello world', path_to_audiofile_with_extension)

configure

const tts = new EdgeTTS({
  voice: 'en-US-AriaNeural',
  lang: 'en-US',
  outputFormat: 'audio-24khz-96kbitrate-mono-mp3'
  proxy: 'http://localhost:7890',
  saveSubtitles: true
})

You can find the available options for speechconfig at voice/lang|outputFormat, but not all options are accessible due to limitations of the services provided by Microsoft Edge.

Keywords

FAQs

Package last updated on 31 Aug 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc