Socket
Socket
Sign inDemoInstall

simple-gtts

Package Overview
Dependencies
7
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "simple-gtts",
"version": "1.0.0",
"version": "1.0.1",
"description": "Simple Google text to speech",

@@ -5,0 +5,0 @@ "type": "module",

@@ -6,3 +6,3 @@ # simple-gtts

```js
gTTS("hello there", {
await gTTS("hello there", {
lang: "en-us",

@@ -32,3 +32,3 @@ path: "./hello.mp3"

// Include a path to save to a file
gTTS("hello there", {
await gTTS("hello there", {
path: "./hello.mp3"

@@ -41,3 +41,3 @@ })

// Not including a path will return a buffer
const buff = gTTS("hello there")
const buff = await gTTS("hello there")
```

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

// Languages work with both files and buffers
gTTS("hello there", {
await gTTS("hello there", {
lang: "fr",

@@ -54,0 +54,0 @@ path: "./hello.mp3"

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