Socket
Socket
Sign inDemoInstall

tts-element

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tts-element

HTML custom element to convert text to speech using the Web Speech API.


Version published
Weekly downloads
20
increased by53.85%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

tts-element

HTML custom element to convert text to speech using the SpeechSynthesis interface of the Web Speech API.

<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8" />
    <title>tts-element CDN example</title>
    <style>
      text-to-speech:not(:defined) {
        display: none;
      }
    </style>
    <script type="module" src="https://unpkg.com/tts-element/dist/text-to-speech/defined.js"></script>
  </head>
  <body>
    <text-to-speech>Your run-of-the-mill text to speech CDN example.</text-to-speech>
  </body>
</html>

Check out other examples.

Keywords

FAQs

Last updated on 01 Jan 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc