{"_id":"@a-drowned-fish/rox-utils-server","_rev":"4-6f8ac272497afeafd4a49debd9a99f26","name":"@a-drowned-fish/rox-utils-server","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@a-drowned-fish/rox-utils-server","version":"1.0.0","keywords":["ROX"],"author":"","license":"MIT","_id":"@a-drowned-fish/rox-utils-server@1.0.0","maintainers":[{"name":"a-drowned-fish","email":"18701717289@163.com"}],"dist":{"shasum":"9d2500aa82e9ec343282b4f0a633647d3603097d","tarball":"https://registry.npmjs.org/@a-drowned-fish/rox-utils-server/-/rox-utils-server-1.0.0.tgz","fileCount":5,"integrity":"sha512-x8Nr7RxmTvojOCsQSavPgRIZQkbhQHvZWkW9PBBbs3mpf3tSOSFn68Sav3QVP9iu7U1g1A1LS/OmFivpfFZVBw==","signatures":[{"sig":"MEQCIEQT7k1oZIO3/xcDRydr06iK1ngBUjSoR/iMeHOIAraZAiAudLAB+6c82gMadP9+sWBQKmWcearxHhvFp7PGT20ooQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2502},"main":"build/cjs/index.js","types":"build/index.d.ts","module":"build/es/index.js","exports":{".":{"import":"./build/es/index.js","require":"./build/cjs/index.js"}},"gitHead":"e5d477ad7b9e5eb3fd98026d74d1b106713e2228","scripts":{},"_npmUser":{"name":"a-drowned-fish","email":"18701717289@163.com"},"_npmVersion":"10.9.0","description":"ROX H5公用","directories":{},"_nodeVersion":"22.11.0","dependencies":{"tslib":"^2.0.0","weixin-js-sdk":"^1.6.5","@dead_fish/jsbridge":"^1.0.11","@zhousuyang/lonlat-convert":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.22.0","typescript":"^5.6.2","@types/node":"^22.5.5","rollup-plugin-dts":"^6.1.1","@rollup/plugin-strip":"^3.0.4","rollup-plugin-delete":"^2.1.0","@rollup/plugin-terser":"^0.4.4","rollup-plugin-postcss":"^4.0.2","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3","rollup-plugin-node-externals":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/rox-utils-server_1.0.0_1741661559899_0.06441620214442034","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@a-drowned-fish/rox-utils-server","version":"1.0.1","keywords":["ROX"],"author":"","license":"MIT","_id":"@a-drowned-fish/rox-utils-server@1.0.1","maintainers":[{"name":"a-drowned-fish","email":"18701717289@163.com"}],"dist":{"shasum":"e43e82a2de98efc04f639b3f6dba045226626433","tarball":"https://registry.npmjs.org/@a-drowned-fish/rox-utils-server/-/rox-utils-server-1.0.1.tgz","fileCount":5,"integrity":"sha512-OJbJR5DU38o0DCaDqu8fy7GatUZCQ0OOSTTArBQismGtaE1rWHnuS6Sqy1yJG+risbVkGSfDP2p7lmRL1Ad09Q==","signatures":[{"sig":"MEUCIHXJR0SogDd1OV+TFFU3tU8nVZtk9gYkOD76U0ePgF3IAiEA/LrS7DYA+e7bC9omMwGJf2bsQ/EAwNiFkLsU05ghcps=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2524},"main":"build/cjs/index.js","type":"module","types":"build/index.d.ts","module":"build/es/index.js","exports":{".":{"import":"./build/es/index.js","require":"./build/cjs/index.js"}},"gitHead":"ba19b06e6f98bd8472b070b3e66ea9c64951b38b","scripts":{},"_npmUser":{"name":"a-drowned-fish","email":"18701717289@163.com"},"_npmVersion":"10.9.2","description":"ROX H5公用","directories":{},"_nodeVersion":"22.14.0","dependencies":{"tslib":"^2.0.0","weixin-js-sdk":"^1.6.5","@dead_fish/jsbridge":"^1.0.11","@zhousuyang/lonlat-convert":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4.22.0","typescript":"^5.6.2","@types/node":"^22.5.5","rollup-plugin-dts":"^6.1.1","@rollup/plugin-strip":"^3.0.4","rollup-plugin-delete":"^2.1.0","@rollup/plugin-terser":"^0.4.4","rollup-plugin-postcss":"^4.0.2","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3","rollup-plugin-node-externals":"^7.1.3"},"_npmOperationalInternal":{"tmp":"tmp/rox-utils-server_1.0.1_1745488985303_0.40948270666379427","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@a-drowned-fish/rox-utils-server","version":"1.0.2","keywords":[],"author":{"name":"a-drowned-fish"},"license":"MIT","_id":"@a-drowned-fish/rox-utils-server@1.0.2","maintainers":[{"name":"a-drowned-fish","email":"18701717289@163.com"}],"dist":{"shasum":"545ebb72d780714471320bb390694a16bba7eb41","tarball":"https://registry.npmjs.org/@a-drowned-fish/rox-utils-server/-/rox-utils-server-1.0.2.tgz","fileCount":6,"integrity":"sha512-J3vcOSGWyCwF6Ga0VEzbzvY6tWiDnJ6LWjASQqXhXdjX6ctvzeRd1Ld47tNYQJUkqlg4jVNBj1yjEawo1/valw==","signatures":[{"sig":"MEUCIBJGfitrBGDSMiNNTAkk8fcHmZLVZEs5V+uYuUge/lKhAiEAlBDHXU3brrirdz9QYrl+9+MBGKFKKltQYtdrZut268o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4563},"main":"./dist/cjs/index.js","_from":"file:a-drowned-fish-rox-utils-server-1.0.2.tgz","types":"./dist/types/index.d.ts","module":"./dist/es/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/es/index.js","require":"./dist/cjs/index.js"}},"scripts":{},"_npmUser":{"name":"a-drowned-fish","email":"18701717289@163.com"},"_resolved":"/private/var/folders/vx/b_np59fn00ldql5bzmfd4hfw0000gn/T/4044e42aea4dfb1cfa6a2dd55144b837/a-drowned-fish-rox-utils-server-1.0.2.tgz","_integrity":"sha512-J3vcOSGWyCwF6Ga0VEzbzvY6tWiDnJ6LWjASQqXhXdjX6ctvzeRd1Ld47tNYQJUkqlg4jVNBj1yjEawo1/valw==","_npmVersion":"10.9.2","description":"开发环境代理","directories":{},"_nodeVersion":"22.14.0","buildOptions":{"name":"util","formats":["cjs","es"]},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","http-proxy-middleware":"^3.0.5"},"peerDependencies":{"tslib":"^2.8.1","http-proxy-middleware":"^3.0.5"},"_npmOperationalInternal":{"tmp":"tmp/rox-utils-server_1.0.2_1762159763676_0.5727725292275965","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@a-drowned-fish/rox-utils-server","version":"1.0.3","description":"开发环境代理","main":"./dist/cjs/index.js","module":"./dist/es/index.js","types":"./dist/types/index.d.ts","exports":{".":{"import":"./dist/es/index.js","require":"./dist/cjs/index.js","types":"./dist/types/index.d.ts"}},"keywords":[],"author":{"name":"a-drowned-fish"},"license":"MIT","publishConfig":{"access":"public"},"devDependencies":{"http-proxy-middleware":"^3.0.5","tslib":"^2.8.1"},"peerDependencies":{"http-proxy-middleware":"^3.0.5","tslib":"^2.8.1"},"buildOptions":{"name":"util","formats":["cjs","es"],"external":[]},"scripts":{},"_id":"@a-drowned-fish/rox-utils-server@1.0.3","_integrity":"sha512-tIJVuKN5wKcarAPHPgaczoWRQdvFRrXx/4cpqRVVMEukkyU2z62sefw/WxF51VwBwqzVFJgv6XLGLJ3ZqOs6Ig==","_resolved":"/private/var/folders/vx/b_np59fn00ldql5bzmfd4hfw0000gn/T/8fec8e674f3bf405fbf0079ddcb57f49/a-drowned-fish-rox-utils-server-1.0.3.tgz","_from":"file:a-drowned-fish-rox-utils-server-1.0.3.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-tIJVuKN5wKcarAPHPgaczoWRQdvFRrXx/4cpqRVVMEukkyU2z62sefw/WxF51VwBwqzVFJgv6XLGLJ3ZqOs6Ig==","shasum":"325f42215e9d0ca79e0b79d6837c1037fd507d8e","tarball":"https://registry.npmjs.org/@a-drowned-fish/rox-utils-server/-/rox-utils-server-1.0.3.tgz","fileCount":6,"unpackedSize":4701,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCSjgO+ske6szRS/UDyiG2ezz5wPdFjZ49rIoGlBvl/EgIgIOgDwILU4dxaCZJcW2rQlqA/KkOlCrjZrCwtS4s/TQM="}]},"_npmUser":{"name":"a-drowned-fish","email":"18701717289@163.com"},"directories":{},"maintainers":[{"name":"a-drowned-fish","email":"18701717289@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rox-utils-server_1.0.3_1763373132870_0.9088743599022899"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-11T02:52:39.796Z","modified":"2025-11-17T09:52:13.244Z","1.0.0":"2025-03-11T02:52:40.079Z","1.0.1":"2025-04-24T10:03:05.478Z","1.0.2":"2025-11-03T08:49:23.863Z","1.0.3":"2025-11-17T09:52:13.058Z"},"author":{"name":"a-drowned-fish"},"license":"MIT","keywords":[],"description":"开发环境代理","maintainers":[{"name":"a-drowned-fish","email":"18701717289@163.com"}],"readme":"# @a-drowned-fish/rox-utils-server\n\n`npm i @a-drowned-fish/rox-utils-server`\n\n| Function             | Description                  |\n| -------------------- | ---------------------------- |\n| buildProxy           | 建立代理 (for vite)          |\n| buildProxyMiddleware | 建立代理中间件 (for webpack) |\n\n```js\nimport { buildProxy, buildProxyMiddleware } from \"@a-drowned-fish/rox-utils-server\";\n\n// for vite\nbuildProxy([{ absolutePath: \"/dev\", target: \"https://dev-xxxxxxx.com\" }]);\n\n// for webpack\nbuildProxyMiddleware([{ absolutePath: \"/dev\", target: \"https://dev-xxxxxxx.com\" }]);\n```\n","readmeFilename":"README.md"}