whisper-coreml 0.2.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.
- package/LICENSE +22 -0
- package/README.md +290 -0
- package/build/Release/whisper_asr.node +0 -0
- package/dist/chunk-MOQMN4DX.js +216 -0
- package/dist/chunk-MOQMN4DX.js.map +1 -0
- package/dist/cli.cjs +374 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +182 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.cjs +243 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +162 -0
- package/dist/index.d.ts +162 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/package.json +105 -0
package/package.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "whisper-coreml",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "OpenAI Whisper ASR for Node.js with CoreML/ANE acceleration on Apple Silicon",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"bin": {
|
|
10
|
+
"whisper-coreml": "./dist/cli.cjs"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"build/Release/*.node"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build:native": "node-gyp rebuild",
|
|
25
|
+
"build:ts": "tsup",
|
|
26
|
+
"build": "pnpm run build:native && pnpm run build:ts",
|
|
27
|
+
"clean": "node-gyp clean && rm -rf dist coverage",
|
|
28
|
+
"test": "vitest run",
|
|
29
|
+
"test:watch": "vitest",
|
|
30
|
+
"test:coverage": "vitest run --coverage",
|
|
31
|
+
"test:integration": "node test.mjs",
|
|
32
|
+
"benchmark": "node dist/cli.cjs benchmark",
|
|
33
|
+
"typecheck": "tsc --noEmit",
|
|
34
|
+
"lint": "eslint src/",
|
|
35
|
+
"lint:fix": "eslint src/ --fix",
|
|
36
|
+
"format": "prettier --write .",
|
|
37
|
+
"format:check": "prettier --check .",
|
|
38
|
+
"prepare": "husky",
|
|
39
|
+
"prepare:whisper": "bash scripts/prepare-whisper.sh",
|
|
40
|
+
"check:whisper": "bash scripts/check-whisper-update.sh",
|
|
41
|
+
"prepublishOnly": "pnpm run build",
|
|
42
|
+
"release": "release-it",
|
|
43
|
+
"release:auto": "release-it --ci"
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"whisper",
|
|
47
|
+
"openai",
|
|
48
|
+
"asr",
|
|
49
|
+
"speech-recognition",
|
|
50
|
+
"transcription",
|
|
51
|
+
"coreml",
|
|
52
|
+
"apple-silicon",
|
|
53
|
+
"neural-engine",
|
|
54
|
+
"macos",
|
|
55
|
+
"whisper.cpp"
|
|
56
|
+
],
|
|
57
|
+
"author": "Sebastian Werner",
|
|
58
|
+
"repository": {
|
|
59
|
+
"type": "git",
|
|
60
|
+
"url": "git+https://github.com/sebastian-software/whisper-coreml.git"
|
|
61
|
+
},
|
|
62
|
+
"bugs": {
|
|
63
|
+
"url": "https://github.com/sebastian-software/whisper-coreml/issues"
|
|
64
|
+
},
|
|
65
|
+
"homepage": "https://github.com/sebastian-software/whisper-coreml#readme",
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"bindings": "^1.5.0"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@commitlint/cli": "^20.3.0",
|
|
71
|
+
"@commitlint/config-conventional": "^20.3.0",
|
|
72
|
+
"@commitlint/types": "^20.2.0",
|
|
73
|
+
"@eslint/js": "^9.39.2",
|
|
74
|
+
"@release-it/conventional-changelog": "^10.0.4",
|
|
75
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
76
|
+
"@types/node": "^25.0.3",
|
|
77
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
78
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
79
|
+
"eslint": "^9.39.2",
|
|
80
|
+
"husky": "^9.1.7",
|
|
81
|
+
"lint-staged": "^16.2.7",
|
|
82
|
+
"node-addon-api": "^8.5.0",
|
|
83
|
+
"node-gyp": "^12.1.0",
|
|
84
|
+
"prettier": "^3.7.4",
|
|
85
|
+
"release-it": "^19.2.2",
|
|
86
|
+
"tsup": "^8.5.1",
|
|
87
|
+
"typescript": "^5.9.3",
|
|
88
|
+
"typescript-eslint": "^8.51.0",
|
|
89
|
+
"vitest": "^4.0.16"
|
|
90
|
+
},
|
|
91
|
+
"os": [
|
|
92
|
+
"darwin"
|
|
93
|
+
],
|
|
94
|
+
"cpu": [
|
|
95
|
+
"arm64"
|
|
96
|
+
],
|
|
97
|
+
"engines": {
|
|
98
|
+
"node": ">=20.0.0"
|
|
99
|
+
},
|
|
100
|
+
"license": "MIT",
|
|
101
|
+
"whisperCpp": {
|
|
102
|
+
"version": "v1.8.2"
|
|
103
|
+
},
|
|
104
|
+
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a"
|
|
105
|
+
}
|