UNPKG

unifi-protect

Version:

A complete implementation of the UniFi Protect API.

81 lines (80 loc) 1.91 kB
{ "name": "unifi-protect", "type": "module", "version": "4.29.0", "displayName": "UniFi Protect API", "description": "A complete implementation of the UniFi Protect API.", "author": { "name": "HJD", "url": "https://github.com/hjdhjd" }, "homepage": "https://github.com/hjdhjd/unifi-protect#readme", "license": "ISC", "repository": { "type": "git", "url": "git://github.com/hjdhjd/unifi-protect.git" }, "bugs": { "url": "https://github.com/hjdhjd/unifi-protect/issues" }, "keywords": [ "camera", "doorbell", "ubiquiti", "unifi", "unifi protect", "motion", "motion sensor", "protect", "security", "uck", "uck g2", "uck g2+", "uck gen2", "uck gen2+", "udm", "udm pro", "udm-pro", "unifi camera", "unifi cloud key", "unifi dream machine pro", "unifi ffmpeg", "unifi nvr", "unifi-nvr", "unifios", "uvc g3 flex", "uvc g4 doorbell", "uvc g4 pro", "rtsp" ], "engines": { "node": ">=22" }, "bin": { "ufp": "dist/util/ufp.js" }, "main": "dist/index.js", "scripts": { "build": "shx rm -rf ./dist && tsc && shx chmod a+x ./dist/util/**.js", "build-docs": "shx rm -f ./docs/[^CO]*.md && npx typedoc", "clean": "shx rm -rf ./dist", "lint": "eslint --max-warnings=${ESLINT_MAX_WARNINGS:-\"-1\"} eslint.config.mjs src/**.ts src/util/**.ts", "postpublish": "npm run clean", "prepublishOnly": "npm run lint && npm run build", "test": "eslint src/**.ts" }, "devDependencies": { "@stylistic/eslint-plugin": "5.10.0", "@types/node": "25.5.2", "eslint": "9.39.2", "homebridge-plugin-utils": "1.35.0", "shx": "0.4.0", "typedoc": "0.28.18", "typedoc-plugin-markdown": "4.11.0", "typescript": "5.9.3", "typescript-eslint": "8.58.1" }, "dependencies": { "undici": "8.0.2" } }