UNPKG

mic-ts

Version:

A simple stream wrapper for arecord (Linux (including Raspbian)) and sox (Mac/Windows). Returns a Passthrough stream object so that stream control like pause(), resume(), pipe(), etc. are all available.

51 lines (50 loc) 1.39 kB
{ "name": "mic-ts", "version": "0.1.5", "description": "A simple stream wrapper for arecord (Linux (including Raspbian)) and sox (Mac/Windows). Returns a Passthrough stream object so that stream control like pause(), resume(), pipe(), etc. are all available.", "keywords": [ "node-mic", "microphone", "sox", "alsa", "arecord", "mic", "audio", "input" ], "homepage": "https://github.com/chenhunghan/mic-ts#readme", "bugs": { "url": "https://github.com/chenhunghan/mic-ts/issues" }, "repository": { "type": "git", "url": "git+https://github.com/chenhunghan/mic-ts.git" }, "files": [ "dist", "src" ], "license": "SEE LICENSE IN LICENSE", "author": "Hung-Han Chen", "main": "./dist/index.js", "type": "module", "scripts": { "build": "rm -rf dist && tsc -p .", "test": "npm run test:types && npm run test:lint && npm run test:format && npm run test:unit", "e2e": "tsx src/e2e.ts", "test:unit": "vitest run --passWithNoTests", "test:format": "prettier --write -c .", "test:lint": "eslint .", "test:types": "tsc -p . --noEmit" }, "devDependencies": { "@eslint/js": "^9.25.0", "@types/node": "^22.14.1", "eslint": "^9.25.0", "prettier": "^3.5.3", "tsx": "^4.19.3", "typescript": "^5.8.3", "typescript-eslint": "^8.30.1", "vitest": "^3.1.3" } }