msedge-tts-fixed
v1.0.0
Published
An Azure Speech Service module that uses the Microsoft Edge Read Aloud API. Fixed version without pnpm restrictions.
Readme
msedge-tts-fixed
A fixed version of the Microsoft Edge TTS library that works with npm without pnpm restrictions.
What is this?
This is a fork of the original msedge-tts library with the following fixes:
- ✅ Removed pnpm-only restriction
- ✅ Works with npm, yarn, and pnpm
- ✅ Pre-compiled TypeScript files included
- ✅ No build step required during installation
Installation
npm install msedge-tts-fixedUsage
import {MsEdgeTTS, OUTPUT_FORMAT} from "msedge-tts-fixed";
const tts = new MsEdgeTTS();
await tts.setMetadata("en-US-AriaNeural", OUTPUT_FORMAT.WEBM_24KHZ_16BIT_MONO_OPUS);
const {audioFilePath} = await tts.toFile("./output", "Hello, world!");Why this fork?
The original library has a restriction that only allows installation with pnpm, which can cause issues in projects using npm or yarn. This fork removes that restriction while maintaining all the original functionality.
Credits
Original library by Migushthe2nd Fixed version by David Galarza
License
MIT
