# lite-tts

> TTS (Text To Speech) Module for Node.js

Latest version **2.0.4** (published 2023-05-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install lite-tts
pnpm add lite-tts
yarn add lite-tts
bun add lite-tts
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.4 |
| Published | 2023-05-13 |
| First published | 2023-05-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6.9 |
| Dependencies | 1 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Md Rehan |
| Maintainers | mdrehan4all |
| Keywords | litetts, lite tts, speak, speech synthesis, speechsynthesis, text to speech, tts |

## Links

- npm: https://www.npmjs.com/package/lite-tts
- Repository: https://github.com/mdrehan4all/lite-tts
- Homepage: https://github.com/mdrehan4all/lite-tts#readme
- Issues: https://github.com/mdrehan4all/lite-tts/issues
- npm.io page: https://npm.io/package/lite-tts

## Dependencies (1)

- [one-time](https://npm.io/package/one-time.md) 0.0.4

## Recent versions

- 2.0.4 (latest) — 2023-05-13
- 2.0.3 — 2023-05-13
- 2.0.2 — 2023-05-12
- 2.0.1 — 2023-05-12
- 2.0.0 — 2023-05-12

## README

# LiteTTS
> How to install
```
npm install lite-tts
```
> How to run - Create app.js file (or in your project file) and use any one of the example given below
<br>

> Code Example 1

```
const liteTTS = require('lite-tts').LiteTTS;
const s = new liteTTS('win32');
 
s.speak('Hello World!');
//s.stop();
```

> Code Example 2

```
const liteTTS = require('lite-tts').LiteTTS;
const s = new liteTTS('win32');
 
s.speak('Hello World!', 'Microsoft Zira Desktop', 1.0);
//s.stop();
```

> Code Example 3
```
const liteTTS = require('lite-tts').LiteTTS;
const s = new liteTTS('win32');

s.export("Hello World! It's me Lite TTS", 'Microsoft Zira Desktop', 0.9, 'halloworld.wav', (err) => {
    if (err) {
      return console.error(err)
    }
    console.log('Text has been saved to halloworld.wav.')
});
```

---
_Source: https://npm.io/package/lite-tts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
