{"_id":"@rails/request.js","_rev":"20-69bd9c6ba9a6bc9c6df988359cdb084d","name":"@rails/request.js","dist-tags":{"latest":"0.0.13"},"versions":{"0.0.2":{"name":"@rails/request.js","version":"0.0.2","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.2","maintainers":[{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kaspth@gmail.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"a99138dc4a7d46f2d707fb9d47b41c2d4af2fb3e","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.2.tgz","fileCount":10,"integrity":"sha512-zvVyxP8bcRN7chp3wuVjifC+ORyXCjO6g7R6cm5PFrrCeubiL899g4xeyL918c7CUA07qijTUdop3tqzcuOMDg==","signatures":[{"sig":"MEUCIQDirapPzsfz1wFUEEluwQuuRfuKgj8IPl5R8uA85soofwIgWYtuna/oTYLjRkrQL9BEYy7qBhVEtV5impOGN6pphrQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgt4W3CRA9TVsSAnZWagAAUmAP/RyHee+BSzekavit+09q\nZWEeBtwSRqlNw/bZhOCO08svxKwndgXFR6nU5KfxGp7RuODJXdWnWtTog6TD\nFLvWwO/Tim3zMUXCH/V5rkvm4Y2LBPnhB8SJbrsnGXgd0omRpKLrPsVNUxf5\no62HBLqMtdCl1GXX+wLkDuoAeeVcGaPc4Ze4q1KScpZ6L33iYyfbonPvY7SE\njXkVn+b6cvnaxi4L9l4ufgqh9KTfBM3L41/Dbu6G8BwEiF9xRe5BaIVNlCYi\n+errDQOZlE2B2+77FpnQ3WNGpoarN1CHdGG+zPElEwdu12KZYe4NkfW8t5TS\nLP8PwBc2pcV7WNfU31t7/lJzWQk7CkSc4Vvi4gy62XoNlsyqiDJYivnLM4YL\nrJ+V3qPv4Ib3VbqtwYNLLPlfdtI8r7S+yI9GzEIM6sj1Z7uKUMJNh+L5XAan\nIe66IeL1s9WXNNXIieOe0ujX30bV7SZmfknMtiR6PCysQULagZ/sG93IOjwe\npCyL2RqqOvz0EHYt6gD6vsHfPfmQFYk+IkJjdELppxSQ7yTvCshDINApwoue\noWmeSSUEKHqylNihlCKCn7+S/ezLsBiJLQSf5UadX0LEnCob4g/vO4yhgTkf\n/oi354Ohbwg0daBySUqXIeEHdj67eH9/unvEZBdmDrdNQSzDHeaDVicfUkKa\nzarA\r\n=Ov91\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.js","module":"./src/index.js","private":false,"scripts":{"lint":"standard src"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"https://github.com/rails/request.js","type":"git"},"description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Basecamp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"standard":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.2_1622640055572_0.5326795630616583","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@rails/request.js","version":"0.0.3","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.3","maintainers":[{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"98689fda25232c3a8d26554b1a018fc4e895701b","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.3.tgz","fileCount":17,"integrity":"sha512-i4q6bhp/yeNeaPCAidZwTg6FYb1MwpM0PQMK2ycWJDm5+yv7RLTjUGdgoMzPDrVWuOBGg/jUD9DZp+JyiGTuaQ==","signatures":[{"sig":"MEYCIQCTIMYdw+uFLo1pMzVQGF+UBdG4208dWKKgzpSXkwaquAIhAPtwWbFVEm6/GGuBg2AfQpiru8KSKoLXfOCzWHgeZ+HU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvq0XCRA9TVsSAnZWagAAg+gP/29WT2ah+HqIiaxK/6xk\n434JVgEqtPKze/qEAoal1AK4a1PUl0JvIqeo7FgLSsV9qcpG9404NymxNiw9\nrf4BuDj6Pkn/oLtQ8FjZ77L6o++wCJ4Pv6CEKJ7j841McggoRThN56S/FHlo\nf2H3l4vlybjVV1oYIFXuO+nmg2iOiRlLuc0uRN8qdQWMv1IQfQy2HNBDAIG+\nhJjtevEKJi13Ko9YZ7pHVuh0bahC+ZMs/I2n0r1dzK7YEosmy3xopR6QVG8i\nMuUeSPXWL2HwRDd/KJl7IhDXWL9bOcc+aHgH55qwW/MhmfafSll9rjFYXuQt\ngqmOnzfDqfvd6GmURyntre5alRKT56cftzoiC8UwxfMX1q56MwBnePNzLS6p\nJb05E+G9a9Cf1pXRWjw0wZSR/JwSgXHtbuh0tjU2CQ7Q56X5q0N64vV7tzm9\noaxTUirRrCEA4t2WQnClK9iiMpC2Ux02DTXl35vrez9IfZ4XSySGxK7S7Iqt\ncs/thq5B8B7W9NiNj8LFCW7m6ES83QLR0eNRCq8cfrJx7VyZ26oW1wRGUqYD\nIeUkq/TuU1sJMnSlPvAXuS1a7DTngH1353ZNULUCN4eNyTCg4vRBDSb7IN+K\n1gJae5U6bn4zXyY6b4w2JHOwyIETP32YJTvtAJuahVDMc/SSfLtb77cVZhjK\nVGTl\r\n=LIM1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.js","module":"./src/index.js","private":false,"scripts":{"lint":"standard src"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"https://github.com/rails/request.js","type":"git"},"description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Basecamp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"standard":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.3_1623108887504_0.5702428523976713","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@rails/request.js","version":"0.0.4","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.4","maintainers":[{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"georgeclaghorn","email":"georgeclaghorn@gmail.com"}],"bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"3d35f6ed2ec6f32057cd53c5b75c2e4b7455ea2b","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.4.tgz","fileCount":17,"integrity":"sha512-hOSnvj6HIHzL74A6LmmQ5D907CJSUMlowv6WW7x7DyGIeGltHLC+KLy2olcpg0C1rNX/VXbKbhNH6maQN9eiPg==","signatures":[{"sig":"MEUCICOMurjXGOCTTy0pJ8th1I8QiHx3boTZcGvYZinb5cLKAiEAjKw/COuLm8JdqkXVU1j4Z822vW9ATxP+q7rqeyS5nAI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3E32CRA9TVsSAnZWagAA+YkQAKPeRG3CelUhWPS7KMaB\no0NXQTnHnR9x0P8rT6ccdt703vOsakIHjuTk7BONHRjBe2TMnZk2aV/S7izN\nMtZ07jmd9V9cauZsGHpKZxwEV6m8xWbKJiyxpzM+5aLMUMGW0DmH53XvPdYr\nKjiPIz6gg+7BbiT5RzYH7+2vlsOjwjFMKYeGr+7L1ySgMuhVVyBbI/fuVr5L\n/zxFJjcy/nddFixGemOwyvotAvbaFcko7GssEi7V7tw1NF7pPzSPPza5PFqa\nf35wW7n4jHMCka7xQ97kwv+w9rlQv6MhYizowJ5pOyRiZu8s8qMEpl1s1UD5\nOCZOfr3VsROqOakw2nJzjfU074fHeN1VHVPOfiOiNtRZyhvLgSXitKz+whf9\n7iK1kbiWnCuJ31ERQuSUL/vb3RokjK+fB77JVW+u0PMkCUJVdj0Q1Et5iE/1\nUB5O+f1VuP0EYxYDCapLnBp8kYfuSZIr5zFOOezbppqChA7Dmv5pDo7oteZ7\nLwBXJy7h/CI0IUK6e/VWo9M7Rhm+logR8FZ1P9hYhhWoSuK9id7bya3iYafD\nt3BpFIh1oYKvw3xFuETbLAVTwGlXp4jhiSrPQjRnM/J55ahWtCtGmWby7L6S\n+BWzcRZzJxq3rgC9hATlNRvEHNmjFk0a2XcG0fuJP8caBKIRvmWaa7sTN/9X\n43nw\r\n=KhYu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.js","module":"./src/index.js","private":false,"scripts":{"lint":"standard src"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"https://github.com/rails/request.js","type":"git"},"description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Basecamp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"standard":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.4_1625050614369_0.9798380157572386","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@rails/request.js","version":"0.0.5","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.5","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"javan","email":"javan@javan.us"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"gauravtiwari","email":"gaurav@gauravtiwari.co.uk"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"5ea896085f1c82bacca0e32aa918c8cd003a3d30","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.5.tgz","fileCount":17,"integrity":"sha512-EDw3d5oCSPFn/os7C41+61urT5J5n+bMXK2NTQVhJI8VCPAIVbvFGjZIQI0a9zJ9KuaWKHM6IjXTRakKemlzoA==","signatures":[{"sig":"MEQCIFUTzY5MVWrE0qZAZwWTKROAC4mfnDGi7D/TSbKij2KiAiAIOLwJvNqza6Qvfc0BmOjHVgy6wsQgOxIGP0XO/8yyNw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14981,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEmNJCRA9TVsSAnZWagAAa4wQAKTUtrz7O8x4kOy2PVXU\nGCeVR0SRZg4nNk5T0AujZkndw0GSQHPf0dKb/c33nVUH6+hDa7l0uVSM9POJ\nErgupTn0+MlK70bV6hyZ5az8X7YUCTl9BFjmhCPpEgSGa3bbDTwcpdyB+OYn\n+hd/gxhgr4Lgt7Tu8TWHTGsCyev6nHku/cAxf1eryXjjvgTXwycVv+ZDT8Ke\nQMZZGpy8ZEQcy6ohTBaRPOfYB6zIknud1aoAA7Ef1VflOJY2RI3BAY6YPCyw\nJ6fIF7YoBLQ482uKUs9QQ35p3OPcjmmIXqL/xi0xn8V9ONBwCXWSf9s9OWrH\n+SBOrYcTUVUGN/6nikNEqRenAMSFloo5EuFJXPke+3WJvivLVHeHyK28HMl0\nNiOv6sDYPhhBT+8A6vvCSzF+mxO6T4GBW/Uz0IV54fk0hO50zets8rX5jF/Q\nP/pzoBrb1JnHKG538AWhY4Ni/c/cGk8yxpwfghDyIr/rTTZt0HnMf5B0U+Do\nGFusnhVUs2bSCxoSowHEbtfO/VDV/Xamqg86FFdhnkiilssZKGzcnyjcxHE4\njYyAoxk/vrZIX9+MAqo46Ur8XbjEj4gLFfyOi7G4leqNW48DpSK3Z4eAMDlC\nN/LFjxPTKlr1/K9TXasI1LdTwB9DJmrNNJTp0D+4QlsIx4agB6sTz2A2fBe1\nXOJv\r\n=5E7r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./src/index.js","module":"./src/index.js","private":false,"scripts":{"lint":"standard src"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"https://github.com/rails/request.js","type":"git"},"description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Basecamp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_hasShrinkwrap":false,"devDependencies":{"standard":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.5_1628595017140_0.49333122397936924","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@rails/request.js","version":"0.0.6","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.6","maintainers":[{"name":"pixeltrix","email":"andyw@pixeltrix.co.uk"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafaelmfranca@gmail.com"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"kaspth","email":"kasper@hey.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"5f0347a9f363e50ec45118c7134080490cda81d8","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.6.tgz","fileCount":25,"integrity":"sha512-dfFWaQXitYJ4kxrgGJNhDNXX54/v10YgoJqBMVe6lhqs6a4N9WD7goZJEvwin82TtK8MqUNhwfyisgKwM6dMdg==","signatures":[{"sig":"MEQCIFUPuLaVFTAOSkHQYBMIovBxDMXYPt99ODWZr6vTMziUAiB2sVL1lsKAI4js8IIFS0MHLJ/WdsVADmA17f5DAgaH4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46157,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsd9UCRA9TVsSAnZWagAA27kP/jCs4M3HzHxYrUisaMz6\na5OiRFzSRYpUWwBgBI4o1hZuIX0q3jCYEYfIcsn/7McV76dNje9CQrkk33u8\n4FwuRFI0UOJT3HK20KH04t1ICUPuDv1cRsT+Z9zvYxAfLrRWyWffyed22DXC\nTZkhlVapKWtcNkl9wB/jC1Qd1cvPjNWSy8LfTN+KkrBZZdknZ2rqqmbr+Gdf\nDxdN5CClg29myFrhanT6/w6eC06/HOzQeJ3N8Q3geyDTpdRV1L5e+kD/efg2\newoAumX3OQV68X8mdMxpt4PVYPRaozznkIkf5D8lkXSjXM/uNeF3/qX96uMX\njnrFiXytsFVZyoiJ+AsIuSI5wRkg+ydfdKvNa2bwraUH8+fUC6Y7rmrs8sRG\n9fS58h04ArUToT7ApmbAOyE8IxFGP3L59BWdbkv50lM/TvBR9hxKtI8yLc0R\nB/H49INbioDhQVXqlQmh32LyZ9hbqY6RhyJ4S00aQG7CcyCPD55tqtVR0xrW\nVriBh3wGOumDXwgsdjYhi2lmCyBZNUxVfVa9eDjfRvT8XYuhxE5Pp3NpivS/\n3UfiHMVTl8TeyO9ss83FWh77brpkOz1v59Ka3OJVc7HFsxo68iOse1fI/57w\nQ310HDDE9nxyyPtRBv3u40kJRPejR7u3PMbO/4qwV1hy8Ytz+o2LnKF0Tpdd\nevP4\r\n=ojWn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/requestjs.js","module":"./src/index.js","private":false,"scripts":{"lint":"standard src","test":"jest","build":"rollup -c"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"https://github.com/rails/request.js","type":"git"},"description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Basecamp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","rollup":"^2.35.1","standard":"^16.0.3","babel-jest":"^27.1.0","isomorphic-fetch":"^3.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^11.0.1","@babel/plugin-transform-modules-commonjs":"^7.15.0"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.6_1639046996660_0.9755133012063419","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@rails/request.js","version":"0.0.7","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.7","maintainers":[{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/request.js#readme","bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"d81582092da5dbf78f14745055ce41a0d87835f5","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.7.tgz","fileCount":16,"integrity":"sha512-Eq165HebzkxFlQwyLyn31/X2VT1RP4hGZFOem1rATJehl09vHfMiHJOGZrE40bRcjuN6crIxDVw9G+XySqroOA==","signatures":[{"sig":"MEUCIQDz45mWJGFRSOTXjhgfargPt+yfXRqsOabYiWpog0/KRwIgNFiaUCfdHPzr/zkADa43UHL1TJsU6Dru0+rqyYgcWB4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjc6wpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQDw/9Er2b8vxEQMOPCKEi0uoQovXXNawuFq4OxiQ6SiEKXL+XWdHl\r\nn8vut1EwbG34fsMqNFhRkajkSSJ8hwklrRYmQ01HiHNDffhG0QN9UrSiBR5A\r\norrCAlNBgCgIvIG/vSju8Fn1BVVc+BXIsvQTVhxON7t9CucPWhKVOjA9s10L\r\noc0MpxyE5jSOFl5q+ofdoqeoEgl+9o040xuHTE38cu9ybBOAVM+dubBixxdU\r\nUeVRLZzqfXfPvI5rEqhQ13hsyzTpahz/bEZ7LuNPN8HYBPPQUQ2JN/32qTdA\r\nSar5Ub+jE4mB/3N3vbV71ZXew5y2Mikb7Mz279R6m7tXbpERuaLR1EjGzn/Z\r\n7JmZH4wglWp5oHVdfhFdAlAfsRFE0XInEQ4pY0GJKnR4XSzsUsnAPG03f6vM\r\nvtv4H52z+Vg6vZouCPghFHkXm7U+nuWLqHAvXmgA1HSDxmTtyw7u9z1WK+ia\r\nZ3QrR7b1sC3eoOV30eHq2SnPLBgJBr9+ashuVfGFjd5g6RT/KcerhlJp71vb\r\nCB+gTNU+ifCLd6+Ya4aAfV04efqWEcpBUBmyVlqfoX5q+BFSFHBwayG523CQ\r\n9LSV/9Ki9Mqj2g18o6/GMzqXU8Q/7nJ1uwUsiBxx1Hx69jlvaS5nSp9oRTpP\r\nwZCZYWraMhaA/fBbxsDmIASBIBypGJknO5w=\r\n=r515\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/requestjs.js","module":"./src/index.js","gitHead":"80b733e94ffd1fdbde2eb88a6f0c60a5f54ed9ab","private":false,"scripts":{"lint":"standard src","test":"jest","build":"rollup -c"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"git+https://github.com/rails/request.js.git","type":"git"},"_npmVersion":"8.3.1","description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"_nodeVersion":"16.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","rollup":"^2.35.1","standard":"^16.0.3","babel-jest":"^27.1.0","isomorphic-fetch":"^3.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^11.0.1","@babel/plugin-transform-modules-commonjs":"^7.15.0"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.7_1668525097165_0.8525634309177543","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@rails/request.js","version":"0.0.8","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.8","maintainers":[{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/request.js#readme","bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"5e2e8da15013b1af7f04d759e4e9d1cff981865c","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.8.tgz","fileCount":17,"integrity":"sha512-ysHYZDl+XjBwFVXz7EI7XW+ZWiTFY8t7TrC/ahpAPt0p7NE4DZxm1nJQY9gmF4PBf+4pAYa+D/rLIGmrn1ZMvg==","signatures":[{"sig":"MEUCIFSXhxbbGfFHJmmWWP0sEh1AexgKIshdqozI5eo5XRnxAiEAkvhvQo0PWGynueOPTcTHtLRwPU+auLFREpwenS+tyzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdOGIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo89g//cnO2dWHZL//ib7f3kCGVsw9pzA1Ytqj/OBJf4W0EEHjAmTkf\r\nDDiAoBz+6dYjWD7WQjU5bLMxQ07kYKF6oWAOI6CLeEnfGUvGgY1Pg9ASSsLp\r\nK6Ac2ovzbV1oXtZjQ7tjZpOqYwuAz8JqsBaMEmb7HCURpqOygnzc6uqoIh/r\r\nzRKeYMTUkzY3T3KxdCp+P/hscH92JnWhiYOja/ByQUDnjbZucssux09IcMfr\r\nwM+SMUl1bGvvv1uI6YxCX4Bk7vbmd4bQyKUKozbGlp50dCpgeARdGNvr7i/0\r\nwStaWWj7mQB1UuvYNeNgpN3Ghko/yOb6sjBjUilHOi6WOXwp3IYa2VAdUAdZ\r\nMsT4ogvkQJqZoFApCpOBRmw9qiprDmVgmlEhXubtuHc/gXpbiuGGE3YLBVsw\r\nqDx6oRtOFURCGVvyibBA5Abk/bCVLrXSDQRoqgsFZlINUlkDfc2tXVQ6W0/b\r\nqcR2aX20ftTHK3x7Rq+ORu/Z2e0+b7J5+ForZO75h+PFXgV2y/ufquF/UBXS\r\nim54bTUyvGidcF2HOH5j+gc1+LXVpOxo+3C3687SRA3fsYxSuB7lF+rUA+1x\r\nAaBazq9wMdfN4WO15YU5b6sFaupqRexSQk1Q30DeSz+RfY24bCwgtFgjVmGf\r\nXjKaqJdc+9tY6pPxmwitcazM1eq8xXigN6A=\r\n=lXT0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/requestjs.js","module":"./src/index.js","gitHead":"dd0369b921b135fa0c946983b83a259f7d6da0de","private":false,"scripts":{"lint":"standard src","test":"jest","build":"rollup -c"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"git+https://github.com/rails/request.js.git","type":"git"},"_npmVersion":"8.3.1","description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"_nodeVersion":"16.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","rollup":"^2.35.1","standard":"^16.0.3","babel-jest":"^27.1.0","isomorphic-fetch":"^3.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^11.0.1","@babel/plugin-transform-modules-commonjs":"^7.15.0"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.8_1668604296493_0.30501716427019954","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@rails/request.js","version":"0.0.9","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.9","maintainers":[{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/request.js#readme","bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"89e2a575405dc07eb8a9b3d2fe04289e1f057cd0","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.9.tgz","fileCount":17,"integrity":"sha512-VleYUyrA3rwKMvYnz7MI9Ada85Vekjb/WVz7NuGgDO24Y3Zy9FFSpDMQW+ea/tlftD+CdX/W/sUosRA9/HkDOQ==","signatures":[{"sig":"MEUCIQDdEZd8iFxuY2/2NpMwyfwOs8D4gMPEOhMNq1Hn/kIhJQIgH+tp41XdXQpgY40MljHuooVrHX5ba999x5ZEF4V3NT0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49475},"main":"./dist/requestjs.js","module":"./src/index.js","gitHead":"6e5dfac53af6263337ce98a4b737dbb4b27e5858","private":false,"scripts":{"lint":"standard src","test":"jest","build":"rollup -c"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"git+https://github.com/rails/request.js.git","type":"git"},"_npmVersion":"9.5.0","description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"_nodeVersion":"18.14.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","rollup":"^2.35.1","standard":"^16.0.3","babel-jest":"^27.1.0","isomorphic-fetch":"^3.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^11.0.1","@babel/plugin-transform-modules-commonjs":"^7.15.0"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.9_1695646426268_0.36564592871160273","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"@rails/request.js","version":"0.0.10","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.10","maintainers":[{"name":"byroot","email":"jean.boussier@gmail.com"},{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/request.js#readme","bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"38179c74d94f97c529ae17a238e5cd6ad1f41aad","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.10.tgz","fileCount":17,"integrity":"sha512-T3vM61rf/xh6jkcJ0d07qsxsBuFrmPqjUULVsrGOiEi1ImQN30IviTER6cac5K4xGCm1ICZI7cI/m/v3ITUfBA==","signatures":[{"sig":"MEUCIHZIG8JXzHwiNr7X03ywiS3WNHDhIC5+/N6eLaVM4t5uAiEA19onKHhuxDG7BCeT5w36DaliD7SOclo+m162uRtsf1I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53705},"main":"./dist/requestjs.js","module":"./src/index.js","gitHead":"f7fde8fbb7d89f1d28e4cd07df9a8e608061a1d9","private":false,"scripts":{"lint":"standard src","test":"jest","build":"rollup -c"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"git+https://github.com/rails/request.js.git","type":"git"},"_npmVersion":"9.5.0","description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"_nodeVersion":"18.14.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","rollup":"^2.35.1","standard":"^16.0.3","babel-jest":"^27.1.0","isomorphic-fetch":"^3.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^11.0.1","@babel/plugin-transform-modules-commonjs":"^7.15.0"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.10_1725362754261_0.9538003482528992","host":"s3://npm-registry-packages"}},"0.0.11":{"name":"@rails/request.js","version":"0.0.11","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.11","maintainers":[{"name":"byroot","email":"jean.boussier@gmail.com"},{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/request.js#readme","bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"4d9be25a49d97911c64ccd0f00b79d57fca4c3b4","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.11.tgz","fileCount":11,"integrity":"sha512-2U3uYS0kbljt+pAstN+LIlZOl7xmOKig5N6FrvtUWO1wq0zR1Hf90fHfD2SYiyV8yH1nyKpoTmbLqWT0xe1zDg==","signatures":[{"sig":"MEUCIQC4wpwkXpW3IVHbK4DblfemRd8Scekqs2ivn0uFqoGjzwIgU8Ft72k2utEA+HawJVQOXB9clgW47nPqnAszUziycck=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26376},"main":"./dist/requestjs.js","module":"./src/index.js","gitHead":"000abcecfd9467ed235d89c9d38f88f8d2032501","private":false,"scripts":{"lint":"standard src","test":"jest","build":"rollup -c"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"git+https://github.com/rails/request.js.git","type":"git"},"_npmVersion":"9.5.0","description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"_nodeVersion":"18.14.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.0.6","rollup":"^2.35.1","standard":"^16.0.3","babel-jest":"^27.1.0","isomorphic-fetch":"^3.0.0","rollup-plugin-terser":"^7.0.2","@rollup/plugin-node-resolve":"^11.0.1","@babel/plugin-transform-modules-commonjs":"^7.15.0"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.11_1725363014549_0.9416075374075057","host":"s3://npm-registry-packages"}},"0.0.12":{"name":"@rails/request.js","version":"0.0.12","keywords":["rails","fetch","browser","fetch api"],"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","_id":"@rails/request.js@0.0.12","maintainers":[{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"byroot","email":"jean.boussier@gmail.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"homepage":"https://github.com/rails/request.js#readme","bugs":{"url":"https://github.com/rails/request.js"},"dist":{"shasum":"3d1f73e7585141d9c4c2149a34476d128eb900bc","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.12.tgz","fileCount":12,"integrity":"sha512-g3//JBja1s04Zflj7IoMLQuXza9i4ZvtLmm0r0dMwh1QQUs6rL2iKUOGGyERfLsd81SnXC5ucfVV//rtsDlEEA==","signatures":[{"sig":"MEQCICaYCrPGOUoZwwh09nn8JTa3pIEKdkSDji4n54mKHYw1AiBf8vhu4V0+6ZLbu4r+kRxzb/uDKbgelVOfjvnLKgDlCQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27416},"main":"./dist/requestjs.js","module":"./src/index.js","gitHead":"83620bb9e96ef99c964c0dfb0f214a8d1483586e","private":false,"scripts":{"lint":"standard src","test":"jest","build":"rollup -c"},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"repository":{"url":"git+https://github.com/rails/request.js.git","type":"git"},"_npmVersion":"9.5.0","description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","directories":{},"_nodeVersion":"18.14.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rollup":"^4.40.1","standard":"^17.1.2","babel-jest":"^29.7.0","@babel/core":"^7.26.10","isomorphic-fetch":"^3.0.0","@rollup/plugin-terser":"^0.4.4","jest-environment-jsdom":"^29.7.0","@rollup/plugin-node-resolve":"^16.0.1","@babel/plugin-transform-modules-commonjs":"^7.26.3"},"_npmOperationalInternal":{"tmp":"tmp/request.js_0.0.12_1746013211993_0.6843401133910789","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@rails/request.js","version":"0.0.13","description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","main":"./dist/requestjs.js","module":"./src/index.js","repository":{"type":"git","url":"git+https://github.com/rails/request.js.git"},"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","private":false,"keywords":["rails","fetch","browser","fetch api"],"bugs":{"url":"https://github.com/rails/request.js"},"scripts":{"lint":"standard src","build":"rollup -c","test":"jest"},"devDependencies":{"@babel/core":"^7.26.10","@babel/plugin-transform-modules-commonjs":"^7.26.3","@rollup/plugin-node-resolve":"^16.0.1","@rollup/plugin-terser":"^0.4.4","babel-jest":"^29.7.0","isomorphic-fetch":"^3.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","rollup":"^4.40.1","standard":"^17.1.2"},"dependencies":{},"gitHead":"973fcd28d47b29b73d50063af99c1688ee230193","homepage":"https://github.com/rails/request.js#readme","_id":"@rails/request.js@0.0.13","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-7MXmjFOPuaxpjG8brqKJG0EfIe9ak6R0wRnjCBtRuADNFbdlRxETdKx1T5NVU4Ato3iZOkEpeSUEuLboL3tCGA==","shasum":"3c7cbd0303ea9ef51bd3e7acaab86e9324efc52f","tarball":"https://registry.npmjs.org/@rails/request.js/-/request.js-0.0.13.tgz","fileCount":12,"unpackedSize":27317,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCbNYEWaeGDI0F/etueB3yiIRsVVuwhBA3UGjPSyiwOuQIgEHJPvhunM7hb2/N8NvK0bjuNXdwjQC9WZuv9VAESDy4="}]},"_npmUser":{"name":"marcelolx","email":"marcelolauxen16@gmail.com"},"directories":{},"maintainers":[{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"byroot","email":"jean.boussier@gmail.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/request.js_0.0.13_1765453398488_0.3309326542398747"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-02T13:20:55.234Z","modified":"2025-12-11T11:43:18.879Z","0.0.2":"2021-06-02T13:20:55.708Z","0.0.3":"2021-06-07T23:34:47.635Z","0.0.4":"2021-06-30T10:56:54.490Z","0.0.5":"2021-08-10T11:30:17.260Z","0.0.6":"2021-12-09T10:49:56.833Z","0.0.7":"2022-11-15T15:11:37.334Z","0.0.8":"2022-11-16T13:11:36.654Z","0.0.9":"2023-09-25T12:53:46.528Z","0.0.10":"2024-09-03T11:25:54.415Z","0.0.11":"2024-09-03T11:30:14.698Z","0.0.12":"2025-04-30T11:40:12.178Z","0.0.13":"2025-12-11T11:43:18.633Z"},"bugs":{"url":"https://github.com/rails/request.js"},"author":{"name":"Marcelo Lauxen","email":"marcelolauxen16@gmail.com"},"license":"MIT","homepage":"https://github.com/rails/request.js#readme","keywords":["rails","fetch","browser","fetch api"],"repository":{"type":"git","url":"git+https://github.com/rails/request.js.git"},"description":"A tiny Fetch API wrapper that allows you to make http requests without need to handle to send the CSRF Token on every request","maintainers":[{"name":"matthewd","email":"matthew@trebex.net"},{"name":"rafaelfranca","email":"rafael@franca.dev"},{"name":"tenderlove","email":"aaron.patterson@gmail.com"},{"name":"bitsweat","email":"jeremydaer@gmail.com"},{"name":"eileencodes","email":"eileencodes@gmail.com"},{"name":"dhh","email":"david@hey.com"},{"name":"jhawthorn","email":"john@hawthorn.email"},{"name":"byroot","email":"jean.boussier@gmail.com"},{"name":"marcelolx","email":"marcelolauxen16@gmail.com"}],"readme":"# Rails Request.JS\n\nRails Request.JS encapsulates the logic to send by default some headers that are required by rails applications like the `X-CSRF-Token`.\n\n# Install\n\n## Asset Pipeline\n\nInstall the [requestjs-rails](https://github.com/rails/requestjs-rails) gem and follow the step described there.\n\n## Webpacker/Esbuild\n\n### npm\n```\nnpm i @rails/request.js\n```\n### yarn\n```shell\nyarn add @rails/request.js\n```\n\n# How to use\n\nJust import the `FetchRequest` class from the package and instantiate it passing the request `method`, `url`, `options`,  then call `await request.perform()` and do what you need with the response.\n\nExample:\n\n```js\nimport { FetchRequest } from '@rails/request.js'\n\n....\n\nasync myMethod () {\n  const request = new FetchRequest('post', 'localhost:3000/my_endpoint', { body: JSON.stringify({ name: 'Request.JS' }) })\n  const response = await request.perform()\n  if (response.ok) {\n    const body = await response.text\n    // Do whatever do you want with the response body\n    // You also are able to call `response.html` or `response.json`, be aware that if you call `response.json` and the response contentType isn't `application/json` there will be raised an error.\n  }\n}\n```\n\n#### Shorthand methods\n\nAlternatively, you can use a shorthand version for the main HTTP verbs, `get`, `post`, `put`, `patch` or `destroy`.\n\nExample:\n\n```js\nimport { get, post, put, patch, destroy } from '@rails/request.js'\n\n...\n\nasync myMethod () {\n  const response = await post('localhost:3000/my_endpoint', { body: JSON.stringify({ name: 'Request.JS' }) })\n  if (response.ok) {\n    const body = await response.json\n    ...\n  }\n}\n```\n\n#### Request Options\n\nYou can pass options to a request as the last argument. For example:\n\n```javascript\npost(\"/my_endpoint\", {\n  body: {},\n  contentType: \"application/json\",\n  headers: {},\n  query: {},\n  responseKind: \"html\"\n})\n```\n\n##### body\n\nThis is the `body` for POST requests. You can pass in a Javascript object, FormData, Files, strings, etc.\n\nRequest.js will automatically JSON stringify the `body` if the content type is `application/json`.\n\n##### contentType\n\nWhen provided this value will be sent in the `Content-Type` header. When not provided Request.JS will send nothing when the `body` of the request is `null` or an instance of `FormData`, when the `body` is an instance of a `File` then the type of the file will be sent and `application/json` will be sent if none of the prior conditions matches.\n\n##### headers\n\nAdds additional headers to the request.  `X-CSRF-Token` and `Content-Type` are automatically included.\n\n##### credentials\n\nSpecifies the `credentials` option. Default is `same-origin`.\n\n##### query\n\nAppends query parameters to the URL. Query params in the URL are preserved and merged with the query options.\n\nAccepts `Object`, `FormData` or `URLSearchParams`.\n\n##### responseKind\n\nSpecifies which response format will be accepted. Default is `html`.\n\nOptions are `html`, `turbo-stream`, `json`, and `script`.\n\n##### keepalive\n\nSpecifies the `keepalive` option. Default is `false`.\n\n#### Turbo Streams\n\nRequest.JS will automatically process Turbo Stream responses. Ensure that your Javascript sets the `window.Turbo` global variable:\n\n```javascript\nimport { Turbo } from \"@hotwired/turbo-rails\"\nwindow.Turbo = Turbo\n```\n\nSince [v7.0.0-beta.6](https://github.com/hotwired/turbo/releases/tag/v7.0.0-beta.6) Turbo sets `window.Turbo` automatically.\n\nRequest.JS will also use Turbo's `fetch` to include the `X-Turbo-Request-ID` header in the request (see [#73](https://github.com/rails/request.js/issues/73)).\n\n#### Script Responses\n\nRequest.JS will automatically activate script tags in the response (see [#48](https://github.com/rails/request.js/issues/48)).\n\n#### Request Interceptor\n\nTo authenticate fetch requests (eg. with Bearer token) you can use request interceptor. It allows pausing request invocation for fetching token and then adding it to headers:\n\n```javascript\nimport { RequestInterceptor } from '@rails/request.js'\n// ...\n\n// Set interceptor\nRequestInterceptor.register(async (request) => {\n  const token = await getSessionToken(window.app)\n  request.addHeader('Authorization', `Bearer ${token}`)\n})\n\n// Reset interceptor\nRequestInterceptor.reset()\n```\n\n#### Before and after hooks\n\nWrap the request `Promise` with your own code. Just pure and simple JavaScript like this:\n\n```javascript\nimport { FetchRequest } from \"@rails/request.js\"\nimport { navigator } from \"@hotwired/turbo\"\n\nfunction showProgressBar() {\n  navigator.delegate.adapter.progressBar.setValue(0)\n  navigator.delegate.adapter.progressBar.show()\n}\n\nfunction hideProgressBar() {\n  navigator.delegate.adapter.progressBar.setValue(1)\n  navigator.delegate.adapter.progressBar.hide()\n}\n\nexport function withProgress(request) {\n  showProgressBar()\n\n  return request.then((response) => {\n    hideProgressBar()\n    return response\n  })\n}\n\nexport function get(url, options) {\n  const request = new FetchRequest(\"get\", url, options)\n  return withProgress(request.perform())\n}\n```\n\n## Response\n\n### statusCode\n\nReturns the response status.\n\n### ok\n\nReturns true if the response was successful.\n\n### unauthenticated\n\nReturns true if the response has a `401` status code.\n\n### authenticationURL\n\nReturns the value contained in the `WWW-Authenticate` header.\n\n### contentType\n\nReturns the response content-type.\n\n### html\n\nReturns the html body, if the content type of the response isn't `html` then will be returned a rejected promise.\n\n### json\n\nReturns the json body, if the content type of the response isn't `json` then will be returned a rejected promise.\n\n### headers\n\nReturns the response headers.\n\n# Known Issues\n\n`FetchRequest` sets a `\"X-Requested-With\": \"XmlHttpRequest\"` header. If you have not upgraded to Turbo and still use `Turbolinks` in your Gemfile, this means\nyou will not be able to check if the request was redirected.\n\n```js\n  const request = new FetchRequest('post', 'localhost:3000/my_endpoint', { body: JSON.stringify({ name: 'Request.JS' }) })\n  const response = await request.perform()\n  response.redirected // => will always be false.\n```\n\n# License\n\nRails Request.JS is released under the [MIT License](LICENSE).\n\n© 37signals, LLC.\n","readmeFilename":"README.md"}