@apocaliss92/nodelink-js 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "@apocaliss92/nodelink-js",
3
+ "version": "0.1.7",
4
+ "description": "TypeScript library implementing Reolink Baichuan protocol (control + streaming) with CGI and RTSP helpers. Full TypeScript support with comprehensive type definitions.",
5
+ "license": "MIT",
6
+ "author": "",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/apocaliss92/nodelink-js.git"
10
+ },
11
+ "keywords": [
12
+ "reolink",
13
+ "baichuan",
14
+ "camera",
15
+ "security",
16
+ "ip-camera",
17
+ "rtsp",
18
+ "streaming",
19
+ "typescript",
20
+ "nvr"
21
+ ],
22
+ "type": "module",
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "import": "./dist/index.js",
27
+ "require": "./dist/index.cjs"
28
+ }
29
+ },
30
+ "main": "./dist/index.cjs",
31
+ "module": "./dist/index.js",
32
+ "types": "./dist/index.d.ts",
33
+ "files": [
34
+ "dist",
35
+ "README.md",
36
+ "LICENSE"
37
+ ],
38
+ "sideEffects": false,
39
+ "engines": {
40
+ "node": ">=18"
41
+ },
42
+ "scripts": {
43
+ "build:js": "npx tsup",
44
+ "build:types": "rm -rf .tmp/types && npx tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationMap false --outDir .tmp/types && npx api-extractor run --local && rm -rf .tmp/types",
45
+ "build": "npm run build:js && npm run build:types",
46
+ "typecheck": "npx tsc -p tsconfig.json --noEmit",
47
+ "lint": "npx eslint .",
48
+ "rtsp-server": "npm run build && node dist/cli/rtsp-server.cjs"
49
+ },
50
+ "devDependencies": {
51
+ "@eslint/js": "^9.0.0",
52
+ "@microsoft/api-extractor": "^7.53.0",
53
+ "@types/node": "^24.0.0",
54
+ "@types/yazl": "^2.4.6",
55
+ "eslint": "^9.0.0",
56
+ "globals": "^16.0.0",
57
+ "tsup": "^8.0.0",
58
+ "typescript": "5.8.2"
59
+ },
60
+ "dependencies": {
61
+ "alawmulaw": "^6.0.0",
62
+ "dotenv": "^17.2.3",
63
+ "fast-xml-parser": "^4.5.3",
64
+ "jimp": "^1.6.0",
65
+ "undici": "^7.16.0",
66
+ "yazl": "^3.3.1"
67
+ }
68
+ }