UNPKG

3xui-api-client

Version:

A Node.js client library for 3x-ui panel API with built-in credential generation, session management, and web integration support

114 lines (113 loc) 2.51 kB
{ "name": "3xui-api-client", "version": "2.0.0", "description": "A Node.js client library for 3x-ui panel API with built-in credential generation, session management, and web integration support", "main": "index.js", "types": "index.d.ts", "exports": { ".": { "types": "./index.d.ts", "require": "./index.js", "import": "./index.mjs" } }, "scripts": { "test": "node test/main-test.js", "test:jest": "jest", "test:manual": "node test/main-test.js", "test:main": "node test/main-test.js", "test:login": "node test/login-test.js", "test:inbounds": "node test/inbounds-test.js", "test:create": "node test/create-inbound-test.js", "lint": "eslint index.js src/", "prepublishOnly": "echo 'Skipping tests for publishing'" }, "keywords": [ "3x-ui", "3xui", "api", "client", "vpn", "proxy", "panel", "xray", "v2ray", "server-management", "api-client", "network-management", "credential-generation", "session-management", "web-integration", "express-middleware", "nextjs", "vless", "vmess", "trojan", "shadowsocks", "wireguard", "reality" ], "author": { "name": "Helitha Guruge", "email": "helithalochana@gmail.com", "url": "https://github.com/iamhelitha" }, "license": "MIT", "type": "commonjs", "repository": { "type": "git", "url": "git+https://github.com/iamhelitha/3xui-api-client.git" }, "bugs": { "url": "https://github.com/iamhelitha/3xui-api-client/issues" }, "homepage": "https://github.com/iamhelitha/3xui-api-client#readme", "funding": { "type": "github", "url": "https://github.com/sponsors/iamhelitha" }, "engines": { "node": ">=16.0.0", "npm": ">=7.0.0" }, "os": [ "linux", "darwin", "win32" ], "files": [ "index.js", "index.mjs", "index.d.ts", "src/", "README.md", "LICENSE", "CHANGELOG.md", "SECURITY.md", "USAGE_EXAMPLES.md" ], "dependencies": { "axios": "^1.10.0" }, "devDependencies": { "dotenv": "^16.5.0", "jest": "^29.7.0", "eslint": "^9.0.0", "@eslint/js": "^9.0.0" }, "jest": { "testEnvironment": "node", "collectCoverageFrom": [ "index.js", "src/**/*.js" ], "coverageDirectory": "coverage", "testMatch": [ "**/test/**/*.js" ] }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }