{"_id":"@airma/restful","_rev":"16-dc6e639afb42ade5d5026ae441c9ac45","name":"@airma/restful","dist-tags":{"latest":"18.4.0"},"versions":{"15.0.0":{"name":"@airma/restful","version":"15.0.0","keywords":["http","restful","xhr","ender","web2.0"],"_id":"@airma/restful@15.0.0","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"12bbf4ee7b407b682c3d2c1f27117d16c5c15df8","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.0.0.tgz","fileCount":4,"integrity":"sha512-bepHP9fC/N9N8LYJMbsBBHEJGV0M8rmu1sgb8KINjK15pJjhxNpPMgyLO2tNIF3KEcfZXlW/lGht/1hos9g5eA==","signatures":[{"sig":"MEQCICwfXag/jTYfD/dVhwdc5CVm260PHb0HuJaqB97WMQnQAiBBwwcixk7xJly9CHbRBOZeYRVT8EF2Tg8RNB1v+p+QOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj32QMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVAA//eIWL8aT/Xk9NV92bqltJC/q7Vkto8eWl1uY/tdy2KGwR4oI6\r\nrjAwYmbpp3NQ02GK0YQD3OWAvrG7I52dfwGXSlmyoyZxrthprEHg6p8VMzXn\r\n3+XWc56gLMbSDvHU23zcFxUJmKNGWN2VIGbi6nDlo4XmNJflaRzP4ihj5stz\r\nv3/2rMWfGTqpc46IPQ/TJuKBevdLGioPqOeZaWXA7Fs8MubQa8V793rBvNr/\r\n28woDwx7FFdAv8nCMda0WPl5iV+hOMGJNeIvpMfHlMF6Vk8G64aU5NanDcGr\r\nvYx1cUcb7lR10mvn3ak7mTIM9/nb/TehDWc4s/Ly0PAAsTNS5n/6yRYBCb4f\r\nC6jkHbRnn4RLeHIA5BZLmts+eSPl2Hl32qOn1UaRQV5rMGqWLzrPKsTeRV8+\r\nKUiVLhlBKwwDpQXqRxFrgeyDWCevZ5hTCu3JM1KrnLZBNJVexS84CXMxTCr4\r\nwqO3kaJ0k3b7L/Q3KBfNjUMVgfXvFl81GJ1pBMvlsq2YF12BWMq4217n2IwO\r\nvQ5TCdsCgYvucyMnG+u8GpptJXkyOwTuyX/syGLQUjGcwWgCL1CYd94VelmY\r\nUouEhx8ZncsMztgY+dJR1MVg7Wrv3PDRU8yAcxCZ2dqF2UDbBLAWoAnfQ8GM\r\n/Je9H1/hHv0fpjr5qzDsX1DoFT9Wt+XWbyw=\r\n=tMRB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"aea186b3d294ba7de7c93ae5faae44b528f40f51","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","dependencies":{"qs":"^6.11.0"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.0.0_1675584523816_0.10285232820224599","host":"s3://npm-registry-packages"}},"15.0.1":{"name":"@airma/restful","version":"15.0.1","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.0.1","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"79b818d3e6b9cfb8d18cf746b81d860034c44f96","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.0.1.tgz","fileCount":4,"integrity":"sha512-tJTiV8xdGSYk/uSXIVsFrkcVZNOBtBdaw/t4SWJyNH1inXC7apeDpAicHXdI2FxPcBGp24qu1U3/30i7vR6rMQ==","signatures":[{"sig":"MEQCIFpv+W65StmW8+S3ByOc4ZLGC+6OJhsKkrJsTU597jSNAiBIA8R8Ky/r8iRj1nXRbXJqSeTtCwsMjaG1coPz3yaQkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4cibACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofVhAAozijImfNBRzNSevAcpf7rcQX35H0hIRSxQnWZcA2wm1V3DdR\r\nmX4u/bwMBzYDbhNohtX9Dcmp0Hbp8D1V3dhnEe7ZJOJ926Ow0e12mWnflkjI\r\npptMh9C1MQmtM473f1FsrgoLYP6oGrdCcNTjhGl/MbsWylNITWi3yqYxsSj3\r\nfrw1vrwudIuwMHOjQB8c+Ds5b5yd0UNkLuqxF70XdFlEbCme3lNTMqQR8sEJ\r\nqhuBlpXBPvulBYzzHVHaC/5pbnjFFFy+FBQHjTGknuA2uWO5RqhZvpEcyGtS\r\ndEicmtfz6HdQqFn3vzNyvQeWiEC3PEn5Uh8Eo9a8NqLs+hy/N6hGxiHcxhg5\r\n6MNiY4+904DWZNiI5L5XJyohR7Qiqf086GOYUqc36eINVj+VYXW+en83Jzoq\r\n0MrxcxK/lxrFZSniSDc1pdJM6ZgNvrC7r17f5ZdU4G2um3544EZO+Zo+c7EE\r\n4CCAixzm1z9afHKBzEHq9EsefIpjTzenLv5VfOeMG+dkFavoR2yGcdIPYbYc\r\nNG2gUtccMpMFBo30x163GdxtePoIR4ZOV2dJ93YPa9WBh3ir/6cX1lW1ckKq\r\nTF14i4EHrJ+CrTXIJ5JRBXFn69114uAGh56gR4yQQdNT5YbhrvAbUP7MCjw+\r\n1len35BP9xs49MBFujtTsRV8VkW/bLjO71Q=\r\n=zMYa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"7be2162ca432c83780eff2521d9118022a2a96a8","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","dependencies":{"qs":"^6.11.0"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.0.1_1675741339014_0.308051913090557","host":"s3://npm-registry-packages"}},"15.1.0":{"name":"@airma/restful","version":"15.1.0","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.1.0","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"e8d45ab88bb3f3d6d4f187c5ac75d4f1714a451a","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.1.0.tgz","fileCount":4,"integrity":"sha512-dmoKctaHSbJi6Omn1oiz0+9rF+kGPkZjG34KsYwRVZYhkGB2/89EUheSsXArsICtVdDBuXKM7hEv+LCdQCNGRw==","signatures":[{"sig":"MEUCIQDnnqYEtS/pD8IyAZrcJVGg6sqZ/tzH3fsaoMKFISYvDwIgZeTH9KRLgGWKGZgYyCtWmjnD9YxVwh9eSoWrDEkShZQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5JtqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqqpg/+OSSTQoCnYygMnvbs+Y5K8r5QqIlG+hKBwdb2O/ma/sKtBhLl\r\nWA9S5anR647iSvgXeY+OovhLPJY19EyRHcDKZXhHTDaNMBmuOTpxLqJkSc4+\r\n3tJAs1sxUbemMMi+5HuHaBd0FTlZtNoxwL/EeYiVpJQ4p3kwYl/rnyQgJ4oq\r\nIKJTbYR0Uw511ol+/XJOG1PVJx/qb5xVrcKku47s+Yv8pZYMX1bXseudyHCh\r\n0w6hPjLWRSH/kVq/eGSRepG+XtjILT8i5PcPc9i7TEd9JWqWSvc+NgE2ZU5s\r\nHR/M1UTjkzUJLObFrWvzKd6X1Jj7ajuzPHD/qDrWJhawfC3g8aN0nU/yhPDO\r\nstmOGULCdd170vssITpGO/fb3mGrW8U+6YPE57avccwwsTcYUlZWAP1NwX1I\r\n2aRREb7BGxf4FHXXQ5jIbN+ojgPktOnoe21iMDXYp74GpEprTEJcm6iZyVi3\r\nZV8ZnNCTeRlDymd7m92GPIotB6JZIR3Pt22ajmNvCGMnOYH/AvGW6KIOQGyJ\r\nR9n+yln4m8SOIJoHzWOlYkd8sX9G4lqahtEXS8FDYqjD/wgGXMfyirDEuxeM\r\nb6hv69GP/5ugyAOpEvbHFE14UhBMIriqIP818HOiu6VkI1JKXj5l/JiMGC+c\r\nW/S2YMnEsY/elBIm35Fa0svFw6tyYk2eH/Q=\r\n=LqUR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"e854f5c6ebf153874f3cb50d660a65bf699a9886","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.1.0_1675926378782_0.3682001012500191","host":"s3://npm-registry-packages"}},"15.1.1":{"name":"@airma/restful","version":"15.1.1","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.1.1","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"4a13456c17e8af2b0ff5d8ba6ea9be007879b284","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.1.1.tgz","fileCount":4,"integrity":"sha512-h7Frcfcl/8T/ta+WJVxqv1hm+tIY3DMVQrWzk+E0tuwm6PuXdGWz0TRLDbKRiP+i3IfectxNaRDQ4eY12B5VTQ==","signatures":[{"sig":"MEUCIHGoj/9g2jpYiuQA/8pg9wyed/D+hIcXba53GvRwlP1lAiEA546LRBKd418/7yJKNtCg00ZhmirnELacGRULkC4LcjM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/bA8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYbA/9FixW8u1ZQKx2CoxCSraBmdqXVee1PTXS2J6zc7Lb1gf3mkcr\r\nRN4TJ9iTGT4crQTgvbPz/rT6Tzvsv3q6KIEHfHZla+jAPXCAI7f7GkJu4eVw\r\n+gmWZ8EaKcPuU/+/eDRWuRPLGX5Kd1PwDdXe5IYwfZSexInO7wx+Tro7Cqdo\r\nXdrMRs46kxTmmN4du/CTOI/Bjew0a2nBToUVeIq6jpMscdS+oryRaSjN8kSI\r\noj3UVhTsOhEX4EHYTsAylGeV++TsSOHdrIooefs4v8WdQOCeN1+5dwnD6Jvi\r\newK8A9FeeghTIUK3x2PKVPYIIG57siRue280hziucTPGDWZCybUV9wAberDF\r\nBcb0Zpk651ZWUx/qNirGYK7PpDx8DMWNnn2fh4P8yQFh6KqgYA2Bt0g0MccV\r\ntWjMvz5cMlz1hfivfeoUip7+xh82VLGHCjKzfW2taEcFdsN1FefQqAZQliJJ\r\nSuwiYUzWgC2c75+KFnF/ylZaBnLAIjIaqvAgSfzVnK6MVZlcW7hQVZEiMeJD\r\nW4Dzz7IJh+t72y2s7tDqUh0ntLPNSRtI5rIibKtxboi/rScK0YtpjHW86rFH\r\nuEYex9qf9xr1gnoHDCY1rwhHzjFAR7FuGUcSXvUbCXRkDFWZna2SNunyhOKO\r\nSP3HttF4VMgXyMox7nHMvzrlluBf2iUpVqU=\r\n=823J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"38a520def6091ded43733e54d372a6568f3c5181","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.1.1_1677570108166_0.5105033939173584","host":"s3://npm-registry-packages"}},"15.1.2":{"name":"@airma/restful","version":"15.1.2","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.1.2","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"539437fa0f7c90a2ca9ee24c951c3285aa43a4b5","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.1.2.tgz","fileCount":4,"integrity":"sha512-qKPNcx1Ud49uRHabh0kwRykDYzqasjhJKb+9oeZYQ55pCSFJp92s9fJrjbrhmr95pIymix4ctuFojOZZ7PCFvw==","signatures":[{"sig":"MEQCIBn2HIt6jLx5ION99Z/gEQwrYiL+0pyDzPsjcJcqVvUvAiALDWMMJE1gWicjTzazg9+Gj9Y3TZw7o6sT8B/j3Xexzg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDYaZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphCBAAgTBRUzIZ0n8Fbl6ZArw2ECyZLq37jC3TCsIZTx7O7MTX8QEY\r\nOcODgJtAoYJ3Fk6uFbP9j/ERb8XSkHlt5QphjDOA2PXJ58BhYR5CmnZi5wtL\r\n1TAc72+KmRpwDxwk+tV9NsILIcFopDBd2aSACIjTxAcXEaAlrVzvzGBLcQei\r\nIX01Mz9/zx4oQvS/PHe1Wb5pK5lZ0UX7S7g1agO/gSdhnhA+RWWKaxwcPgp9\r\nsFV52j8h+06ICbnhkHopiNj1gF+dt5VIln810s6/CDG2rsmGDHwGJ7XezuDX\r\nHtPHgpTv9rZWE50LleHCRANitegqEAXOOfTTxoUkaFRZcIvxOaCQFihL88V+\r\nr4x2Gm8U/to0lCulFP7szMzAv6NUUcpqY8A+hOhxFGnU5pryJXG/TG98uVpb\r\nPvomaEg20pui0alBnwIL9IPntILxI2b5qGMfmXDiLpGOcmpDfvm9+BQoFOFJ\r\nlRmiIKQt0qVQXgSKVL4m/YENksA46Pl+WtOR/uJBypa+5+cTxmxZ6xNJdEg8\r\nX6bkLHGGgHIdBOxA6qlRg5MJ2UTNf5HpIAXkZNKNdh4hroh3mPZ2mb04X/Kk\r\njZdE0qSkXg8L81NoDXsydBRqAF+/vROvpIjXt4c9n7OkdYiCgboyll5K0BFv\r\ngk+aNrLaXlpcQZmuq+hM2uQIi1ehG8FZvkA=\r\n=L+tx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"7221cf2596617fda0c452407a8d5a7ac58625f6b","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.1.2_1678608025431_0.8966123117310703","host":"s3://npm-registry-packages"}},"15.1.3":{"name":"@airma/restful","version":"15.1.3","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.1.3","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"ead0333e6efabcd3d90d88440573df813fc62896","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.1.3.tgz","fileCount":4,"integrity":"sha512-gVQ+IRXO/tKBUgNnvdYG1/xoMFy1Y0arrABB/A1w/FGETj1ZPYY/vAcQN72cbkB+/FLO/dFVBJG40a1Y9tghgw==","signatures":[{"sig":"MEQCIAq4o5wLjS0GB5wI6gyxgxvhMc0nVJhZO/0pzv00kQKAAiAbUbtCpBKUfhp9Zh2m1SriD7tTdFGT5eKDYRgl8lrLIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48976,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDwhuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqL7Q/9HqDfP/ecYID9hzLpv2UVnE4CJkPPkMVu2bPj0kJiCJGsn0ta\r\nfGi8VgSx+NqrmpNYcqBElUqpx7/+0B8Q21RRDPfJDyCCckcbxXYiWM88aDyY\r\nsSgIcg0XAmCeEOHX8Lzk8OO8891VQGMI6nHE7aFfwaetBHFsSm093CWpTzNG\r\nRZ5/9Tm0b8/FHpTZZW9eangTl78seQ4PzqrvQbp+DDVfVMs3bljbpyMdCMl/\r\n+9hGJXC0hQcJD5//6+vKfF2vqtO8u4mWgEKhS+N6aJonAgkpp164h4W1bMP6\r\nIP66GllsTo7oAClUZsUPs2n/sGwort8wqT8sI66b9qhHX365ukZ9V/Mjqjfy\r\nTRxxH3hhS+PcguJDjuyFvuMXHP3lNjh1GqNWswwAl1mLUyCdNkK/v/X5lG+R\r\nccQMk0OhTYilC8iCRqMpfpEXWonSN8JwWOHHxJVIpgVEjlurQibELI2J12Bv\r\neSzw1517n1rX3B+bCJUsptZXMh4Clb3HIO5NSzZaIHlWtQBOcTThzZX2Z2NX\r\ni6Dli7/CVO2RoaKXF+IKAjZ9WrdiLqTZ9Zi8ldvAXbSZ7578BR2wNLjJoQlu\r\nSAaT3FIiPBRR22GuizPJQvmMD9zytqJaCQh92iFGN5ntCh7aL3CbBLbOuFrE\r\n/PM+Ts7xYDgwBO5RXUQ4cr7qhZx6C4XCBiM=\r\n=6H9L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"e9a5ae1a79b585ef78794723cdaf1c113ebbcb8c","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.1.3_1678706798250_0.5576823081106084","host":"s3://npm-registry-packages"}},"15.1.4":{"name":"@airma/restful","version":"15.1.4","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.1.4","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"b96bb9a6a06631c3899de9009cdbe521df6528fb","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.1.4.tgz","fileCount":4,"integrity":"sha512-eY/4MDhyUFuJyJc7AwXsocywPhzvMTj2adRRR4UyRiHsI8ZLweAjeuxaq5mZEDOqHXncS5iiWEB5uVZI/WFLtg==","signatures":[{"sig":"MEUCIB8Iz7oz/EbXdUQypLqXfwK3hKb+sJtazJEBV6PzFs7SAiEAukGEF8RjuKDfaQq9KmLe4FpvIrXoIQVYg4Uil2Vgt04=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkK6iHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2JRAAoEy/Mu9IJky2NJf0UPIsKU6vzoh2vVXOEyDYvNIzYn57Ojup\r\n0kVUlMXs1HcYQXmqBeVNOgbGyZHcvx0jjaAqe4bkpHx91cnJT/Kg4UYoEaUR\r\n1A1EkYnqin/jHoaD0v9FUGLzuTPJMYazK5/WYtklpT2M9HEQ9Y5IBE/ppWDk\r\nF9qWQ7QHAmTA01afXEateeNG1yxALG7PQAp8YwoHRfYA9zMJm8Uc5SkixPK1\r\nWpPDJFU5U1GcIxrH5+699T5/laumBxTW5pe/q3HJgVSrem67CH8g3JfDeXut\r\nY56icBgc5/SoDUoN3HFT7YDc2P6HtvkE/swX0xqhULsq2uaQkjY5/lf6VIGn\r\nFE2Zz+P9zCz/tiqzK1sjUhDz/8WGcFi8+my1uDKzz/OAzHHzA5Z2OO+vYUF1\r\njlHaqXkXHKgM7cpOTVHHZKowcVE919qI0i5CqucH7SQQn0+HFQQyJ6fU9oGW\r\ncnpzdGBAvNqHERzY7X02sV851uX0cvTHoyYMX4KudvwFOtypVhp8kP4K3ZIl\r\nE8/U5EEyKlf/gfDsVsHut8OytVxPyxano11pYvu3sD7plhYWZHuGQIS2qUFJ\r\n2YJyuu+Rx8L55fI/0xOoVf8/YZsib1+MYlY0bT86FW6b0fubtSvUJ37Es+QX\r\nRKv643oJ957DVdq/i0gTgQ/3UvU2A9ByunM=\r\n=mrie\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"06532e8cfeecc90d5e02d8fa2f29d364285df0aa","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.1.4_1680582791594_0.8156466414353614","host":"s3://npm-registry-packages"}},"15.1.5":{"name":"@airma/restful","version":"15.1.5","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.1.5","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"601f10314221d7b096bc08bcddb17891c2cd3ede","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.1.5.tgz","fileCount":4,"integrity":"sha512-4cZCihBa8uG8yb/hU0kbvIcBK1ghcfYCnZbCjM0n2kLOnVAletIRuYSNdawpCscH0UZzjo20/k/mJv2cK6ky0A==","signatures":[{"sig":"MEYCIQD6R5hMu3ONC8E6UxrxSK3C/KalQNZfsX38W6J2uwvetQIhAO2kgK+dEzQ3ZH3E9siAMRFBFs7CrU4QvgRyQLLlazNT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNUlBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4+RAAjrosm015Z2Veef1UbREIM5Qqdm5ZapdHSE3G0FApV3shQSOv\r\nLRcquEXnJjtNfmz+xrhksJ0JtYZjtF/+8/FZ+4+w6jDJTGXoYxZjZwdkBt0q\r\nM71RkN7b8wfxAb9p3uIAbB1Cb9D26S4j2T9UHSE1Qa1r1fC/MWF96I3TVVio\r\nkzY7zgIzWKCDIfYPbLrSWezIIzue11QQadA7n8nl3KSFlgElO/mClhbF0/WB\r\nRPdV6+w+UgWYFxnBl7bijxblttcxRImMZHPpZnawHHkyg6CSZJChYIEvGuKk\r\n/85dI5Bt3O92r4J5j0YBfxuHS+TwMfbv0PcW0Vbb8eKWxxXZGJpDWwnAxfWy\r\nirlSssVnlfniLzaVWn65lVZ1M9s8xZAh1UoKU9fvA/eG11z4SWe9X8frTl0G\r\nsEGuR+UpYItr4deuNnfQyw0KRRstluFiUSYzwNxLvv3iTjHUW9INL9JN5jLD\r\nyFHDDmwAX5xyMT7JLbKnwRNmsM3JvoB0uyJPxEelrTh7CT+WQBXgi4MfHMWW\r\nxTKZT8sGMu3mrl82qg3yO/Kvu87USaegmVrtetOGD66cRj3nUgtqpW9oK4bS\r\nIx/kmSM/PXnHAop1R2sMciFiXkOXe94neHCVDG6Ci1t4gDWjeEUqsM1VcFwB\r\ndlUpEpcLrHQ9ZF/P3OlkK/MUbNhcqpu2hqk=\r\n=At3R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"ee54411b27f3a6be948d250a1c3c7709cca7a2cc","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.1.5_1681213761300_0.16001749462053372","host":"s3://npm-registry-packages"}},"15.1.6":{"name":"@airma/restful","version":"15.1.6","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.1.6","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"e058a0fa3f2d639df0a4e7765a3b740210143906","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.1.6.tgz","fileCount":4,"integrity":"sha512-lf3xillE9S3hNhk27k3NO5Yad2w0sPTmImT4vI6/1XtVgiiO1wPmbL7En+xaROSq15oKnlXvDr8awISIyQ0wiA==","signatures":[{"sig":"MEUCIFCOEi9Cg/48la4R7OfttrnBhsOTnE7WLOxccVW1GtTWAiEAk/aLPnpXyHbQwlMqHnLKW5IWKkfyQS3IA05j0fSeOt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNhd3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqA9xAAn7yq+QtpTGUYbzUIm+kF5L8iGy6l2ZX4KiUm4eYooBRigBKR\r\nfhOzckb0g+oekelBX+m7i25mzYLYQ/0SKTsFSVqdwXNAvAR+4Z/4jYArIG0H\r\nfro7ccfCVt/2A8ILAFtvogd7Asu8ibK6xbNnvQdSGibd4UF1/kzCXwT/XAlh\r\nfqxlSv6WacnqhrxsQXUM15jGwGTzRrbXZCssEpGbOcvFfDlYJvjNXqYDCZ1x\r\nEZe8IO9wYhFRyr9Shng+o1pbOgL3zmWdCO8C15HnuFFTNB3b9CQi5d7L5GSB\r\ndJRA9qITzXmvx5hp/9hOZy2chr1ANVJkwaoabt69cTAXjsqIBEcvpx2GQEnl\r\ngyEy0azzXJyJC3tFmGS5Cr/qELLtVubAR0g1nTkzqG4K9Pt3VO4mlNCX5L23\r\nOZ0xGtMbMqbr11HPJffIlUjoovuzE5HSITey0VeRCt4vyP2LmKwTLHmkk0qg\r\nJAaUSF2zcV4ltkTQAV6OxCk7uVW0cf2ha+NaMxVKXda9eKIrkiS3PeUIjqlZ\r\nzysvgkGdvkbl+0yMDN9W/Kwm+vjpwdeAPa52Klg35G+vPPTwCm45zGn7is54\r\n4zHs0c0Z5touVGPdnuvzKtDGQaZnRIfd9nvllu/9ZB3bK9sEQO2VlJZ/a76m\r\n/pVJroWwSiHfUAtZzqd1sPP2pSCuzqtOVCY=\r\n=kzZF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"f185e40dc8b7e2fa5a31c76d2fb08a2ab0de6eee","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.1.6_1681266551587_0.48267537438601305","host":"s3://npm-registry-packages"}},"15.2.0":{"name":"@airma/restful","version":"15.2.0","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.2.0","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"a837e9825922e6805b30231a110fcd29748f4b6e","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.2.0.tgz","fileCount":4,"integrity":"sha512-ERBYT1D78sjlpc9L9EnEpnCewh8nZ1azGQ6n2F1NTcwXfzXhhGN6szsY1HhBZhBeCXzyWDEEiiju4gvgYcMR9Q==","signatures":[{"sig":"MEUCIQCgZs3aEA57Kovk9KIN05QGf22pbcX1m6ojQNLNs5k2kQIgelP9NTyV0P8cuNjPcnPmQGPatjbvHtVSCoaW8aqowHo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49422},"main":"dist/index.js","gitHead":"417d3446ac73d1bc286e8fe8d052b7b28c3e8e33","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.2.0_1689061301478_0.08467728781208339","host":"s3://npm-registry-packages"}},"15.2.1":{"name":"@airma/restful","version":"15.2.1","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.2.1","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"a5001b8266fc71a4517b00da5e011e026fac1ca6","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.2.1.tgz","fileCount":4,"integrity":"sha512-yOue8qX9nIOQVNz5x/dWpG0/I/FK9I+4CEakyDbw3SxAFY1VSNdg+3VlSd22Dy2sv/CrTRGgfm985wUd+0Y+kw==","signatures":[{"sig":"MEQCIChTfaH/i0glY9/N8L45k4qBM8bEVJrFxP0/tWZumJJPAiAFFAk78p7Kn+HyUHTfvpHhbxpbEmBbFtZUz8CsuPFnqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49494},"main":"dist/index.js","gitHead":"1a85502045c25f3b803f4552d80aeccefa33244b","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.2.1_1689063431140_0.4204640996072053","host":"s3://npm-registry-packages"}},"15.2.2":{"name":"@airma/restful","version":"15.2.2","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.2.2","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"c81c3b87afcde10ea214c4ddf77d9a6da499b472","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.2.2.tgz","fileCount":4,"integrity":"sha512-INxM7+yUt1qezhd5eGZUOFVEywq9Mu9ILANY598DZmntOL7+PRGux+jFeMZBg4FcLlGEp/oIgLhwJI6XWchdMw==","signatures":[{"sig":"MEQCICJRy9whVIfubJwfBgw0Yc6M0yCjPVIioRt1JWqubYnBAiA/gSnU5kagUpAa5APyiSomyXzFAnq6nt7VjrQtuSH4jQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49603},"main":"dist/index.js","gitHead":"e8377f87a5a23b67d34bfbc88b3e2298484f7249","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.2.2_1689063853920_0.449796090128729","host":"s3://npm-registry-packages"}},"15.2.3":{"name":"@airma/restful","version":"15.2.3","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@15.2.3","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"776f3bc0dcd1e4adf69cf17a5850d0d7caf15a3e","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-15.2.3.tgz","fileCount":4,"integrity":"sha512-swG0x4E6sGn7+Bgy+TPv0oFk5dD4Zs46H7PUf+YryfVkwHxXB7APmY2iYC3DBj/zATL9l3269VNulRSv2jU+VA==","signatures":[{"sig":"MEYCIQCGitxWdhkxvHf7/phxuDVL7T8Dd/FsUVwsnEuVIFFOggIhALh4c8Thbhcturj5ra5nI1Zcikdo3UPD8mwC9+VWN7cW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49563},"main":"dist/index.js","gitHead":"57f29831b4f39789fd8eec38547ba1475c3e856d","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_15.2.3_1689067196089_0.4020698365015727","host":"s3://npm-registry-packages"}},"18.3.0":{"name":"@airma/restful","version":"18.3.0","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@18.3.0","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"3ed3573977c3dcc6fcacff2f607e9eb4924d8c1c","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-18.3.0.tgz","fileCount":4,"integrity":"sha512-6OeUZNEOU8TmD7vGQtV9g9kNnixFqHTUjqRUcRCTCDeIXtEFlXL7qY4E7fQoR0PZyB2eyv9OALqT4N4MjewGpg==","signatures":[{"sig":"MEUCIQCJgZOMsPsMifcCa6fckbhdwcb4oawNixEP86ou1MhmxQIgYFhc3LG96eQbOVSACzppENmXl3arx/K9CczAkScQ1po=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49472},"main":"dist/index.js","gitHead":"b4d33878260082c9d375691466f0245a7a364809","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_18.3.0_1709186721765_0.07107841092675438","host":"s3://npm-registry-packages"}},"18.3.1":{"name":"@airma/restful","version":"18.3.1","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@18.3.1","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"10727d19f3605e8b4295c743b0e884bd1f8427d0","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-18.3.1.tgz","fileCount":4,"integrity":"sha512-B1kme6pmJg14NfLo9b1N8wTGgwuab1HpjHuFP7o5U4FuuO2iVe169UbWmFzJ4HL3fKL8FPqUuiU+tSAOn9oCvA==","signatures":[{"sig":"MEUCIAwNi896dRVSK2G8D+27P5gYC5h/ALLt4SAZ1fxgF+d3AiEAw7RoKcpY8ldkU86AzJfb+KohTCDB9ojlLWIx7lFaLns=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49472},"main":"dist/index.js","gitHead":"9ca57c8a0d25feb5f7eeb97da85345a79ec6bc07","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_18.3.1_1709198971669_0.9726708020170705","host":"s3://npm-registry-packages"}},"18.3.2":{"name":"@airma/restful","version":"18.3.2","keywords":["ender","http","restful","web2.0","xhr"],"_id":"@airma/restful@18.3.2","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"homepage":"https://filefoxper.github.io/airma/#/restful/index","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"dist":{"shasum":"7027d967126d9dd2fbdf4b9d154106ef4186269e","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-18.3.2.tgz","fileCount":4,"integrity":"sha512-KVnNj4YC3PryF0yUj0AhTR+jYvD/GKbL5yAGOvmD9OAR/OLp62oCY5vLkxyBcNML+33mLhgLH7xk1m0H/BwhQA==","signatures":[{"sig":"MEYCIQCKfX4/f8L6uA2rNjTpBp6gJQ9LmtMAa2GWB5sjFUVcJwIhAIGxXqJGHolZ29RaNCPDyQReD06z99+GAXYTYG3kDhPI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49511},"main":"dist/index.js","gitHead":"69d7e85bfeac3208ee167eec89d8b6ad7fbea496","private":false,"scripts":{"build":"webpack","analyze":"webpack --config webpack.analyze.js"},"typings":"index.d.ts","_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"repository":{"url":"git+https://github.com/filefoxper/airma.git","type":"git"},"_npmVersion":"7.24.0","description":"A wrapper for asynchronous http requests with a restful style","directories":{},"_nodeVersion":"16.10.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"2.3.2","typescript":"4.9.4"},"_npmOperationalInternal":{"tmp":"tmp/restful_18.3.2_1709199179876_0.8569273200081355","host":"s3://npm-registry-packages"}},"18.4.0":{"private":false,"name":"@airma/restful","version":"18.4.0","description":"A wrapper for asynchronous http requests with a restful style","homepage":"https://filefoxper.github.io/airma/#/restful/index","repository":{"type":"git","url":"git+https://github.com/filefoxper/airma.git"},"main":"dist/index.js","scripts":{"analyze":"webpack --config webpack.analyze.js","build":"webpack"},"typings":"index.d.ts","devDependencies":{"prettier":"2.3.2","typescript":"4.9.5"},"keywords":["ender","http","restful","web2.0","xhr"],"gitHead":"b523f740250ec77ac7a4291aef1aa38ffb40aab6","bugs":{"url":"https://github.com/filefoxper/airma/issues"},"_id":"@airma/restful@18.4.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-ckiPaBJfkxKSbuhwq8/ecsbINUaoQxls5D3oE1LOC8/Lke7ZnTpb69RXGIDom8GDtDQfNVONIRwthjyaVrFfXA==","shasum":"5684dedf1c500341353101cbfbf8156461993c5b","tarball":"https://registry.npmjs.org/@airma/restful/-/restful-18.4.0.tgz","fileCount":4,"unpackedSize":49961,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCI8BHwDGr3WwIZmLr2T9t6M+QbpBFyviEg/0HKggpi5QIhAJPk/I1sYPfn1tVld0CYR5pOPLH9Dv9rLYmNI12XaqLB"}]},"_npmUser":{"name":"sibar-root","email":"filefoxper@163.com"},"directories":{},"maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/restful_18.4.0_1735630747497_0.029499040719809022"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-05T08:08:43.723Z","modified":"2024-12-31T07:39:07.884Z","15.0.0":"2023-02-05T08:08:44.026Z","15.0.1":"2023-02-07T03:42:19.193Z","15.1.0":"2023-02-09T07:06:18.916Z","15.1.1":"2023-02-28T07:41:48.332Z","15.1.2":"2023-03-12T08:00:25.572Z","15.1.3":"2023-03-13T11:26:38.420Z","15.1.4":"2023-04-04T04:33:11.845Z","15.1.5":"2023-04-11T11:49:21.473Z","15.1.6":"2023-04-12T02:29:11.778Z","15.2.0":"2023-07-11T07:41:41.716Z","15.2.1":"2023-07-11T08:17:11.388Z","15.2.2":"2023-07-11T08:24:14.071Z","15.2.3":"2023-07-11T09:19:56.288Z","18.3.0":"2024-02-29T06:05:21.956Z","18.3.1":"2024-02-29T09:29:31.916Z","18.3.2":"2024-02-29T09:33:00.015Z","18.4.0":"2024-12-31T07:39:07.692Z"},"bugs":{"url":"https://github.com/filefoxper/airma/issues"},"homepage":"https://filefoxper.github.io/airma/#/restful/index","keywords":["ender","http","restful","web2.0","xhr"],"repository":{"type":"git","url":"git+https://github.com/filefoxper/airma.git"},"description":"A wrapper for asynchronous http requests with a restful style","maintainers":[{"name":"sibar-root","email":"filefoxper@163.com"}],"readme":"[![npm][npm-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-url]\n[![standard][standard-image]][standard-url]\n\n[npm-image]: https://img.shields.io/npm/v/%40airma/restful.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/%40airma/restful\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[standard-url]: http://npm.im/standard\n[npm-downloads-image]: https://img.shields.io/npm/dm/%40airma/restful.svg?style=flat-square\n\n# @airma/restful\n\n## Basic usage\n\nProvided a nice way to describe a restful http requests like:\n\n```ts\nimport { client } from '@airma/restful';\n\nconst { rest } = client();\n\nconst root = rest('/path');\n\n// GET http://host/path\nroot.get();\n\n// GET http://host/path?param1=param1&param2=param2\nroot.setParams({ param1:'param1', param2:'param2' }).get();\n\n// GET http://host/path/child-path\nroot.path('child-path').get();\n\n// GET http://host/path/child-path?param1=param1&param2=param2\nroot.path('child-path').setParams({ param1:'param1', param2:'param2' }).get();\n\n// POST http://host/path \n// payload: {data:'data'}\nroot.setBody({data:'data'}).post();\n\n// POST http://host/path/child-path \n// payload: {data:'data'}\nroot.path('child-path').setBody({data:'data'}).post();\n\n// POST http://host/path/child-path?param1=param1&param2=param2 \n// payload: {data:'data'}\nroot.path('child-path').setParams({ param1:'param1', param2:'param2' }).setBody({data:'data'}).post();\n```\n\nWith typescript\n\n```ts\nimport { client, ResponseData } from '@airma/restful';\n\nconst { rest } = client();\n\nconst root = rest('/path');\n\ntype User = {\n    id: string;\n    name: string;\n    username: string;\n}\n\nasync function getUser(id: string): Promise<User>{\n    try{\n        return root.setParams({ id }).get<User>();\n    } catch(e: any) {\n        console.log(e)\n    }\n}\n\n// if you need details from response, use `response` from `method promise`\nasync function getUserResponse(id: string): Promise<ResponseData<User>>{\n    try{\n        // with response\n        // when error { isError: true; error: any, networkError: boolean, status: number, headers?: Record<string, any> }\n        // when success { isError: false; data: User, status: number, headers: Record<string, any> }\n        return root.setParams({ id }).get<User>().response();\n    } catch(e: any) {\n        console.log(e)\n    }\n}\n```\n\n## Config\n\nThe `@airma/restful` contains a simple default config, it is not enough for you, you can config it:\n\n```ts\nimport { client, ResponseData } from '@airma/restful';\n\nconst { rest } = client({\n    // request headers\n    headers: {...},\n    // default params ex { sessionId: 12 } -> http://host/path?sessionId=12&xx=...\n    defaultParams: {...},\n    // intercept the response data\n    responseInterceptor: ( data: ResponseData ) => {console.log(data)},\n    // you can replace the default request with your own request method\n    async request(url: string, requestConfig: RequestConfig){\n        return Promise<ResponseData>;\n    }\n});\n```\n\n### Headers\n\nYou can set a headers for the client, and the client always sends request with the headers you set.\n\n```ts\nclient({\n    headers:{\n        'Content-Type': 'application/json',\n        'X-Requested-With': 'XMLHttpRequest',\n        ......\n    }\n})\n```\n\n### DefaultParams\n\nYou can set default params for the requests send by you client. These params always exist in the `url`, unless you recover them with undefined in the specific request.\n\n```ts\nconst {rest} = client({\n    defaultParams:{\n        sessionId: 12,\n        private:true\n    }\n});\n\n// http://host/path/child?sessionId=12&private=true&userId=1\nrest('/path').path('child').setParams({userId:1}).get<User>();\n\n// http://host/path/child?sessionId=12&userId=1\nrest('/path').path('child').setParams({userId:1, private: undefined}).get<User>();\n```\n\n### Request\n\nThe default request sender is a `window.fetch` adapter. If you want to replace it with some more good adapter, you can set `request`.\n\nThe `Request` is a callback, with a url and requestConfig as params, it should returns a promise with a `ResponseData` type result.\n\n```ts\ntype Request = (\n  // request url  \n  url: string,\n  // requset config\n  requestConfig: RequestConfig\n) => Promise<ResponseData>; // response data\n```\n\nThe `RequestConfig` type:\n\n```ts\ntype ResponseType =\n  | 'json'\n  | 'text'\n  | 'formData'\n  | 'blob'\n  | 'arrayBuffer';\n\n// the config you can set to `client`\ntype RestConfig = {\n    // just headers you set to client({headers:...})\n  headers?: Record<string, any>;\n  // the response data format: json, text, formData, blob, arrayBuffer\n  responseType?: ResponseType;\n  // just responseInterceptor you set to client({responseInterceptor})\n  responseInterceptor?: (\n    data: ResponseData\n  ) => ResponseData | undefined;\n  // just defaultParams you set to client({defaultParams...})\n  defaultParams?: Record<string | number, any>;\n  // you can provide a param processor to stringify and parse\n  // params.\n  // type ParamsProcessor = { \n  //   stringify(data:Record<string | number, any>): string,\n  //   parse(data: string): Record<string | number, any>\n  // }\n  paramsProcessor?: () => ParamsProcessor;\n  /** the rest config you can refer to window.fetch API **/\n  credentials?: 'include' | 'omit' | 'same-origin';\n  cache?:\n    | 'default'\n    | 'force-cache'\n    | 'no-cache'\n    | 'no-store'\n    | 'only-if-cached'\n    | 'reload';\n  mode?: 'cors' | 'navigate' | 'no-cors' | 'same-origin';\n  redirect?: 'error' | 'follow' | 'manual';\n  integrity?: string;\n  keepalive?: boolean;\n  referrer?: string;\n  referrerPolicy?:\n    | ''\n    | 'no-referrer'\n    | 'no-referrer-when-downgrade'\n    | 'origin'\n    | 'origin-when-cross-origin'\n    | 'same-origin'\n    | 'strict-origin'\n    | 'strict-origin-when-cross-origin'\n    | 'unsafe-url';\n  window?: null;\n}\n\ntype RequestConfig = RestConfig & {\n  // object style for ?param=xxx&more=xxx\n  params?: Record<string, any>;\n  // object style for post request payload\n  body?: Record<string, any>;\n  // GET, POST, PUT, DELETE\n  method?: Method;\n};\n```\n\nThe `ResponseData` type:\n\n```ts\nexport declare type SuccessResponse<T = any> = {\n  status: number;\n  headers?: Record<string, any>;\n  // the final promise result\n  data: T;\n  // is error request\n  isError: false;\n};\n\nexport declare type ErrorResponse = {\n  status: number | null;\n  // error data\n  error: any;\n  // same value with `error`\n  data: any;\n  headers?: Record<string, any>;\n  // is network error\n  networkError: boolean;\n  // is error request\n  isError: true;\n};\n\nexport declare type ResponseData<T = any> = SuccessResponse<T> | ErrorResponse;\n```\n\nYou can replace request with the most popular request tool [axios](https://www.npmjs.com/package/axios) or other request API. And now you should know, that `@airma/restful` just provides a restful style for you.\n\n### ResponseInterceptor\n\n`ResponseInterceptor` is a callback which helps you intercept a response. You can redefine if the request is an error request, and affect if the rest end should resolve or reject this result. You can also just make a log, and don't change result.\n\nintercept response:\n\n```ts\nimport {client, ResponseData} from '@airma/restful';\n\n// for example we have to judge if the request is success \n// by the `data.success`\nconst redefinition = (response:ResponseData) :ResponseData =>{\n    const {data, status, networkError} = response;\n    if ( data && data.success ) {\n        return {\n            data: data.data,\n            status,\n            isError: false\n        }\n    }else {\n        return {\n            error: data.data,\n            data: data.data,\n            status,\n            networkError,\n            isError: true\n        }\n    }\n}\n\nconst { rest } = client({\n    responseInterceptor: redefinition\n})\n```\n\nlog response:\n\n```ts\nimport {client, ResponseData} from '@airma/restful';\n\n// the different with redefinition is we should return void,\n// if we do not want to change result.\nconst log = (response:ResponseData): void =>{\n    const {data, status} = response;\n    console.log(status, data);\n}\n\nconst { rest } = client({\n    responseInterceptor: log\n})\n```\n\n### paramsProcessor\n\nIf you want to keep the default request, but replace a better params processor like [qs](https://www.npmjs.com/package/qs), you can use this setting.\n\n```ts\nimport { client } from '@airma/restful';\nimport qs from 'qs';\n\nexport default client({\n    paramsProcessor(){\n        return {\n            stringify(data: Record<string | number, any>): string{\n                return qs.stringify(data);\n            },\n            parse(query: string): Record<string | number, any>{\n                return qs.parse(query);\n            }\n        }\n    }\n})\n```\n\n## Change config\n\nSometimes you want to change rest config when the client has been built. You can use `config` method from client instance.\n\n```ts\nimport {client} from '@airma/restful';\n\nconst {rest, config} = client();\n\nasync function test(){\n    // http://host/path?id=1\n    await rest('/path').setParams({id:1}).get();\n    // set a sessionId as a default param\n    config(\n        c => ({...c, defaultParams: {sessionId: 12} })\n    );\n    // http://host/path?sessionId=12&id=1\n    await rest('/path').setParams({id:1}).get();\n}\n```\n\nYou can set headers and other config too.\n\nIf you want to config a specific request, you should set config to a method.\n\n```ts\nrest('/path').get({headers:{...}, responseType:'text'});\n```\n\n## Response\n\nAs we have known, the method `get`, `post`, `put`, `delete` provides a promise which has a result we need directly. But, sometimes, we need a more original response data with status, headers, networkError properties. So, we can use `response` from the method returns.\n\n```ts\nconst res = await rest('/path').get<User>().response();\nif(!res.isError){\n    return res.data; // User type\n}\n// we can get details now\nconst {error, networkError, headers} = res;\n```\n\nThe response method is a parasitic method in the `get`, `post`, `put`, `delete` method returning promise. It returns a promise which result is a `ResponseData`.\n\n","readmeFilename":"README.md"}