@inworld/tts 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @inworld/tts might be problematic. Click here for more details.
- package/CHANGELOG.md +9 -0
- package/LICENSE +21 -0
- package/README.md +332 -0
- package/dist/index.cjs +1580 -0
- package/package.json +77 -0
- package/src/client.js +929 -0
- package/src/config.js +135 -0
- package/src/encoding.js +23 -0
- package/src/errors.js +31 -0
- package/src/index.d.ts +363 -0
- package/src/index.js +149 -0
- package/src/player.browser.js +53 -0
- package/src/player.js +143 -0
- package/src/voice.js +498 -0
- package/src/write-file.browser.js +7 -0
- package/src/write-file.js +11 -0
package/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@inworld/tts",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Inworld TTS SDK – generate, stream, and voice management",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"types": "src/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./src/index.d.ts",
|
|
11
|
+
"require": "./dist/index.cjs",
|
|
12
|
+
"import": "./src/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"browser": {
|
|
16
|
+
"./src/write-file.js": "./src/write-file.browser.js",
|
|
17
|
+
"./src/player.js": "./src/player.browser.js"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"src/",
|
|
21
|
+
"dist/",
|
|
22
|
+
"README.md",
|
|
23
|
+
"CHANGELOG.md",
|
|
24
|
+
"LICENSE"
|
|
25
|
+
],
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsup",
|
|
32
|
+
"prepare": "tsup",
|
|
33
|
+
"release": "release-it",
|
|
34
|
+
"postversion": "npm install && git add package-lock.json",
|
|
35
|
+
"test": "node tests/run_tts.js",
|
|
36
|
+
"test:generate": "node tests/test_generate.js",
|
|
37
|
+
"test:stream": "node tests/test_stream.js",
|
|
38
|
+
"test:long": "node tests/run_long_text_tests.js",
|
|
39
|
+
"test:long:generate": "node tests/test_long_text_generate.js",
|
|
40
|
+
"test:long:stream": "node tests/test_long_text_stream.js",
|
|
41
|
+
"test:voice": "node tests/run_voice_tests.js",
|
|
42
|
+
"test:voice:list": "node tests/test_voice_list.js",
|
|
43
|
+
"test:voice:clone": "node tests/test_voice_clone.js",
|
|
44
|
+
"test:voice:design": "node tests/test_voice_design_publish.js",
|
|
45
|
+
"test:player": "node tests/test_player.js",
|
|
46
|
+
"test:timestamps": "node tests/test_generate_timestamps.js && node tests/test_stream_timestamps.js",
|
|
47
|
+
"test:timestamps:generate": "node tests/test_generate_timestamps.js",
|
|
48
|
+
"test:timestamps:stream": "node tests/test_stream_timestamps.js"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@release-it/keep-a-changelog": "^6.0.0",
|
|
52
|
+
"dotenv": "^16.4.5",
|
|
53
|
+
"release-it": "^18.1.2",
|
|
54
|
+
"tsup": "^8.5.1",
|
|
55
|
+
"typescript": "^6.0.2"
|
|
56
|
+
},
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public",
|
|
59
|
+
"registry": "https://registry.npmjs.org"
|
|
60
|
+
},
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "https://github.com/inworld-ai/inworld-tts-node.git"
|
|
64
|
+
},
|
|
65
|
+
"license": "MIT",
|
|
66
|
+
"author": "Inworld AI",
|
|
67
|
+
"keywords": [
|
|
68
|
+
"inworld",
|
|
69
|
+
"tts",
|
|
70
|
+
"text-to-speech",
|
|
71
|
+
"voice",
|
|
72
|
+
"speech-synthesis",
|
|
73
|
+
"streaming",
|
|
74
|
+
"voice-cloning",
|
|
75
|
+
"voice-design"
|
|
76
|
+
]
|
|
77
|
+
}
|