replace chinese-to-pinyin with transliteration (more languages supported)

This commit is contained in:
daniel-j
2023-12-06 18:05:43 +01:00
parent b12fd5ff4c
commit 8f88260f33
3 changed files with 178 additions and 32 deletions

View File

@@ -11,12 +11,12 @@
"dependencies": {
"@koa/multer": "^3.0.2",
"@koa/router": "^12.0.1",
"chinese-to-pinyin": "^1.3.1",
"file-type": "^16.5.4",
"koa": "^2.14.2",
"koa-logger": "^3.2.1",
"koa-sendfile": "^3.0.0",
"mkdirp": "^3.0.1",
"multer": "^1.4.5-lts.1"
"multer": "^1.4.5-lts.1",
"transliteration": "^2.3.5"
}
}