UNPKG

@fciannella/nvidia-asr-client

Version:

Minimal cross-platform wrapper around NVIDIA/Riva streaming ASR WebSocket API with optional client-side silence detection.

52 lines (51 loc) 1.33 kB
{ "name": "@fciannella/nvidia-asr-client", "version": "0.1.9", "description": "Minimal cross-platform wrapper around NVIDIA/Riva streaming ASR WebSocket API with optional client-side silence detection.", "keywords": [ "nvidia", "riva", "asr", "speech-recognition", "websocket", "typescript", "browser" ], "author": "Your Name <you@example.com>", "license": "MIT", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "browser": "./dist/index.js", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "clean": "rimraf dist dist-cjs", "build:esm": "tsc -p .", "build:cjs": "tsc -p tsconfig.cjs.json && cp dist-cjs/index.js dist/index.cjs && rimraf dist-cjs", "build": "npm run build:esm && npm run build:cjs", "prepare": "npm run clean && npm run build", "test": "node --no-warnings test/cli-example.js | cat", "serve": "npx http-server -p 8000 ." }, "devDependencies": { "rimraf": "^5.0.1", "typescript": "^5.4.2", "http-server": "^14.1.1" }, "optionalDependencies": { "mic": "^2.1.2", "ws": "^8.16.0", "@types/node": "^20.11.19", "@types/ws": "^8.18.1" } }