{"_id":"petal-service","_rev":"45-f19d546a2a8e74bfeae12e0255c0085e","name":"petal-service","dist-tags":{"latest":"0.1.4"},"versions":{"0.0.1":{"name":"petal-service","version":"0.0.1","author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.1","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"db787e531b4f948283ee042e824e1008490d05ab","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.1.tgz","fileCount":51,"integrity":"sha512-gB6TjX0NkuNu/b/SAkA4U7d8IouAS+gsFfaRB1KK+mdPvd/4wzPPXQN+d5ujOW18ScmYc+HdPiQ3CGxzz9/UMw==","signatures":[{"sig":"MEUCIQDSu6fVE7/nBYgh9qlHutRO17JaCqXDIUlv+kFDIkeREgIgJKJFEt4GtpMb7xsiXYcl0woouyztFqaxfZCVVBhdZ4E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99622},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"e8d509471ef58bd8ea999177ec405c662f40046e","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"9.8.1","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"18.18.0","dependencies":{"axios":"^1.5.0","lodash":"^4.17.21","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","whatwg-url":"^13.0.0","@types/mocha":"^10.0.1","@types/lodash":"^4.14.198","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.1_1696201577720_0.6412631845917449","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"petal-service","version":"0.0.2","author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.2","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"053d8abe13cd2a7efcda803d9e19826d5a05ac72","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.2.tgz","fileCount":51,"integrity":"sha512-9ghBCxOzVmPzdPXrUOBv92AJGg1zYUbFf6L8jt00nVbieTuTWmPjnP/CGP8tybzgYcx3r3P0McWM6YS3f/c6Cw==","signatures":[{"sig":"MEYCIQC9q/IGICOJuR8s8YWofFGz+DRE+A27f79S+6nbcnCsEQIhAKZWb67oetuG7dzv54VUoaOa50pfFPldEl07n3NYf05v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103616},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"8a88e96b7ff572a9f78cf0479df14a5ad1a023cd","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"9.8.1","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"18.18.0","dependencies":{"axios":"^1.5.0","lodash":"^4.17.21","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","whatwg-url":"^13.0.0","@types/mocha":"^10.0.1","@types/lodash":"^4.14.198","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.2_1696203459702_0.8967342715305795","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"petal-service","version":"0.0.3","author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.3","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"bb37f069ecc103ea31f0b03753e4d8dda24a2e56","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.3.tgz","fileCount":51,"integrity":"sha512-Ek9jIgiAQs7+9AtBRM36OT0InyeMCEaWdrCDoIzUndRj33WOsta/PLHphESQYLG+9s46E3cMdNSEYHpks2wQcg==","signatures":[{"sig":"MEQCIEbL1k1+FpR16ek/IIAvU0XDfZBW9JcBro3K2rfrb3YvAiB3U0SBlJMpq+RDP0B3Is8L1+w9jfd647jHoPWBmdBzPg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104041},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"8a88e96b7ff572a9f78cf0479df14a5ad1a023cd","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"9.8.1","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"18.18.0","dependencies":{"axios":"^1.5.0","lodash":"^4.17.21","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","whatwg-url":"^13.0.0","@types/mocha":"^10.0.1","@types/lodash":"^4.14.198","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.3_1696204408571_0.8361655735266544","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"petal-service","version":"0.0.7","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.7","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"4710a83a8efec1b61a4b3c2e41a7bfefc08c783d","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.7.tgz","fileCount":70,"integrity":"sha512-RnemgVbQL8QpyUdIW67u45cr+TGdQ5ew7CVKXaCHIG+g3A01BaRdyHZkfEk7HBrZtZ/3Cl62Hm+wUWCj7kZAww==","signatures":[{"sig":"MEUCIQDi65jU5D3fBe15mBV0YiiOXgZZLYEGa47W7arYRnDSyAIgIOszXJCufmg/DmLQWgOdlQGq4XQP2Csx9D9gl3Ehdn4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":125209},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"3f0bd19d5680dd29bd3dfdbc15a091ce6285ff8e","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.5.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.14.2","dependencies":{"axios":"^1.5.0","lodash":"^4.17.21","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","whatwg-url":"^13.0.0","@types/mocha":"^10.0.1","@types/lodash":"^4.14.198","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.7_1696530178618_0.41166177302975004","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"petal-service","version":"0.0.8","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.8","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"6a7a4741379d04741c8916ec1444a294047294bf","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.8.tgz","fileCount":67,"integrity":"sha512-IJvCouNCjbap+AI42Qc9DGTslGm92zYdgI9F4RIsEFusehZyi306TrB4LxuPb23OIqvXsSEtrxcxUfSbvK0JNQ==","signatures":[{"sig":"MEUCIHch1B3ef9a3VpH7MrT1Ypr96ltTssaMtMmwB4ouCgosAiEAjJGyV3+ZjTlvukPjYUWGd5n75OjaRch1OOtMxgathT8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":123856},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"7b5f4f9a5f4190ce7f93ea021fa8015132919aa0","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","lodash":"^4.17.21","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","whatwg-url":"^13.0.0","@types/mocha":"^10.0.1","@types/lodash":"^4.14.198","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.8_1696642805358_0.5282215171335578","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"petal-service","version":"0.0.9","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.9","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"20e40a9c00b25254a3c23225ebe716d354593988","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.9.tgz","fileCount":73,"integrity":"sha512-wwNgqOAXdXVS0fSbMyUDh17oftgZFrjeozpozs1N1r7/tesfC9opDs6sZa09GGlOonBxRjmZytqOgMcmjwrlgg==","signatures":[{"sig":"MEUCIQDppsQ0PgiUjKNPHVnEunnvFHNzc56Mz+cfm2eQ1kcDWwIgBR68eWntGywaH8mol2F/gkt5ZWpnbtpKXIKhJW2Qwjo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":134629},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"f204a9dbb03766257e55dc650277c6d36967675f","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","lodash":"^4.17.21","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","whatwg-url":"^13.0.0","@types/mocha":"^10.0.1","@types/lodash":"^4.14.198","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.9_1696746381551_0.5297787146725139","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"petal-service","version":"0.0.10","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.10","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"636d9268ae8f7d84f546e19c0e3c6e6cef91501b","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.10.tgz","fileCount":86,"integrity":"sha512-WTC8EaR8Eh6oUSNrs2rpoefJjAZc9KO8ZW4vm3dr2wF9XSJxLrQtLFjPVCGpnMQO+QsqplR74Vt6DsBSunaXdw==","signatures":[{"sig":"MEQCIGTCQFpObXCMFPQm3aJUUTIFv3nvkea43iqGZ3aM/NHsAiB/lFXo8rlB633G2YgQbj7rUXGjXDrJdT/R72Ns6MRKwg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":155386},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"17d0976baf5790b427147ea72daa8a5abab1f029","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.10_1696831446131_0.8524472067706228","host":"s3://npm-registry-packages"}},"0.0.11":{"name":"petal-service","version":"0.0.11","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.11","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"59f29e80a9c894dd8cb5556e4278aad3e0fb0f99","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.11.tgz","fileCount":86,"integrity":"sha512-IDsx97SfV4rq3MxSTXzgyOGE/n5I8oiGq/O8X0oR8c5Y0rXXzZkJYf1haTEEaGpLuAAKI1o0h6mDhrdlqk9fzA==","signatures":[{"sig":"MEUCIEmto140z3VGdx/dnA1ZclRLVACXgwD1KkPvemHjGpzIAiEA5hsWPXX2zGekx+3NgCIhPh9Jh3M0XcLAmp0O44T1MXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":155500},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"6410873168b1ac5c5aef9e38acfefb1d96d9a9fb","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.11_1696833922818_0.335220824221935","host":"s3://npm-registry-packages"}},"0.0.12":{"name":"petal-service","version":"0.0.12","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.12","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"4265849b6fa5532375ca1bda00fd5c5f750d8e1c","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.12.tgz","fileCount":89,"integrity":"sha512-bE/Dg3AAVjJZKJJpEvpySoPxnH181Ln/5THO3F+mJvd6ZLCWRnip90xbzXkn9z8lTipS5HRW0PHKUvDDpyjc/g==","signatures":[{"sig":"MEQCIF6nbbG1qccxg1DHVvrwDBHoa1KFjEq8BRPvhC2VIuq+AiAzZ/ravDBBZhUYTezrfumOjGIkkR0w3bRQyAIhzoOb4w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":162023},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"fa501f410a5f25ef00e684897434f93a90b4b6aa","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.12_1697075453488_0.7229548809313795","host":"s3://npm-registry-packages"}},"0.0.13":{"name":"petal-service","version":"0.0.13","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.13","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"68e3e2b7531ad1bd16fbaead1b99246d587e5d2d","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.13.tgz","fileCount":91,"integrity":"sha512-JS/f4RebgwJ0iQ223h4zcTvKFJaQ2ZXPN9XW5mUy8fZuxquL00PV69MAQb8g+HOc3usCb7sRv5L1o/fvfBq3XA==","signatures":[{"sig":"MEUCIDf061zfDgh5K01SwnsTCJr4+jwXyh46/4ptLDdiWxBJAiEAtyg0orCs7BYxKHpqIDEqpbnxdM7kqwH/8CLMJVqVRfg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166679},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"f38f8a8379658a3802e98e37a7abd7c4c2744cb2","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.13_1697181129306_0.5815638477671303","host":"s3://npm-registry-packages"}},"0.0.15":{"name":"petal-service","version":"0.0.15","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.15","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"77ca9d38e2dc75143663056ae7cf690a3df9237d","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.15.tgz","fileCount":93,"integrity":"sha512-qCnPs5MLkVQufREdh/HoOLNWK5WJUY92bffc7DoNf40iRKqBattGwKPIWOUeIGBCyAaO7PCqOugAk4GKdLq4/g==","signatures":[{"sig":"MEYCIQCAR/jfW559vCidO5+727pteFqNuwSQ8fPl6o2Jukt7MQIhAOrAEYKWsprEhO2B9UbLzAVEXL7BtBb69AOoB2IGoaa8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":210957},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"2ddbe182464308b829ad75ef49a513eccb964693","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.5.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.14.2","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.15_1697296797203_0.48626956569328983","host":"s3://npm-registry-packages"}},"0.0.16":{"name":"petal-service","version":"0.0.16","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.16","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"a0e77e64308e1bb6e5764f4b25cd41e41ee60319","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.16.tgz","fileCount":93,"integrity":"sha512-n+eQYRtcF7+0n3AgGgpqTR9uQj2W5sAdBZQQQ1KYKNZVPk7SKn1GUr3pQsDP6sYp9LNrv5u/PTekIO772RpdYw==","signatures":[{"sig":"MEUCIQCO/57eQy+p8+yKE3bUSqE9M+GdlhcF87TDNGBb3Gwj9QIgSHqdgDy6iebA8ssxKPyRmlg0+8zghR2IKNU7s6IoMr8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177241},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"26d8c7ec2cad98ce59c93c4365cf00472ddf6621","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.5.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.14.2","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.16_1697387072914_0.5840995066925272","host":"s3://npm-registry-packages"}},"0.0.17":{"name":"petal-service","version":"0.0.17","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.17","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"baa0bfefd747b02ae512d2314f3c4f20c4d470ee","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.17.tgz","fileCount":95,"integrity":"sha512-FUfSqgxL8AEHUbhUB4dykWd9rR1hyhrUGkMJsajGF3ouORrofPc9KF1DUC9mWkBS88t2ATjP33JqOX98x7SqcQ==","signatures":[{"sig":"MEUCIDkrwlvO9bMFvvw4pTENEVzBd3lnF/SUNEVhCj3sfaK5AiEA9XTZ7DIV4+UYXPEHj5TIkrh2NOKWjhixTNcGkmJaY/8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":703724},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"f3e96964991473920fcb8756c89625ff8f62e6e8","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.17_1697628748271_0.018181660110438536","host":"s3://npm-registry-packages"}},"0.0.18":{"name":"petal-service","version":"0.0.18","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.18","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"5cd0899df835bc9eb17a418ad745f7f1f5a3c587","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.18.tgz","fileCount":95,"integrity":"sha512-7ovGjz6OLaEi89Cgb/GJ97y5J6hhPRlztGkpm57h+vSr0oAmrG/erH2DIlQoxVKBr2LPiB+hQokxVi31oGZX0g==","signatures":[{"sig":"MEUCIGAl0EgELRIBZx0C9Z87ZCHadOx8VH/f22UGLnDQQVoCAiEA1XcoxRhTUytsyB8k8DhFPqLkqV072lh0/DaRFqb21U4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":659790},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"b387ca9deea8cd5196fb9884fce1cdf406d68d31","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.18_1698204188459_0.7666368911577268","host":"s3://npm-registry-packages"}},"0.0.20":{"name":"petal-service","version":"0.0.20","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.20","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"9278839fc6d060dbaea22d9fbc0e2abd593901eb","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.20.tgz","fileCount":99,"integrity":"sha512-D2/bHwAZGsBXcu1wKkfnGB5pUEnEHAaqWulf1uEay6P584bn4+Ety+GSm8bgX/fZGjMN5SUVE2AjoIFpc52sOg==","signatures":[{"sig":"MEQCIFNC2RNuA/yHBYdWNTom54tx1eTxTox3Q4G2GAaF68zaAiBJOSgoh1h11yrtYn1s31D8lJw4vNXZZ1u7Na3VDCov/Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":665922},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"f0e57a301a1c6d99e0934b4995f210483f9ecc90","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"10.1.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"20.9.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.20_1700303657426_0.016251196583618288","host":"s3://npm-registry-packages"}},"0.0.33":{"name":"petal-service","version":"0.0.33","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.33","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"75bc90b012d3e39cb390a257a18e28bb2763a1e1","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.33.tgz","fileCount":99,"integrity":"sha512-uBXO7ODW/EckJf7W0Z1/apkvaikN1GaKJp2zj1G+HEOOMEjRRLQpftsoUR2kupiCS5YYb3xf/YtTTAG/zwOPtg==","signatures":[{"sig":"MEUCIHZrV5xCPjG426mNoMpilgGRg5V80Me5dPBfMdzVtg8vAiEAocaZD5MGGakmnYI9C4OHNKR9m9oINTxzPC+LBWuN8H0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":658376},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"508234ea00bca123f16690ef5dc950cd285790fa","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.18.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.10.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.33_1704780703392_0.25346688163827813","host":"s3://npm-registry-packages"}},"0.0.34":{"name":"petal-service","version":"0.0.34","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.34","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"7f0171befeca04532be67e345a34f4ada13d98af","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.34.tgz","fileCount":99,"integrity":"sha512-v+oFA7Z1srQzp23719rGcgSoqEr5oHIE9DXhCQ4zoWrFZj+lUXkvKwiwQIoOKj7v8Hcaubye2O23MK8I0pYbDw==","signatures":[{"sig":"MEUCIBkUCYI4fI9nqr7I4mBZLV7Ms76lif/QVnJwJgCRSX7ZAiEA1Xm9YM73TMYA6ZE7sOUpWTWuhmHH2HlfAcDBKJcR/jE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":658342},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"6cf8cce55074abd6893c4ee65fab816965e00240","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.18.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.10.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.34_1704785657454_0.5483679577086651","host":"s3://npm-registry-packages"}},"0.0.35":{"name":"petal-service","version":"0.0.35","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.35","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"5976315fa9f7a4fb642f89cf4bf72586542e7a96","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.35.tgz","fileCount":100,"integrity":"sha512-GC25EHwSx1zY3lrtyfcYW2rwgiX/Hfnrhxo7jcBbUjf/6hDKYWDe89CdegYIull69nIXqgGyIMcZeGwb2R3QeA==","signatures":[{"sig":"MEUCIQDEBlelVIQmgNoeaKmQD1OeoToz8ExEemY4nZ0VhOckJwIgI2rk+jtdWLbEVT4FM0ATyswXGJMHPU7qF+ZePFPPA7o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1013306},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"97e5297472cf19c1beb85c1a853964d38d0594b7","scripts":{"test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.18.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.10.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.35_1705297926786_0.06099000296274526","host":"s3://npm-registry-packages"}},"0.0.36":{"name":"petal-service","version":"0.0.36","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.36","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"aaaeb2b014fe6c87347e1572ae1076a3aa06f54f","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.36.tgz","fileCount":101,"integrity":"sha512-Afm97J22RlzyxGj5p7NCjkl2ZoqVMdhpdbAaO5E/77GKuZWpB5OqA8iadQrZqHoMOcaSN29gwTj5/We/w6hfzQ==","signatures":[{"sig":"MEUCIBvXwJ/+HhTgawOcB2TKgOr2jqIrNNhrnc7A7w3Mujy1AiEAhXLKXsJmL0Vtk4EiT/9lvJ4d2IVjNL0S1EAGhznwe7U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1032217},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"8f550ec4d108e6aad76b81fd3e880864cf224971","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.18.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.10.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.36_1705557212564_0.05393527014729238","host":"s3://npm-registry-packages"}},"0.0.37":{"name":"petal-service","version":"0.0.37","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.37","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"45ad2ff83ff02213d0cc6132158c40838ed3554f","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.37.tgz","fileCount":101,"integrity":"sha512-GDZyW+keqP0AeaRVfCV10m/XPp9u6Uf2fIRaSKb02wqym6uZ2tb/Z03W1mJjt5R+kdQ0FOnv8Q3inBywp3d9cQ==","signatures":[{"sig":"MEUCIQDi+f8yrJXIT3EHYhYHNaf5NXn3EKktelD79TqPrnXiPgIgZMKx0MQgys7gE/bLvcBCsSq5n0d9ltxSi0wXXpovp5g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1032738},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"2a40106156af4bbe239ea62f754490128117e7ca","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.18.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.10.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.37_1706512800866_0.8744006941315852","host":"s3://npm-registry-packages"}},"0.0.38":{"name":"petal-service","version":"0.0.38","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.38","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"d5a8da60ecf1d4dbc15e0ecd37950d9b62f5a552","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.38.tgz","fileCount":102,"integrity":"sha512-TJrVVD6ua7r3AA6F9iF5LO8qYaJajfxnzo47hn0a6KzRRy2fvaxjI9OfWfCiZ4We9us9kp7mgHzLdp9GktbWMw==","signatures":[{"sig":"MEUCIQCGt81TUUJItEgEgysZmt6LUEAbe2M/sz6IEOI9ERzMtwIgYQqIj/MEGOls25ox/c/eEkJ3LLp8x/BvenFaYVyeAJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1033014},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"135fe8a9a8cf506cedc359efc907dd47bd06e408","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.18.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.10.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.38_1706875398249_0.7978365425106777","host":"s3://npm-registry-packages"}},"0.0.39":{"name":"petal-service","version":"0.0.39","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.39","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"5e3550e9f640aec5d8c4e05149d6d870a639b04a","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.39.tgz","fileCount":102,"integrity":"sha512-cVbWJZx5S/IbgpQpOBPzhMaAZ9gnPov8Y/D0JGq0gSOR4aDH0yTb+wa8Stv56iYdYetNk/KwG+4gLEJL0l1/ug==","signatures":[{"sig":"MEUCIQDgevwCY2bgM2ab/EkR/T/y/VKX+uDM4CGnwKXRS3jILAIgcANHv9jiQ+R27PPXi/gpOmDiirJ9wrESXVsVlFxxmTg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1033341},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"59555c34eb87e765342b7798e25a4cfdf6cd79b5","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.18.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.10.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.39_1708413990931_0.3864391004346057","host":"s3://npm-registry-packages"}},"0.0.40":{"name":"petal-service","version":"0.0.40","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.40","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"6f3d1adbef76d0b3cf04d5e2c8c0a540f8ef9efa","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.40.tgz","fileCount":44,"integrity":"sha512-m7sccrhxv7TFW+pSfwNSWXIv2D2nFSMWjAGFTB8DM2MtzVliKIoysZryTOZszAkBjwEx6uWv3XDEdmgyZsZYZg==","signatures":[{"sig":"MEUCIGyl46K2mrjq7mFBlCBgSyb4icipOQFmSyfg1TqN/ZoYAiEAm81GqYtHvUWJo2NCPntC0HBcId9mi9r6v7g77jP2bTg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77194},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"b1d61764c76b6bfac05d664d54c220fda9b7b59f","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.18.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.10.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.40_1709021055131_0.20082814877584676","host":"s3://npm-registry-packages"}},"0.0.41":{"name":"petal-service","version":"0.0.41","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.41","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"c9b8e245afdbcfa46bf81e74d9a4c7093e63ed84","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.41.tgz","fileCount":44,"integrity":"sha512-G2H0c+Zh/rUQdhuFH1VO1y0rcF9F6R1VYby6bO/zxS7vlBQ9Wjq4dwOd+vE6XJyTf1307URReHbllcbIVuahtQ==","signatures":[{"sig":"MEUCICKUPnY04fEq6tBnq77eyHfUOc2l+odhFvs0RxC0wnDWAiEA5cWqWDu3TjeXwCkgY1D0uJQZHLDfvkhjZcEChtHPhNk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77548},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"8ef68988b0f3277c77b2b0e45a320559e0f6e63d","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.41_1709885162374_0.8417010975963151","host":"s3://npm-registry-packages"}},"0.0.42":{"name":"petal-service","version":"0.0.42","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.0.42","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"e7cab77acf3c7e2f098de6d9a3d9066a57940842","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.0.42.tgz","fileCount":44,"integrity":"sha512-QoGRfh2+7DKBVhH98XcIf6ADeGScM2FlXuMZBYcMfqK5m+MWs1/95Bx82F8Cws5RNyrGOwHw9eOd/mwctOS88w==","signatures":[{"sig":"MEYCIQDVpa+RNiftb5H8O+udQ7WyvA5SQZJNdHui8PbT1SsplwIhAJX4F6DRijbD/3X3QR02U0P4vVCPYqg9Zj3G4ptoC+dX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76876},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"b34a89a4082910350eebe1864f88e0a1ae0cec4a","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.0.42_1721782075860_0.4443033262279903","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"petal-service","version":"0.1.0","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.1.0","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"ebffc415d25e1b0ac92f29f79ebb61ebc2fed7ea","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.1.0.tgz","fileCount":44,"integrity":"sha512-IBy3lcZlRGFK+IAUtxBITuxaSQAU94snIqFeGzhd1HfEwCmbon2c1t5Z56PowZzmBl4kjUIFnu3qdSXKvM1D9w==","signatures":[{"sig":"MEQCIFHrQnBa/XjC8OCHWru+QgekysIezdl/n/ADXsHbMrvXAiBlWLe4HO8BNNPJHHuWLeR4/bt3tS68WoSHKzcYO7MDxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77917},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"cd0d1cd5f98d50bec8b6cac4895bc49b80da7602","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.1.0_1721957903804_0.07253534015193819","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"petal-service","version":"0.1.1","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.1.1","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"7771ad7adef7469d42e4f8988ddf12ee3a06531b","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.1.1.tgz","fileCount":46,"integrity":"sha512-Tus1RJAlDiqT2uRBCxMDAxxgR9W5URU+JTkQAne7evXrV8HQ+r/Yr9WbJ8e522FKsHt+1NQzub6wAinyUlTk9g==","signatures":[{"sig":"MEQCIF9Jx/TfTAUd4Yj4vEsFGzDR9F2EweK2UV2PR4wqxlmKAiAUK9C6U4cm11UUylwIAnDZCbvoUQg8A7+kE0LkoTso/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83432},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"6b8924c753482f09caf343420be41a2bb99c1f95","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"8.11.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"16.16.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.1.1_1737338098512_0.8373515890703929","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"petal-service","version":"0.1.2","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.1.2","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"a06361022970bd4f38d2b4080895e33c2977710b","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.1.2.tgz","fileCount":46,"integrity":"sha512-mwuBC4400etpNGVGAP+SfJ6WB9SI1+VUBQEtB8pRmvcZF7tnGGdtrU61KS+G/IFKBr88AqCU7cP7IBuECsPong==","signatures":[{"sig":"MEQCIACiLlfZwRv3o10It5iy1iI6W1+HnvucrGDbuk5hQkU3AiA02ji+vjQrFae1aRnFv0HlNOKRU0jKwXNbqcxwL63wog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83787},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"8cce8e9c78ab49b14566616b6964f7f733e80625","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"10.5.0","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"20.12.2","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.1.2_1739166028411_0.5830746392478121","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"petal-service","version":"0.1.3","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"author":{"name":"xiangwen hu"},"license":"MIT","_id":"petal-service@0.1.3","maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"contributors":[{"url":"https://github.com/xiangwenhu","name":"xiangwenhu"}],"homepage":"https://github.com/xiangwenhu/petal-service","dist":{"shasum":"1c9eb74321c4b555e3dc52350a41c7fdbdd28bf2","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.1.3.tgz","fileCount":46,"integrity":"sha512-TYHIlVrH3B8tfLrrSSMMIlxLBa4CqbgaeztyhqaOPXAlvgDFeIG7ISo+hS5Te0TsCkF2OyQQo2ixBVa2wVOY8w==","signatures":[{"sig":"MEUCIEbzguKMRxIiOFUvXO9Rudhy1Fbpbgbv/qtu0T4nDcsgAiEAx7aXoFbJxt9U4uqdukhyHrmUOQIcwSVJH3qI+X9ev2U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83933},"main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","gitHead":"f29de78a4141ede3d258bd8f4d3172dfe27fd8bc","scripts":{"bp":"npm run build && npm pack","test":"mocha --recursive","build":"tsc"},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"_npmVersion":"10.8.2","description":"轻松服务,快乐编程","directories":{},"_nodeVersion":"20.18.0","dependencies":{"axios":"^1.5.0","whatwg-url":"^13.0.0","path-to-regexp":"^6.2.1"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/petal-service_0.1.3_1739802928265_0.796212098645104","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"petal-service","version":"0.1.4","description":"轻松服务,快乐编程","main":"./dist/index.js","type":"commonjs","types":"./dist/index.d.ts","typing":"./dist/index.d.ts","author":{"name":"xiangwen hu"},"homepage":"https://github.com/xiangwenhu/petal-service","license":"MIT","dependencies":{"axios":"^1.5.0","path-to-regexp":"^6.2.1","whatwg-url":"^13.0.0"},"contributors":[{"name":"xiangwenhu","url":"https://github.com/xiangwenhu"}],"scripts":{"test":"mocha --recursive","bp":"npm run build && npm pack","build":"tsc"},"devDependencies":{"@types/mocha":"^10.0.1","@types/whatwg-url":"^11.0.0","mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"_id":"petal-service@0.1.4","gitHead":"24d36be3cd6f0d313a73587258e9b7a8d2a4dcd5","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-sx5mEVBmfbKX4hDc2zPo3cmR1P1LTc2kZ1kJROlWVc60vxg0U9NU+odaDAjtyesuI76Di4DXdi+WucW3u/WXfA==","shasum":"24ec8c87e4153f20a1a2a3b32674b7dc07738df2","tarball":"https://registry.npmjs.org/petal-service/-/petal-service-0.1.4.tgz","fileCount":46,"unpackedSize":80736,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC39MVEl6BnO2+urAE3TN/CDEs3xXbetKPUDoGIF3yqRwIgQiWXQUOZ8Mc3UI3T6bfw5yWO8ZMCAPtHU+tEb14+eq8="}]},"_npmUser":{"name":"huxw","email":"429124393@qq.com"},"directories":{},"maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/petal-service_0.1.4_1740646926524_0.39541831851164977"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-01T23:06:17.720Z","modified":"2025-02-27T09:02:06.978Z","0.0.1":"2023-10-01T23:06:17.966Z","0.0.2":"2023-10-01T23:37:39.877Z","0.0.3":"2023-10-01T23:53:28.814Z","0.0.4":"2023-10-05T17:33:53.817Z","0.0.5":"2023-10-05T17:41:08.209Z","0.0.6":"2023-10-05T17:59:30.748Z","0.0.7":"2023-10-05T18:22:58.852Z","0.0.8":"2023-10-07T01:40:05.581Z","0.0.9":"2023-10-08T06:26:21.715Z","0.0.10":"2023-10-09T06:04:06.346Z","0.0.11":"2023-10-09T06:45:23.081Z","0.0.12":"2023-10-12T01:50:53.728Z","0.0.13":"2023-10-13T07:12:09.624Z","0.0.14":"2023-10-14T15:12:45.996Z","0.0.15":"2023-10-14T15:19:57.694Z","0.0.16":"2023-10-15T16:24:33.132Z","0.0.17":"2023-10-18T11:32:28.601Z","0.0.18":"2023-10-25T03:23:08.842Z","0.0.19":"2023-11-18T10:20:52.226Z","0.0.20":"2023-11-18T10:34:17.788Z","0.0.30":"2024-01-09T03:48:40.812Z","0.0.31":"2024-01-09T05:45:00.265Z","0.0.32":"2024-01-09T06:01:51.657Z","0.0.33":"2024-01-09T06:11:43.687Z","0.0.34":"2024-01-09T07:34:17.653Z","0.0.35":"2024-01-15T05:52:07.090Z","0.0.36":"2024-01-18T05:53:32.811Z","0.0.37":"2024-01-29T07:20:01.104Z","0.0.38":"2024-02-02T12:03:18.499Z","0.0.39":"2024-02-20T07:26:31.158Z","0.0.40":"2024-02-27T08:04:15.340Z","0.0.41":"2024-03-08T08:06:02.540Z","0.0.42":"2024-07-24T00:47:56.028Z","0.1.0":"2024-07-26T01:38:24.036Z","0.1.1":"2025-01-20T01:54:58.732Z","0.1.2":"2025-02-10T05:40:28.589Z","0.1.3":"2025-02-17T14:35:28.463Z","0.1.4":"2025-02-27T09:02:06.787Z"},"author":{"name":"xiangwen hu"},"license":"MIT","homepage":"https://github.com/xiangwenhu/petal-service","keywords":["service","api-client","axios","api-rest","decorator","http-client","request","net"],"description":"轻松服务,快乐编程","contributors":[{"name":"xiangwenhu","url":"https://github.com/xiangwenhu"}],"maintainers":[{"name":"huxw","email":"429124393@qq.com"}],"readme":"## 环境要求\r\n* 支持 Map, Proxy, Reflect\r\n* 支持装饰器新语法, 详情参见：[proposal-decorators](https://github.com/tc39/proposal-decorators)\r\n* 如果使用TypeScript, TypeScript 5.0以上并且不设置experimentalDecorators。5.0的修饰器标准跟之前的修饰器是不兼容的。旧版的 --experimentalDecorators 选项将会仍然保留，如果启用此配置，则仍然会将装饰器视为旧版，新版的装饰器无需任何配置就能够默认启用。\r\n* 支持装饰器新语法: accessor\r\n\r\n简单就是 E6+ `+` typescript 5.0 +\r\n\r\n```typescript\r\n// 语法示例\r\ntype Decorator = (value: Input, context: {\r\n  kind: string;\r\n  name: string | symbol;\r\n  access: {\r\n    get?(): unknown;\r\n    set?(value: unknown): void;\r\n  };\r\n  private?: boolean;\r\n  static?: boolean;\r\n  addInitializer?(initializer: () => void): void;\r\n}) => Output | void;\r\n```\r\n\r\n## 说明\r\n轻量级的装饰器服务框架，快速搭建请求服务。\r\n比如：\r\n```typescript\r\nimport \"petal-service\";\r\n\r\n// 允许打印日志\r\npetalEnableLog(true);\r\n\r\n// 更新配置，比如授权信息，例如jwt, cookies\r\npetalSetConfig({\r\n    headers: {\r\n        token: \"token\",\r\n    },\r\n});\r\n\r\n// 设置baseUrl和超时时间\r\n@petalClassDecorator({\r\n    timeout: 60 * 1000,\r\n    baseURL: \"http://www.example.com\",\r\n})\r\nclass DemoService extends PetalBaseService {\r\n    // 设置 api method 请求参数，最主要的是url, params, data和额外的config\r\n    @petalMethodDecorator({\r\n        method: \"post\",\r\n        url: \"\",\r\n    })\r\n    static async getIndex(\r\n        _params: PetalParamsPick.Params<{ since: string }>,\r\n    ): Promise<string> {\r\n        return this.res.data;\r\n    }\r\n\r\n    // 设置 实例的timeout ，优先级: 方法 > 大于实例 > class > 自定义默认值\r\n    @petalFieldDecorator(\"timeout\")\r\n    static timeoutValue = 5 * 1000;\r\n}\r\n\r\n// 调用\r\nDemoService.getIndex(\r\n    {\r\n        params: { since: \"monthly\" },\r\n        config: {\r\n            headers: { userId: 1 },\r\n        },\r\n    }\r\n)\r\n    .then((res) => {\r\n        console.log(\"res DemoService static getIndex:\", res);\r\n    })\r\n    .catch((err) => {\r\n        console.log(\"error DemoService static getIndex:\", err);\r\n    });\r\n\r\n```\r\n输出\r\n```shell\r\ninnerStaticMethodDecorator class:DemoService, method:getIndex\r\ninnerFieldDecorator class:DemoService, field:timeoutValue\r\nFunction getIndex final config: {\r\n  timeout: 5000,\r\n  responseType: 'json',\r\n  baseURL: 'https://www.example.com',\r\n  method: 'get',\r\n  url: '',\r\n  headers: { userId: 1 }\r\n}\r\nres DemoService static getIndex: 1256\r\n```\r\n\r\n## 特性\r\n- 支持多实例： 默认示例 + 自定义实例\r\n- 支持多级配置    \r\n    实例模式： 方法配置 > 实例属性配置 > 实例config属性 > class的配置 > 自定义默认值 > 系统默认配置   \r\n    静态模式： 方法配置 > 静态属性配置 > 静态config属性 > class的配置 > 自定义默认值 > 系统默认配置\r\n- 支持服务继承\r\n- 支持自定义装饰器 (初级)\r\n- 支持path路径参数，即 `/user/:id` 和 `/user/{id}` 格式\r\n- 支持getter\r\n- 支持accessor \r\n```typescript\r\n     @accessorDecorator()\r\n     accessor timeout: number = 15 * 1000;\r\n```\r\n- 支持静态方法和静态属性\r\n- 支持基于Axios自定义requester\r\n- 支持拦截器\r\n- 支持实例属性config作为配置\r\n- 支持静态属性config作为配置\r\n- 内置BaseServiceClass，快捷使用 res和config属性\r\n- 全局暴露默认实例装饰器\r\n- 支持日志开关\r\n```typescript\r\nenableLog(true)      // 自行引入\r\npetalEnableLog(true) // 全局暴露\r\n```\r\n- 支持查询方法配置\r\n```typescript\r\nconsole.log(\"getIndex config\", getMethodConfig(DemoService, DemoService.getIndex));\r\n// 输出\r\ngetIndex config: {\r\n  classConfig: {},\r\n  methodConfig: { config: { url: 'https://baidu.com/' } },\r\n  propertyConfig: {},\r\n  fieldConfig: { timeout: 20000 },\r\n  defaultConfig: {}\r\n}\r\n```\r\n- 支持统计\r\n```typescript\r\nconst ins = new DemoService();\r\nconst result = getStatistics(ins);\r\nconsole.log(JSON.stringify(result, undefined , \"\\t\"));\r\n\r\n//输出\r\n{\r\n\t\"instanceMethods\": {\r\n\t\t\"count\": 1,\r\n\t\t\"methods\": [\r\n\t\t\t{\r\n\t\t\t\t\"name\": \"getIndex\",\r\n\t\t\t\t\"class\": \"DemoService\"\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t\"staticMethods\": {\r\n\t\t\"count\": 1,\r\n\t\t\"methods\": [\r\n\t\t\t{\r\n\t\t\t\t\"name\": \"getStaticIndex\",\r\n\t\t\t\t\"class\": \"DemoService\"\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}\r\n```\r\n- 支持npm安装\r\n```\r\nnpm install petal-service\r\n```\r\n\r\n\r\n\r\n## 使用示例\r\n* [BaseService + 日志开关](https://github.com/xiangwenhu/petal-service-test/tree/main/test/baseService.ts)\r\n* [自定义装饰器](https://github.com/xiangwenhu/petal-service-test/tree/main/test/createDecorator.ts)\r\n* [创建新实例](https://github.com/xiangwenhu/petal-service-test/tree/main/test/createInstance.ts)\r\n* [创建新实例 + createRequester ](https://github.com/xiangwenhu/petal-service-test/tree/main/test/createInstance-createRequester.ts)\r\n* [默认实例 + 拦截器](https://github.com/xiangwenhu/petal-service-test/tree/main/test/global-interceptors.ts)\r\n* [使用自定义的requestor](https://github.com/xiangwenhu/petal-service-test/tree/main/test/setRequestor.ts)\r\n* [默认实例](https://github.com/xiangwenhu/petal-service-test/tree/main/test/global.ts)\r\n* [getter](https://github.com/xiangwenhu/petal-service-test/tree/main/test/getter.ts)\r\n* [静态getter](https://github.com/xiangwenhu/petal-service-test/tree/main/test/getter-static.ts)\r\n* [继承](https://github.com/xiangwenhu/petal-service-test/tree/main/test/inherit.ts)\r\n* [class config属性作为配置](https://github.com/xiangwenhu/petal-service-test/tree/main/test/instanceConfig.ts)\r\n* [path路径参数](https://github.com/xiangwenhu/petal-service-test/tree/main/test/pathUrl.ts)\r\n* [静态方法和静态属性配置](https://github.com/xiangwenhu/petal-service-test/tree/main/test/static.ts)\r\n* [静态属性config作为配置](https://github.com/xiangwenhu/petal-service-test/tree/main/test/staticConfig.ts)\r\n* [accessor](https://github.com/xiangwenhu/petal-service-test/tree/main/test/accessor.ts)\r\n* [静态accessor](https://github.com/xiangwenhu/petal-service-test/tree/main/test/accessor-static.ts)\r\n* [查询方法的config](https://github.com/xiangwenhu/petal-service-test/tree/main/test/getMethodConfig.ts)\r\n* [方法统计](https://github.com/xiangwenhu/petal-service-test/tree/main/test/staticConfig.ts)\r\n* [使用全局暴露的实例方法执行方法统计](https://github.com/xiangwenhu/petal-service-test/tree/main/test/global-statistics.ts)\r\n* [装饰非异步方法](https://github.com/xiangwenhu/petal-service-test/tree/main/test/noPromiseMethod.ts)\r\n* [处理返回结果](https://github.com/xiangwenhu/petal-service-test/tree/main/test/handleResult.ts)\r\n\r\n## 代码思路和存储\r\n参见 [design.md](https://github.com/xiangwenhu/petal-service/blob/master/docs/design.md)\r\n\r\n## 注意\r\n1. TypeScript 5.0 的修饰器标准跟之前的修饰器是不兼容的。旧版的 --experimentalDecorators 选项将会仍然保留，如果启用此配置，则仍然会将装饰器视为旧版，新版的装饰器无需任何配置就能够默认启用。\r\n2. 不能装饰私有的属性，方法，getter,accessor，否则会报错  \r\n3. 被methodDecorator装饰器装饰过的方法访问私有属性会报错，因为这里的this是一个代理对象。    \r\n关于代理对象不能访问私有属性，参见：\r\n* [Private fields incompatible with JS Proxy](https://github.com/evanw/esbuild/issues/1969)\r\n* [ES6 proxied class, access private property](https://stackoverflow.com/questions/67416881/es6-proxied-class-access-private-property-cannot-read-private-member-hidden-f)\r\n```typescript\r\n    @methodDecorator({\r\n        url: \"https://baidu.com\"\r\n    })\r\n    async getIndex(this: DemoService<string>): Promise<string> {\r\n        console.log('this.#name', this.#name);   // 报错\r\n        return this.res.data;\r\n    }\r\n\r\n    #name = 10;\r\n```\r\n\r\n\r\n## TODO\r\n- [x] 支持getter\r\n- [x] 去除lodash\r\n- [x] class属性的private检查？\r\n```typescript\r\n    // context.private : false\r\n    @fieldDecorator(\"baseURL\")\r\n    private baseURLValue = \"https://www.google.com\"\r\n\r\n    // context.private : true\r\n    @fieldDecorator(\"baseURL\")\r\n    #baseURLValue = \"https://www.google.com\"\r\n```\r\n- [x] 优化代理 (无需)\r\n    * Proxy.revocable，方法执行前进行代理，执行完毕后，取消代理\r\n    * Proxy\r\n- [x] 查询方法的各个配置, 入参 class|instance, method\r\n    * 实例方法 {defaultConfig, classConfig, methodConfig, propertyConfig, fieldConfig}\r\n    * 静态方法 {defaultConfig, classConfig, methodConfig, propertyConfig, fieldConfig }\r\n- [x] 统计\r\n- [x] setRequestInstance参数修改为函数，传入内置的创建实例的函数，配置，实例等\r\n- [x] dataStore存储关系图\r\n- [x] 调整存储结构\r\n- [x] 支持模拟参数，获取最后请求参数\r\n- [x] 重复装饰问题, method和class重复装饰，会logger.warn\r\n- [x] 服务请求TypeScript提示问题 (PetalParamsPick 命令空间)\r\n- [x] 全局示例支持设置logger\r\n- [x] 提供直接发起网络请求的方法 (getRequestor()可以获取)\r\n- [x] 逻辑问题：被装饰的方法如果返回的值是 undefined，那么默认返回的是 res.data, 问题在于如果res.data不是undefined, 但是res.data.list是undefined    \r\n   **使用extractData: boolean显示配置**   \r\n- [ ] 除了全局暴露装饰器方法，其他的暴露为对象?? 全局暴露 petal???\r\n\r\n\r\n## TODO  低优先级\r\n- [ ] 支持cache?, 参考[make-fetch-happen](https://github.com/npm/make-fetch-happen/tree/main/lib/cache)\r\n- [ ] 支持mock? 参见 [axios-mock-adapter](https://www.npmjs.com/package/axios-mock-adapter)\r\n- [ ] 下移mergeConfig,在调用中合并config，然后再发http请求，解决访问私有变量|属性？？？\r\n- [ ] 编写文档\r\n- [ ] 编写文章\r\n- [ ] yapi 和 swagger 转 service,参见 [yapi-to-petal-service](https://github.com/xiangwenhu/yapi-to-petal-service) 和 [swagger-to-petal-service](https://github.com/xiangwenhu/swagger-to-petal-service)\r\n- [ ] node-fetch 版本？","readmeFilename":"readme.md"}