New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-espeak-ng

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-espeak-ng

Node.js wrapper for eSpeak NG.

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

node-espeak-ng

Node.js wrapper for eSpeak NG.

License and Credits

This package is licensed under the MIT License © Izhan.

It includes eSpeak NG, a free and open-source text-to-speech engine.

eSpeak NG is licensed under the GPLv3. For more details, visit the eSpeak NG GitHub repository.

Installation

with npm

npm install node-espeak-ng

with yarn

yarn add node-espeak-ng

with pnpm

pnpm install node-espeak-ng

with bun

bun install node-espeak-ng

Usage (Speak Text)

const espeak = require("node-espeak-ng");

espeak.speak("Hello world");

// Specify voice
espeak.speak("Hello world", { voice: "en-us" });

// Specify pitch
espeak.speak("Hello world", { pitch: 50 });

// Specify speed
espeak.speak("Hello world", { speed: 150 });

// Combine options
espeak.speak("Hello world", { voice: "en-us", pitch: 70, speed: 140 });

Usage (Speak in terminal)

const espeak = require("node-espeak-ng");

espeak.speakTerminal();

Terminal Mode Syntax

You can type text normally, or include options inline:

Hello world
voice:en-us Hello world
pitch:60 Hello world
speed:150 Hello world
voice:en-us pitch:70 speed:140 Hello world
  • voice → specify a voice e.g., mb/mb-us1

  • pitch → integer 0–99

  • speed → words per minute

Keywords

espeak

FAQs

Package last updated on 02 Dec 2025

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