ssml-split
Advanced tools
Comparing version 0.1.1 to 0.1.2
28
API.md
@@ -1,4 +0,4 @@ | ||
<a name="PollySSMLSplit"></a> | ||
<a name="SSMLSplit"></a> | ||
## PollySSMLSplit | ||
## SSMLSplit | ||
Creates a tree data structure from SSML text. | ||
@@ -8,10 +8,10 @@ | ||
* [PollySSMLSplit](#PollySSMLSplit) | ||
* [new PollySSMLSplit(softLimit, hardLimit)](#new_PollySSMLSplit_new) | ||
* [.configure(options)](#PollySSMLSplit+configure) | ||
* [.split(ssml)](#PollySSMLSplit+split) ⇒ <code>Array.<string></code> | ||
* [SSMLSplit](#SSMLSplit) | ||
* [new SSMLSplit(softLimit, hardLimit)](#new_SSMLSplit_new) | ||
* [.configure(options)](#SSMLSplit+configure) | ||
* [.split(ssml)](#SSMLSplit+split) ⇒ <code>Array.<string></code> | ||
<a name="new_PollySSMLSplit_new"></a> | ||
<a name="new_SSMLSplit_new"></a> | ||
### new PollySSMLSplit(softLimit, hardLimit) | ||
### new SSMLSplit(softLimit, hardLimit) | ||
Set default character limits. | ||
@@ -26,5 +26,5 @@ Initialize tree. | ||
<a name="PollySSMLSplit+configure"></a> | ||
<a name="SSMLSplit+configure"></a> | ||
### pollySSMLSplit.configure(options) | ||
### SSMLSplit.configure(options) | ||
Set configuration options. | ||
@@ -35,3 +35,3 @@ This is optional. Default options are perfect for working with AWS Polly TTS. | ||
**Kind**: instance method of [<code>PollySSMLSplit</code>](#PollySSMLSplit) | ||
**Kind**: instance method of [<code>SSMLSplit</code>](#SSMLSplit) | ||
**Throws**: | ||
@@ -49,8 +49,8 @@ | ||
<a name="PollySSMLSplit+split"></a> | ||
<a name="SSMLSplit+split"></a> | ||
### pollySSMLSplit.split(ssml) ⇒ <code>Array.<string></code> | ||
### SSMLSplit.split(ssml) ⇒ <code>Array.<string></code> | ||
Split SSML text by batches of ~1500 (by default) chars. | ||
**Kind**: instance method of [<code>PollySSMLSplit</code>](#PollySSMLSplit) | ||
**Kind**: instance method of [<code>SSMLSplit</code>](#SSMLSplit) | ||
**Returns**: <code>Array.<string></code> - Array of valid SSML strings. | ||
@@ -57,0 +57,0 @@ **Throws**: |
@@ -1,1 +0,1 @@ | ||
module.exports = require('./lib/polly-ssml-split') | ||
module.exports = require('./lib/ssml-split') |
{ | ||
"name": "ssml-split", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Splits long texts with SSML tags by batches suitable for working with AWS Polly TTS and Google Cloud Text to Speech.", | ||
@@ -11,3 +11,4 @@ "main": "index.js", | ||
"test": "tap test/*.js", | ||
"cover": "tap test/*.js --coverage" | ||
"cover": "tap test/*.js --coverage", | ||
"update": "npm-check --update" | ||
}, | ||
@@ -19,8 +20,14 @@ "repository": { | ||
"keywords": [ | ||
"polly", | ||
"ssml split", | ||
"ssml", | ||
"aws", | ||
"google", | ||
"google-text-to-speech", | ||
"aws-polly", | ||
"text-to-speech", | ||
"split", | ||
"splitter", | ||
"ssml-parsing", | ||
"tts" | ||
], | ||
"author": "Oleg Legun <oleg.legun@gmail.com>", | ||
"author": "Jordy van den Aardweg <jordyvandenaardweg@gmail.com>", | ||
"license": "MIT", | ||
@@ -32,3 +39,4 @@ "bugs": { | ||
"devDependencies": { | ||
"tap": "^11.1.4" | ||
"npm-check": "^5.9.0", | ||
"tap": "^14.10.5" | ||
}, | ||
@@ -35,0 +43,0 @@ "dependencies": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11
481
22257
2
1