mediapipe-nodejs
Version:
A Node.js library for running MediaPipe models that are typically browser-only. This package uses a local Express (web) server and Playwright (headless browser) to bridge the gap between Node.js and MediaPipe's browser-based APIs.
71 lines (70 loc) • 1.99 kB
JSON
{
"name": "mediapipe-nodejs",
"version": "1.2.1",
"type": "commonjs",
"description": "A Node.js library for running MediaPipe models that are typically browser-only. This package uses a local Express (web) server and Playwright (headless browser) to bridge the gap between Node.js and MediaPipe's browser-based APIs.",
"keywords": [
"mediapipe",
"face-detection",
"face-landmarks",
"facial-landmarks",
"computer-vision",
"machine-learning",
"ai",
"image-processing",
"playwright",
"express",
"nodejs",
"typescript",
"headless-browser",
"facial-recognition",
"face-analysis",
"automation"
],
"author": "Beeno Tung <aabbcc1241@yahoo.com.hk> (https://beeno-tung.surge.sh)",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/mediapipe-nodejs.git"
},
"homepage": "https://github.com/beenotung/mediapipe-nodejs#readme",
"bugs": {
"url": "https://github.com/beenotung/mediapipe-nodejs/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"public",
"dist"
],
"scripts": {
"test": "npm run build:client && ts-node src/test.ts && tsc --noEmit",
"clean": "rimraf dist",
"build": "npm run build:server && npm run build:client",
"build:server": "rimraf dist && tsc -p . && rimraf dist/tsconfig.tsbuildinfo",
"build:client": "esbuild --bundle src/client.ts --outfile=public/bundle.js",
"tsc": "tsc -p ."
},
"dependencies": {
"@mediapipe/tasks-vision": "0.10.22-rc.20250304",
"express": "^5.1.0"
},
"peerDependencies": {
"playwright": "^1.53.0"
},
"devDependencies": {
"@types/express": "^5.0.3",
"@types/node": "^24.0.3",
"esbuild": "^0.25.5",
"playwright": "^1.53.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.8.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}