1.0.0 • Published 2 months ago

my-text-to-speech-package v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

Text to Speech Package

A simple npm package for converting text to speech.

Installation

npm install my-text-to-speech-package

Usage

const TextToSpeech = require('my-text-to-speech-package');

async function convertAndSpeak() {
  try {
    // Convert text to speech
    await TextToSpeech.convertTextToSpeech('Hello, this is a smart text-to-speech converter!');
    console.log('Text converted to speech successfully.');
  } catch (error) {
    console.error('Error converting text to speech:', error);
  }
}

convertAndSpeak();
1.0.0

2 months ago