UNPKG

voice-to-text-converter

Version:

A modern, lightweight Node.js package for speech-to-text conversion with support for multiple engines

83 lines (82 loc) 2.1 kB
{ "name": "voice-to-text-converter", "version": "1.0.0", "description": "A modern, lightweight Node.js package for speech-to-text conversion with support for multiple engines", "main": "lib/index.js", "types": "lib/index.d.ts", "browser": "lib/browser.js", "files": [ "lib/**/*", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "build:watch": "tsc --watch", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:quick": "node quick-test.js", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "prepublishOnly": "npm run build", "dev": "ts-node src/index.ts", "clean": "rimraf lib", "prepack": "npm run build" }, "keywords": [ "speech-to-text", "voice-recognition", "speech-recognition", "audio-to-text", "vosk", "google-cloud-speech", "web-speech-api", "typescript", "nodejs", "browser" ], "author": "Lakshmi prasanth <prasanthsathasivam2002@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/prasanth-sasuke/voice-to-text-converter.git" }, "bugs": { "url": "https://github.com/prasanth-sasuke/voice-to-text-converter/issues" }, "homepage": "https://github.com/prasanth-sasuke/voice-to-text-converter#readme", "engines": { "node": ">=14.0.0" }, "dependencies": { "node-record-lpcm16": "^1.0.1", "stream": "^0.0.2", "wav": "^1.0.2" }, "peerDependencies": { "@google-cloud/speech": "^6.0.0", "vosk": "^0.3.45" }, "peerDependenciesMeta": { "vosk": { "optional": true }, "@google-cloud/speech": { "optional": true } }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^20.19.9", "@types/wav": "^1.0.4", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.57.1", "jest": "^29.7.0", "rimraf": "^5.0.10", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" } }