marzban-sdk
Version:
The Marzban SDK is a fully typed client library for interacting with the Marzban API. It works in both browser and Node.js environments
83 lines (82 loc) • 2.09 kB
JSON
{
"name": "marzban-sdk",
"version": "1.3.1",
"license": "MIT",
"description": "The Marzban SDK is a fully typed client library for interacting with the Marzban API. It works in both browser and Node.js environments",
"private": false,
"author": "ilmar7786",
"sideEffects": false,
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "tsup",
"clean": "rimraf dist",
"dev": "tsup --watch",
"codegen": "rm -rf src/generated-sources; openapi-generator-cli generate -i ./openapi/openapi.json -g typescript-axios -o src/generated-sources --additional-properties=supportsES6=true,npmVersion=6.9.0,typescriptThreePlus=true --template-dir ./codegen/typescript-axios",
"generate:docs": "node ./tools/generateDocs.js"
},
"keywords": [
"marzban-sdk",
"marzban",
"marzban api",
"marzban api client",
"marzban vpn",
"marzban vpn api",
"marzban vpn api client",
"vpn",
"http-client",
"api-client",
"vpn",
"proxy",
"shadowsocks",
"v2ray",
"xray",
"trojan",
"wireguard",
"vmess",
"vless",
"hysteria",
"tuic",
"rest-api",
"http",
"networking"
],
"dependencies": {
"axios": "^1.7.9",
"axios-retry": "^4.5.0",
"ws": "^8.18.1"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.17.0",
"@types/node": "^22.13.14",
"@types/ws": "^8.18.0",
"esbuild": "^0.25.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
},
"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",
"files": [
"dist"
]
}