UNPKG

@vipin-singh/text-to-speech

Version:

This Node.js package is open source and uses ElevenLabs' Text to Speech API.

8 lines (6 loc) 204 B
import Storage from "./utils/Storage.js"; import {textToSpeech} from "./methods/text-to-speech.js"; function setApiKey(apiKey) { Storage.apiKey = apiKey; } export { textToSpeech, setApiKey };