UNPKG

nwhisper

Version:

Native Node.js bindings for OpenAI's Whisper using whisper.cpp. High-performance local speech-to-text with custom model support.

88 lines (87 loc) 2.45 kB
{ "name": "nwhisper", "version": "0.3.0", "description": "Native Node.js bindings for OpenAI's Whisper using whisper.cpp. High-performance local speech-to-text with custom model support.", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "nwhisper": "dist/downloadModel.js" }, "publishConfig": { "access": "public" }, "files": [ "dist/", "cpp/" ], "scripts": { "start": "ts-node src/index.ts", "dev": "nodemon --watch 'src/**/*.ts' --exec ts-node src/index.ts", "example": "ts-node example/basic.ts", "example:custom": "ts-node example/custom.ts", "example:direct": "ts-node example/direct.ts", "test": "ts-node test/basic.test.ts", "typecheck": "tsc --noEmit", "build": "tsc && (chmod +x dist/downloadModel.js || true)", "format": "biome format --write .", "format:check": "biome format .", "lint": "biome lint .", "lint:fix": "biome lint --write .", "check": "biome check .", "check:fix": "biome check --write .", "release": "release-it", "release:dry": "release-it --dry-run", "release:patch": "release-it patch", "release:minor": "release-it minor", "release:major": "release-it major", "release:beta": "release-it --preRelease=beta", "release:alpha": "release-it --preRelease=alpha", "prepare": "husky" }, "dependencies": { "readline-sync": "^1.4.10", "shelljs": "^0.10.0" }, "devDependencies": { "@biomejs/biome": "^2.0.6", "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@release-it/conventional-changelog": "^10.0.1", "@types/node": "^24.0.10", "@types/readline-sync": "^1.4.8", "@types/shelljs": "^0.8.17", "husky": "^9.1.7", "nodemon": "3.1.10", "release-it": "^19.0.3", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "keywords": [ "whisper", "whisper.cpp", "speech-to-text", "transcription", "audio", "nodejs", "native", "cpp", "bindings", "openai", "stt", "timestamps", "subtitle", "offline", "local", "custom-model" ], "author": "teomyth <teomyth@gmail.com> (https://github.com/teomyth)", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/teomyth/nwhisper" }, "homepage": "https://github.com/teomyth/nwhisper#readme", "bugs": { "url": "https://github.com/teomyth/nwhisper/issues" } }