JSPM

@vipin-singh/text-to-speech

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q31557F
  • License Apache-2.0

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

Package Exports

  • @vipin-singh/text-to-speech
  • @vipin-singh/text-to-speech/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vipin-singh/text-to-speech) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

text-to-speech

This Node.js package is open source and uses Eleven Labs Text to Speech API.

import { textToSpeech, setApiKey } from '@vipin-singh/text-to-speech'; setApiKey('api_key');

textToSpeech("Voice_id", "text", "eleven_multilingual_v2", "customPath") .then(async (res) => { return res; // customPath audio path.. }) .catch((err) => { console.error("Error:", err); });