marzban-sdk
Version:
Fully typed client SDK for the Marzban API, supporting both browser and Node.js environments.
109 lines (108 loc) • 2.75 kB
JSON
{
"name": "marzban-sdk",
"version": "2.0.0",
"description": "Fully typed client SDK for the Marzban API, supporting both browser and Node.js environments.",
"keywords": [
"marzban-sdk",
"marzban",
"marzban api",
"marzban api client",
"marzban vpn",
"marzban vpn api",
"marzban vpn api client",
"vpn",
"proxy",
"shadowsocks",
"v2ray",
"xray",
"trojan",
"wireguard",
"vmess",
"vless",
"hysteria",
"tuic",
"rest-api",
"http",
"http-client",
"api-client",
"networking"
],
"author": "ilmar7786",
"license": "MIT",
"private": false,
"sideEffects": false,
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"codegen": "kubb generate",
"format": "prettier --write .",
"lint": "eslint --fix .",
"commitlint": "commitlint --edit",
"prepare": "husky",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"axios": "^1.16.1",
"axios-retry": "^4.5.0",
"chalk": "^5.6.2",
"ws": "^8.20.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@commitlint/cli": "^21.0.1",
"@commitlint/config-conventional": "^21.0.1",
"@eslint/js": "^9.39.2",
"@kubb/cli": "^4.37.7",
"@kubb/core": "^4.37.7",
"@kubb/plugin-client": "^4.37.7",
"@kubb/plugin-oas": "^4.37.7",
"@kubb/plugin-ts": "^4.37.7",
"@kubb/plugin-zod": "^4.37.7",
"@types/node": "^25.9.0",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^4.1.6",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.4.1",
"globals": "^17.6.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.5",
"prettier": "^3.8.3",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.59.4",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.6"
},
"repository": {
"type": "git",
"url": "https://github.com/Ilmar7786/marzban-sdk.git"
},
"bugs": {
"url": "https://github.com/Ilmar7786/marzban-sdk/issues"
},
"homepage": "https://github.com/Ilmar7786/marzban-sdk#readme"
}