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

@capacitor-community/text-to-speech

Package Overview
Dependencies
Maintainers
38
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor-community/text-to-speech - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2-dev.aaa3396.1649088226

20

dist/docs.json

@@ -80,3 +80,3 @@ {

"tags": [],
"docs": "Verifies proper installation and availability of resource files on the system.\r\n\r\nOnly available for Android.",
"docs": "Verifies proper installation and availability of resource files on the system.\n\nOnly available for Android.",
"complexTypes": [],

@@ -106,3 +106,3 @@ "slug": "openinstall"

"tags": [],
"docs": "The language of the utterance.\r\nPossible languages can be queried using `getSupportedLanguages`.\r\n\r\nDefault: `en-US`.",
"docs": "The language of the utterance.\nPossible languages can be queried using `getSupportedLanguages`.\n\nDefault: `en-US`.",
"complexTypes": [],

@@ -114,3 +114,3 @@ "type": "string | undefined"

"tags": [],
"docs": "The speed at which the utterance will be spoken at.\r\n\r\nDefault: `1.0`.",
"docs": "The speed at which the utterance will be spoken at.\n\nDefault: `1.0`.",
"complexTypes": [],

@@ -122,3 +122,3 @@ "type": "number | undefined"

"tags": [],
"docs": "The pitch at which the utterance will be spoken at.\r\n\r\nDefault: `1.0`.",
"docs": "The pitch at which the utterance will be spoken at.\n\nDefault: `1.0`.",
"complexTypes": [],

@@ -130,3 +130,3 @@ "type": "number | undefined"

"tags": [],
"docs": "The volume that the utterance will be spoken at.\r\n\r\nDefault: `1.0`.",
"docs": "The volume that the utterance will be spoken at.\n\nDefault: `1.0`.",
"complexTypes": [],

@@ -138,3 +138,3 @@ "type": "number | undefined"

"tags": [],
"docs": "The index of the selected voice that will be used to speak the utterance.\r\nPossible voices can be queried using `getSupportedVoices`.\r\n\r\nOnly available for Web.",
"docs": "The index of the selected voice that will be used to speak the utterance.\nPossible voices can be queried using `getSupportedVoices`.\n\nOnly available for Web.",
"complexTypes": [],

@@ -146,3 +146,3 @@ "type": "number | undefined"

"tags": [],
"docs": "Select the iOS Audio session category.\r\nPossible values: `ambient` and `playback`.\r\nUse `playback` to play audio even when the app is in the background.\r\n\r\nOnly available for iOS.\r\n\r\nDefault: `ambient`.",
"docs": "Select the iOS Audio session category.\nPossible values: `ambient` and `playback`.\nUse `playback` to play audio even when the app is in the background.\n\nOnly available for iOS.\n\nDefault: `ambient`.",
"complexTypes": [],

@@ -170,3 +170,3 @@ "type": "string | undefined"

"tags": [],
"docs": "BCP 47 language tag indicating the language of the voice.\r\nExample: `en-US`.",
"docs": "BCP 47 language tag indicating the language of the voice.\nExample: `en-US`.",
"complexTypes": [],

@@ -185,3 +185,3 @@ "type": "string"

"tags": [],
"docs": "Human-readable name that represents the voice.\r\nExample: `Microsoft Zira Desktop - English (United States)`.",
"docs": "Human-readable name that represents the voice.\nExample: `Microsoft Zira Desktop - English (United States)`.",
"complexTypes": [],

@@ -193,3 +193,3 @@ "type": "string"

"tags": [],
"docs": "Type of URI and location of the speech synthesis service for this voice.\r\nExample: `urn:moz-tts:sapi:Microsoft Zira Desktop - English (United States)?en-US`.",
"docs": "Type of URI and location of the speech synthesis service for this voice.\nExample: `urn:moz-tts:sapi:Microsoft Zira Desktop - English (United States)?en-US`.",
"complexTypes": [],

@@ -196,0 +196,0 @@ "type": "string"

@@ -0,0 +0,0 @@ export interface TextToSpeechPlugin {

export {};
//# sourceMappingURL=definitions.js.map

@@ -0,0 +0,0 @@ import type { TextToSpeechPlugin } from './definitions';

@@ -0,0 +0,0 @@ import { registerPlugin } from '@capacitor/core';

@@ -0,0 +0,0 @@ import { WebPlugin } from '@capacitor/core';

@@ -8,2 +8,5 @@ import { WebPlugin } from '@capacitor/core';

this.speechSynthesis = window.speechSynthesis;
window.addEventListener("beforeunload", () => {
this.stop();
});
}

@@ -10,0 +13,0 @@ }

@@ -17,2 +17,5 @@ 'use strict';

this.speechSynthesis = window.speechSynthesis;
window.addEventListener("beforeunload", () => {
this.stop();
});
}

@@ -19,0 +22,0 @@ }

@@ -14,2 +14,5 @@ var capacitorTextToSpeech = (function (exports, core) {

this.speechSynthesis = window.speechSynthesis;
window.addEventListener("beforeunload", () => {
this.stop();
});
}

@@ -16,0 +19,0 @@ }

{
"name": "@capacitor-community/text-to-speech",
"version": "1.1.1",
"version": "1.1.2-dev.aaa3396.1649088226",
"description": "Capacitor plugin for synthesizing speech from text.",

@@ -15,3 +15,3 @@ "main": "dist/plugin.cjs.js",

"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
"eslint": "eslint . --ext ts",

@@ -30,6 +30,7 @@ "prettier": "prettier \"**/*.{css,html,ts,js,java}\"",

"devDependencies": {
"@capacitor/android": "3.0.0-beta.6",
"@capacitor/core": "3.0.0-beta.6",
"@capacitor/docgen": "0.0.16",
"@capacitor/ios": "3.0.0-beta.6",
"@capacitor/android": "3.4.0",
"@capacitor/cli": "3.4.0",
"@capacitor/core": "3.4.0",
"@capacitor/docgen": "0.0.18",
"@capacitor/ios": "3.4.0",
"@ionic/eslint-config": "0.3.0",

@@ -48,3 +49,3 @@ "@ionic/prettier-config": "1.0.1",

"peerDependencies": {
"@capacitor/core": "^3.0.0-beta.6"
"@capacitor/core": "^3.0.0"
},

@@ -51,0 +52,0 @@ "files": [

@@ -9,3 +9,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>

<p align="center">
<img src="https://img.shields.io/maintenance/yes/2021?style=flat-square" />
<img src="https://img.shields.io/maintenance/yes/2022?style=flat-square" />
<a href="https://github.com/capacitor-community/text-to-speech/actions?query=workflow%3A%22CI%22"><img src="https://img.shields.io/github/workflow/status/capacitor-community/text-to-speech/CI/master?style=flat-square" /></a>

@@ -64,3 +64,3 @@ <a href="https://www.npmjs.com/package/@capacitor-community/text-to-speech"><img src="https://img.shields.io/npm/l/@capacitor-community/text-to-speech?style=flat-square" /></a>

text: 'This is a sample text.',
lang: 'en_US',
lang: 'en-US',
rate: 1.0,

@@ -67,0 +67,0 @@ pitch: 1.0,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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