{"_id":"@cao-mei-you-ren/qbittorrent","_rev":"6-5109f90abfcd25f8a1189ce4a49d4f2d","name":"@cao-mei-you-ren/qbittorrent","description":"TypeScript api wrapper for qbittorrent using got","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@cao-mei-you-ren/qbittorrent","version":"1.0.0","keywords":["typescript","qbittorrent"],"author":{"name":"CaoMeiYouRen"},"license":"MIT","_id":"@cao-mei-you-ren/qbittorrent@1.0.0","maintainers":[{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"}],"contributors":[{"name":"Scott Cooper","email":"scttcper@gmail.com"},{"name":"CaoMeiYouRen"}],"homepage":"https://qbittorrent.vercel.app","bugs":{"url":"https://github.com/CaoMeiYouRen/qbittorrent/issues"},"dist":{"shasum":"71f762ea5bb2647f608ade616e133d6c1e442132","tarball":"https://registry.npmjs.org/@cao-mei-you-ren/qbittorrent/-/qbittorrent-1.0.0.tgz","fileCount":7,"integrity":"sha512-R6CFBMk11B2ilN1ZJpNcoIYLSsO8BLifYpLv4a5RIgR+Czn9VY6xiIWKJ1Aps4IXij96wi+A3qitOsfReeot6A==","signatures":[{"sig":"MEUCIG1Lr8i+53MF/NpS9F43ccUOOE2EbBqAeGNCdF9+H7KlAiEA2tz8mRloq7e5k1aWMTe/E0EMbcRDyXho/o1BO4FGb6w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":571852},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"853f54e66245f20ec39fc7a138cfc02a4e3f128e","release":{"branches":["master"]},"scripts":{"lint":"pnpm run '/^(lint:biome|lint:eslint)$/'","test":"vitest run","build":"tsup","test:ci":"vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml","lint:fix":"pnpm run '/^(lint:biome|lint:eslint):fix$/'","build:docs":"typedoc","lint:biome":"biome check .","test:watch":"vitest","lint:eslint":"eslint --ext .ts,.tsx .","lint:biome:fix":"biome check . --apply","lint:eslint:fix":"eslint --ext .ts,.tsx . --fix"},"_npmUser":{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"},"repository":{"url":"git+https://github.com/CaoMeiYouRen/qbittorrent.git","type":"git"},"_npmVersion":"10.5.0","description":"TypeScript api wrapper for qbittorrent using got","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","dependencies":{"ufo":"^1.4.0","cookie":"^0.6.0","ofetch":"^1.3.3","@ctrl/magnet-link":"^4.0.1","node-fetch-native":"^1.6.2","uint8array-extras":"^1.1.0","@ctrl/torrent-file":"^4.0.0","@ctrl/shared-torrent":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"1.3.1","typedoc":"0.25.12","p-wait-for":"5.0.2","typescript":"5.4.2","@types/node":"20.11.25","@types/cookie":"0.6.0","@biomejs/biome":"1.6.0","@vitest/coverage-v8":"1.3.1","@sindresorhus/tsconfig":"5.0.0","@ctrl/eslint-config-biome":"2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/qbittorrent_1.0.0_1712041471152_0.39973508687578296","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@cao-mei-you-ren/qbittorrent","version":"1.0.1","keywords":["typescript","qbittorrent"],"author":{"name":"CaoMeiYouRen"},"license":"MIT","_id":"@cao-mei-you-ren/qbittorrent@1.0.1","maintainers":[{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"}],"contributors":[{"name":"Scott Cooper","email":"scttcper@gmail.com"},{"name":"CaoMeiYouRen"}],"homepage":"https://qbittorrent.vercel.app","bugs":{"url":"https://github.com/CaoMeiYouRen/qbittorrent/issues"},"dist":{"shasum":"25e15f25b94e0396d99b45b379d3e3b12fb1bb97","tarball":"https://registry.npmjs.org/@cao-mei-you-ren/qbittorrent/-/qbittorrent-1.0.1.tgz","fileCount":7,"integrity":"sha512-Q4HkSIvLlhnm8CrGA/9hdPt5yAFsqb4j7FyIMWyCN8H/UKXF+a/QAlFT1yMmVt2/dRcaKeDH9pbAiuRReFz5wg==","signatures":[{"sig":"MEUCIBWWxk/Gj2pTua5b7u7ew4zv1/42xSR4LkFBr6C7lAwSAiEAtP2888twpoaurfxWG0nnERrr2hKjozRsC3imSPXxA1o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173646},"main":"./dist/index.cjs","pnpm":{"overrides":{"crypto-hash":"github:CaoMeiYouRen/crypto-hash"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2d18a3d71b4181ba2d6ce563c4cf25a3b5a22e54","release":{"branches":["master"]},"scripts":{"lint":"pnpm run '/^(lint:biome|lint:eslint)$/'","test":"vitest run","build":"tsup","test:ci":"vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml","lint:fix":"pnpm run '/^(lint:biome|lint:eslint):fix$/'","build:docs":"typedoc","lint:biome":"biome check .","test:watch":"vitest","lint:eslint":"eslint --ext .ts,.tsx .","lint:biome:fix":"biome check . --apply","lint:eslint:fix":"eslint --ext .ts,.tsx . --fix"},"_npmUser":{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"},"repository":{"url":"git+https://github.com/CaoMeiYouRen/qbittorrent.git","type":"git"},"_npmVersion":"10.5.0","description":"TypeScript api wrapper for qbittorrent using got","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","dependencies":{"ufo":"^1.4.0","cookie":"^0.6.0","ofetch":"^1.3.3","@ctrl/magnet-link":"^4.0.1","node-fetch-native":"^1.6.2","uint8array-extras":"^1.1.0","@ctrl/torrent-file":"^4.0.0","@ctrl/shared-torrent":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"1.3.1","typedoc":"0.25.12","p-wait-for":"5.0.2","typescript":"5.4.2","@types/node":"20.11.25","@types/cookie":"0.6.0","@biomejs/biome":"1.6.0","@vitest/coverage-v8":"1.3.1","@sindresorhus/tsconfig":"5.0.0","@ctrl/eslint-config-biome":"2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/qbittorrent_1.0.1_1712050918342_0.709110987460488","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@cao-mei-you-ren/qbittorrent","version":"1.0.2","keywords":["typescript","qbittorrent"],"author":{"name":"CaoMeiYouRen"},"license":"MIT","_id":"@cao-mei-you-ren/qbittorrent@1.0.2","maintainers":[{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"}],"contributors":[{"name":"Scott Cooper","email":"scttcper@gmail.com"},{"name":"CaoMeiYouRen"}],"homepage":"https://qbittorrent.vercel.app","bugs":{"url":"https://github.com/CaoMeiYouRen/qbittorrent/issues"},"dist":{"shasum":"be5d6ebf0cbb84df793df3e023493022fce19298","tarball":"https://registry.npmjs.org/@cao-mei-you-ren/qbittorrent/-/qbittorrent-1.0.2.tgz","fileCount":7,"integrity":"sha512-uOiNPvbNDpWdL+UpzVh2Vd1IPA9oQrOIMM+jnX082Xg4JO8jeXJ+iRWeirZ12MHt3F0Hrky6ltstU4o9NIGOHw==","signatures":[{"sig":"MEYCIQDYDYvkfs0hZZE/aYlet+C/mTOA426QGYDsAdh8JKKMcgIhAL4eNWjYTbD6MUz9KhHN6uzgh/KHlnRb+2QhgqNrEXtU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173639},"main":"./dist/index.cjs","pnpm":{"overrides":{"crypto-hash":"CaoMeiYouRen/crypto-hash"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"aee623f0c80622907f1b8e750289e412dd727f8b","release":{"branches":["master"]},"scripts":{"lint":"pnpm run '/^(lint:biome|lint:eslint)$/'","test":"vitest run","build":"tsup","test:ci":"vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml","lint:fix":"pnpm run '/^(lint:biome|lint:eslint):fix$/'","build:docs":"typedoc","lint:biome":"biome check .","test:watch":"vitest","lint:eslint":"eslint --ext .ts,.tsx .","lint:biome:fix":"biome check . --apply","lint:eslint:fix":"eslint --ext .ts,.tsx . --fix"},"_npmUser":{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"},"repository":{"url":"git+https://github.com/CaoMeiYouRen/qbittorrent.git","type":"git"},"_npmVersion":"10.5.0","description":"TypeScript api wrapper for qbittorrent using got","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","dependencies":{"ufo":"^1.4.0","cookie":"^0.6.0","ofetch":"^1.3.3","@ctrl/magnet-link":"^4.0.1","node-fetch-native":"^1.6.2","uint8array-extras":"^1.1.0","@ctrl/torrent-file":"^4.0.0","@ctrl/shared-torrent":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"1.3.1","typedoc":"0.25.12","p-wait-for":"5.0.2","typescript":"5.4.2","@types/node":"20.11.25","@types/cookie":"0.6.0","@biomejs/biome":"1.6.0","@vitest/coverage-v8":"1.3.1","@sindresorhus/tsconfig":"5.0.0","@ctrl/eslint-config-biome":"2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/qbittorrent_1.0.2_1712412945694_0.21101722842773607","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@cao-mei-you-ren/qbittorrent","version":"1.0.3","keywords":["typescript","qbittorrent"],"author":{"name":"CaoMeiYouRen"},"license":"MIT","_id":"@cao-mei-you-ren/qbittorrent@1.0.3","maintainers":[{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"}],"contributors":[{"name":"Scott Cooper","email":"scttcper@gmail.com"},{"name":"CaoMeiYouRen"}],"homepage":"https://qbittorrent.vercel.app","bugs":{"url":"https://github.com/CaoMeiYouRen/qbittorrent/issues"},"dist":{"shasum":"17df2f3712cb0b37f918b537a8fe335635e95570","tarball":"https://registry.npmjs.org/@cao-mei-you-ren/qbittorrent/-/qbittorrent-1.0.3.tgz","fileCount":7,"integrity":"sha512-vJKxXdVhV/PpwKClFDxVkEsSMtdfS0EwbPF7dewSzG5Th41PiyUDEm4hnM/CakjasJ/9NTSeSgk7oKyE+3tGNA==","signatures":[{"sig":"MEUCIEP+GfrAb/KvNZ/9XPcRk3uqh7Hd40g4OykhcPvLny1xAiEA7F8tKPTzTElbg7cO3pz82cZC8XaQM0YwuNj/JyT5GTU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173639},"main":"./dist/index.cjs","pnpm":{"overrides":{"crypto-hash":"CaoMeiYouRen/crypto-hash"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5088e0532b64d114095c8d25ef2f758a4ebbdbbd","release":{"branches":["master"]},"scripts":{"lint":"pnpm run '/^(lint:biome|lint:eslint)$/'","test":"vitest run","build":"tsup","test:ci":"vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml","lint:fix":"pnpm run '/^(lint:biome|lint:eslint):fix$/'","build:docs":"typedoc","lint:biome":"biome check .","test:watch":"vitest","lint:eslint":"eslint --ext .ts,.tsx .","lint:biome:fix":"biome check . --apply","lint:eslint:fix":"eslint --ext .ts,.tsx . --fix"},"_npmUser":{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"},"repository":{"url":"git+https://github.com/CaoMeiYouRen/qbittorrent.git","type":"git"},"_npmVersion":"10.5.0","description":"TypeScript api wrapper for qbittorrent using got","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","dependencies":{"ufo":"^1.4.0","cookie":"^0.6.0","ofetch":"^1.3.3","@ctrl/magnet-link":"^4.0.1","node-fetch-native":"^1.6.2","uint8array-extras":"^1.1.0","@ctrl/torrent-file":"^4.0.0","@ctrl/shared-torrent":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"1.3.1","typedoc":"0.25.12","p-wait-for":"5.0.2","typescript":"5.4.2","@types/node":"20.11.25","@types/cookie":"0.6.0","@biomejs/biome":"1.6.0","@vitest/coverage-v8":"1.3.1","@sindresorhus/tsconfig":"5.0.0","@ctrl/eslint-config-biome":"2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/qbittorrent_1.0.3_1712582899177_0.7518833448362425","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@cao-mei-you-ren/qbittorrent","version":"1.0.4","keywords":["typescript","qbittorrent"],"author":{"name":"CaoMeiYouRen"},"license":"MIT","_id":"@cao-mei-you-ren/qbittorrent@1.0.4","maintainers":[{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"}],"contributors":[{"name":"Scott Cooper","email":"scttcper@gmail.com"},{"name":"CaoMeiYouRen"}],"homepage":"https://qbittorrent.vercel.app","bugs":{"url":"https://github.com/CaoMeiYouRen/qbittorrent/issues"},"dist":{"shasum":"6638f7f5f115345d134f673bdc76801c4fb029b8","tarball":"https://registry.npmjs.org/@cao-mei-you-ren/qbittorrent/-/qbittorrent-1.0.4.tgz","fileCount":7,"integrity":"sha512-0os0L3g9VNuElmt3ZcFU0cqTPficBvv3yedSIEChv+ZG/5jUCQBuq6Oza6rqqqNudYSHQQhfwP0PgzmzBsEpHQ==","signatures":[{"sig":"MEUCIGBBnfXDG6R78wnOwO7xelQKDTyfD6p1e3e0I8/tGxlwAiEA0fEk8skaYy2/fG7LvS52X1nQ21CFomkpcNe/PgEhePs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":176429},"main":"./dist/index.cjs","pnpm":{"overrides":{"crypto-hash":"CaoMeiYouRen/crypto-hash"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"bd0f4c4a4c776a0747b9c1ce6c75f4fe1dbe616a","release":{"branches":["master"]},"scripts":{"lint":"pnpm run '/^(lint:biome|lint:eslint)$/'","test":"vitest run","build":"tsup","test:ci":"vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml","lint:fix":"pnpm run '/^(lint:biome|lint:eslint):fix$/'","build:docs":"typedoc","lint:biome":"biome check .","test:watch":"vitest","lint:eslint":"eslint --ext .ts,.tsx .","lint:biome:fix":"biome check . --apply","lint:eslint:fix":"eslint --ext .ts,.tsx . --fix"},"_npmUser":{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"},"repository":{"url":"git+https://github.com/CaoMeiYouRen/qbittorrent.git","type":"git"},"_npmVersion":"10.5.0","description":"TypeScript api wrapper for qbittorrent using got","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","dependencies":{"ufo":"^1.4.0","cookie":"^0.6.0","ofetch":"^1.3.3","@ctrl/magnet-link":"^4.0.1","node-fetch-native":"^1.6.2","uint8array-extras":"^1.1.0","@ctrl/torrent-file":"^4.0.0","@ctrl/shared-torrent":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"1.3.1","typedoc":"0.25.12","p-wait-for":"5.0.2","typescript":"5.4.2","@types/node":"20.11.25","@types/cookie":"0.6.0","@biomejs/biome":"1.6.0","@vitest/coverage-v8":"1.3.1","@sindresorhus/tsconfig":"5.0.0","@ctrl/eslint-config-biome":"2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/qbittorrent_1.0.4_1716627641992_0.8705692403337861","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@cao-mei-you-ren/qbittorrent","version":"1.0.5","keywords":["typescript","qbittorrent"],"author":{"name":"CaoMeiYouRen"},"license":"MIT","_id":"@cao-mei-you-ren/qbittorrent@1.0.5","maintainers":[{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"}],"contributors":[{"name":"Scott Cooper","email":"scttcper@gmail.com"},{"name":"CaoMeiYouRen"}],"homepage":"https://qbittorrent.vercel.app","bugs":{"url":"https://github.com/CaoMeiYouRen/qbittorrent/issues"},"dist":{"shasum":"2d2856397f3e398a381aeb53194a6ff2285e8ab4","tarball":"https://registry.npmjs.org/@cao-mei-you-ren/qbittorrent/-/qbittorrent-1.0.5.tgz","fileCount":7,"integrity":"sha512-lddfw9X/gMv05LZlBoAVn7v4YGaBQDGsNifpCLIousPoa3XZ7DFyokTLOvHEME84qqRmNubeyVAQ1eNIvoegmw==","signatures":[{"sig":"MEQCICWgS99omUxDjI286VZpYsZsb4ixAd4w2s8jHzWiRX0VAiApUZpyRcugZ7sXSGjGW9JNMxJCzxC0Pos6bgpNVe5eyw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":176456},"main":"./dist/index.cjs","pnpm":{"overrides":{"crypto-hash":"git+https://github.com/CaoMeiYouRen/crypto-hash.git"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"542f5c546dc30db1ea357adbc7e9b31a62e8ad95","release":{"branches":["master"]},"scripts":{"lint":"pnpm run '/^(lint:biome|lint:eslint)$/'","test":"vitest run","build":"tsup","test:ci":"vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml","lint:fix":"pnpm run '/^(lint:biome|lint:eslint):fix$/'","build:docs":"typedoc","lint:biome":"biome check .","test:watch":"vitest","lint:eslint":"eslint --ext .ts,.tsx .","lint:biome:fix":"biome check . --apply","lint:eslint:fix":"eslint --ext .ts,.tsx . --fix"},"_npmUser":{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"},"repository":{"url":"git+https://github.com/CaoMeiYouRen/qbittorrent.git","type":"git"},"_npmVersion":"10.5.0","description":"TypeScript api wrapper for qbittorrent using got","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","dependencies":{"ufo":"^1.4.0","cookie":"^0.6.0","ofetch":"^1.3.3","@ctrl/magnet-link":"^4.0.1","node-fetch-native":"^1.6.2","uint8array-extras":"^1.1.0","@ctrl/torrent-file":"^4.0.0","@ctrl/shared-torrent":"^6.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","vitest":"1.3.1","typedoc":"0.25.12","p-wait-for":"5.0.2","typescript":"5.4.2","@types/node":"20.11.25","@types/cookie":"0.6.0","@biomejs/biome":"1.6.0","@vitest/coverage-v8":"1.3.1","@sindresorhus/tsconfig":"5.0.0","@ctrl/eslint-config-biome":"2.1.1"},"_npmOperationalInternal":{"tmp":"tmp/qbittorrent_1.0.5_1716629689640_0.4326297985392531","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@cao-mei-you-ren/qbittorrent","version":"1.1.0","description":"TypeScript api wrapper for qbittorrent using got","author":{"name":"CaoMeiYouRen"},"contributors":[{"name":"Scott Cooper","email":"scttcper@gmail.com"},{"name":"CaoMeiYouRen"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/CaoMeiYouRen/qbittorrent.git"},"homepage":"https://qbittorrent.vercel.app","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"sideEffects":false,"publishConfig":{"access":"public"},"keywords":["typescript","qbittorrent"],"scripts":{"lint":"pnpm run '/^(lint:biome|lint:eslint)$/'","lint:biome":"biome check .","lint:eslint":"eslint --ext .ts,.tsx .","lint:fix":"pnpm run '/^(lint:biome|lint:eslint):fix$/'","lint:eslint:fix":"eslint --ext .ts,.tsx . --fix","lint:biome:fix":"biome check . --apply","build":"tsup","build:docs":"typedoc","test":"vitest run","test:watch":"vitest","test:ci":"vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"},"dependencies":{"@cao-mei-you-ren/torrent-file":"^1.0.0","@ctrl/magnet-link":"^4.0.1","@ctrl/shared-torrent":"^6.0.0","cookie":"^0.6.0","node-fetch-native":"^1.6.2","ofetch":"^1.3.3","ufo":"^1.4.0","uint8array-extras":"^1.1.0"},"devDependencies":{"@biomejs/biome":"1.6.0","@ctrl/eslint-config-biome":"2.1.1","@sindresorhus/tsconfig":"5.0.0","@types/cookie":"0.6.0","@types/node":"20.11.25","@vitest/coverage-v8":"1.3.1","p-wait-for":"5.0.2","tsup":"^8.0.2","typedoc":"0.25.12","typescript":"5.4.2","vitest":"1.3.1"},"release":{"branches":["master"]},"engines":{"node":">=18"},"_id":"@cao-mei-you-ren/qbittorrent@1.1.0","gitHead":"7fe3efaad7625f24445eb7b4ea87825904a67f7b","bugs":{"url":"https://github.com/CaoMeiYouRen/qbittorrent/issues"},"_nodeVersion":"20.10.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-LDbiDpKWWE7PCmRaQQi0Aq56IldPGLwsD2exWTXdzg2B4hfbhnhsbtfzWFIu7liZQYzLLT/SvPry8IQEyuofHw==","shasum":"06868b8f4584e264241a6efda41a2189c3effe21","tarball":"https://registry.npmjs.org/@cao-mei-you-ren/qbittorrent/-/qbittorrent-1.1.0.tgz","fileCount":7,"unpackedSize":161398,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtxe1eqg5jFpFVqJWbTaDbpMnn4DppXr4m5qF6KjsVXgIhANb53XA6vCHjQ1/mrgfyO4viLC8eb6b4ZaYUGt2LwHpH"}]},"_npmUser":{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"},"directories":{},"maintainers":[{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qbittorrent_1.1.0_1720368481178_0.28016600464160524"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-02T07:04:31.068Z","modified":"2024-07-07T16:08:01.617Z","1.0.0":"2024-04-02T07:04:31.385Z","1.0.1":"2024-04-02T09:41:58.505Z","1.0.2":"2024-04-06T14:15:45.862Z","1.0.3":"2024-04-08T13:28:19.333Z","1.0.4":"2024-05-25T09:00:42.133Z","1.0.5":"2024-05-25T09:34:49.785Z","1.1.0":"2024-07-07T16:08:01.339Z"},"maintainers":[{"name":"cao-mei-you-ren","email":"caomeiyouren@qq.com"}],"author":{"name":"CaoMeiYouRen"},"repository":{"type":"git","url":"git+https://github.com/CaoMeiYouRen/qbittorrent.git"},"keywords":["typescript","qbittorrent"],"license":"MIT","homepage":"https://qbittorrent.vercel.app","bugs":{"url":"https://github.com/CaoMeiYouRen/qbittorrent/issues"},"readme":"# qBittorrent [![npm](https://badgen.net/npm/v/@ctrl/qbittorrent)](https://www.npmjs.com/package/@ctrl/qbittorrent) [![coverage](https://badgen.net/codecov/c/github/scttcper/qbittorrent)](https://codecov.io/gh/scttcper/qbittorrent)\n\n> TypeScript api wrapper for [qBittorrent](https://www.qbittorrent.org/) using [ofetch](https://github.com/unjs/ofetch)\n\n### Install\n\n```console\nnpm install @ctrl/qbittorrent\n```\n\n### Use\n\n```ts\nimport { QBittorrent } from '@ctrl/qbittorrent';\n\nconst client = new QBittorrent({\n  baseUrl: 'http://localhost:8080/',\n  username: 'admin',\n  password: 'adminadmin',\n});\n\nasync function main() {\n  const res = await qbittorrent.getAllData();\n  console.log(res);\n}\n```\n\n### API\n\nDocs: https://qbittorrent.vercel.app  \nqBittorrent Api Docs: https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)  \n\n### Normalized API\n\nThese functions have been normalized between torrent clients to easily support switching between multiple torrent clients. See [below](#see-also) for alternative supported torrent clients\n\n##### getAllData\n\nReturns all torrent data and an array of label objects. Data has been normalized and does not match the output of native `listTorrents()`.\n\n```ts\nconst data = await client.getAllData();\nconsole.log(data.torrents);\n```\n\n##### getTorrent\n\nReturns one torrent data from torrent hash\n\n```ts\nconst data = await client.getTorrent('torrent-hash');\nconsole.log(data);\n```\n\n##### pauseTorrent and resumeTorrent\n\nPause or resume a torrent\n\n```ts\nconst paused = await client.pauseTorrent();\nconsole.log(paused);\nconst resumed = await client.resumeTorrent();\nconsole.log(resumed);\n```\n\n##### removeTorrent\n\nRemove a torrent. Does not remove data on disk by default.\n\n```ts\n// does not remove data on disk\nconst result = await client.removeTorrent('torrent_id', false);\nconsole.log(result);\n\n// remove data on disk\nconst res = await client.removeTorrent('torrent_id', true);\nconsole.log(res);\n```\n\n##### addTorrent\n\nAdd a torrent, has client specific options. Also see normalizedAddTorrent\n\n```ts\nconst result = await client.addTorrent(fs.readFileSync(torrentFile));\nconsole.log(result);\n```\n\n##### normalizedAddTorrent\n\nAdd a torrent and return normalized torrent data, can start a torrent paused and add label\n\n```ts\nconst result = await client.normalizedAddTorrent(fs.readFileSync(torrentFile), {\n    startPaused: false;\n    label: 'linux';\n});\nconsole.log(result);\n```\n\n### See Also\n\nAll of the following npm modules provide the same normalized functions along with supporting the unique apis for each client.\n\ndeluge - https://github.com/scttcper/deluge  \ntransmission - https://github.com/scttcper/transmission  \nutorrent - https://github.com/scttcper/utorrent\n\n### Start a test docker container\n\n```\ndocker run -d \\\n  --name=qbittorrent \\\n  -e PUID=1000 \\\n  -e PGID=1000 \\\n  -e TZ=Etc/UTC \\\n  -e WEBUI_PORT=8080 \\\n  -p 8080:8080 \\\n  -p 6881:6881 \\\n  -p 6881:6881/udp \\\n  --restart unless-stopped \\\n  lscr.io/linuxserver/qbittorrent:latest\n```\n","readmeFilename":"README.md","contributors":[{"name":"Scott Cooper","email":"scttcper@gmail.com"},{"name":"CaoMeiYouRen"}]}