Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

speak-tts

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speak-tts - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

package.json
{
"name": "speak-tts",
"version": "0.2.2",
"version": "0.2.3",
"description": "Browser TTS (using speechSynthesis API) made easy",
"main": "index.js",
"main": "lib/speak-tts.js",
"scripts": {

@@ -7,0 +7,0 @@ "dev": "webpack-dev-server --devtool eval --progress --colors --content-base demo/build --hot --inline",

@@ -26,3 +26,3 @@ Speech synthesis made easy - Browser based text to speech (TTS)

import Speech from 'speak-tts' // es6
// var Speech = require('speak-tts') //es5
// var Speech = require('speak-tts') //if you use es5
```

@@ -51,3 +51,3 @@

'pitch': 0.8
});
})
```

@@ -69,3 +69,3 @@ Check browser support :

onEnd: () => {console.log('your text has successfully been spoken.')} // optionnal onEnd callback
});
})
```

@@ -76,4 +76,4 @@

```bash
Speech.setLanguage('en-GB'); // set language to english
Speech.setLanguage(null); // activate language autodetection
Speech.setLanguage('en-GB') // set language to english
Speech.setLanguage(null) // activate language autodetection
```

@@ -84,3 +84,3 @@

```bash
Speech.stop();
Speech.stop()
```

@@ -130,3 +130,3 @@

```bash
import Speech from '../src/speak-tts.js'
import Speech from 'speak-tts'

@@ -182,3 +182,3 @@ const _addVoicesList = (voices) => {

speech-tts is dual licensed under the MIT license and GPL.
speak-tts is dual licensed under the MIT license and GPL.
For more information click [here](https://opensource.org/licenses/MIT).
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc