Kokoro.js v1.2.0: Streaming support (#92)

* Set up JS project

* Finalise JS library

* Update README

* Fix package.json repository url

* Rename package -> `kokoro-js`

* Fix samples in README

* Cleanup README

* Bump `phonemizer` version

* Create web demo

* Run prettier

* Link to model used in demo

* Enable multithreading in HF space demo (~40% faster)

* Add link to demo in README

* Bump to v1.0.1

* Update voices

* Update versions

* Update phonemize JSDoc

* Use updated voice pack

* Update versions

* Update demo (v1.0 & WebGPU support)

* Update README

* Enforce maximum number of tokens

* Update README

* [version] Update to 1.1.1

* Create simple sentence splitter

* Update `npm run test`

* Update API to use sync and async iterators

* Add support for streamed generation in kokoro.js

* Always split on newlines

* Remove debug line

* Improvements

* Add more matching puntuation marks

* Update comments

* nits

* Export TextSplitterStream too

* Update splitter.js

* Update README

* [version] Update to 1.2.0
This commit is contained in:
Joshua Lochner
2025-02-15 21:06:33 +02:00
committed by GitHub
parent 93abff8795
commit 5229a254b7
6 changed files with 1109 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "kokoro-js",
"version": "1.1.1",
"version": "1.2.0",
"type": "module",
"exports": {
"types": "./types/kokoro.d.ts",
@@ -13,7 +13,7 @@
"scripts": {
"build": "rm -rf dist types && rollup -c && tsc && cp ../LICENSE LICENSE",
"format": "prettier --write . --print-width 1000",
"test": "vitest"
"test": "vitest run"
},
"keywords": [
"kokoro",