Skip to content

Instantly share code, notes, and snippets.

View marcelo-amorim's full-sized avatar

Marcelo Amorim marcelo-amorim

  • São Paulo - Brasil
View GitHub Profile

Comparison

got [request][r0] [node-fetch][n0] [ky][k0] [axios][a0] [superagent][s0]
HTTP/2 support ✔️¹ ✔️**
Browser support ✔️* ✔️ ✔️ ✔️
Promise API ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Stream API ✔️ ✔️ Node.js only ✔️
Pagination API
@marcelo-amorim
marcelo-amorim / nexoos_insomnia_requests.json
Created February 20, 2021 01:46
Arquivo para importação de requests do dev-challenge Nexoos
{"_type":"export","__export_format":4,"__export_date":"2021-02-20T01:45:13.258Z","__export_source":"insomnia.desktop.app:v7.0.6","resources":[{"_id":"req_e2a6aa456d884cf986a1778e2689e4cf","authentication":{},"body":{"mimeType":"application/json","text":"{\n \"cnpj\": \"\",\n \"companyName\": \"\",\n \"addresses\": [1],\n \"phones\": [\"114\"]\n }"},"created":1613414643060,"description":"","headers":[{"id":"pair_3ce9bb6635994d2f9c9cb992a5d408bc","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1613414643060,"method":"POST","modified":1613784587575,"name":"Create a requester","parameters":[],"parentId":"fld_25a4196e2e7442c5900f0db7f8553e25","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3333/requesters","_type":"request"},{"_id":"fld_25a4196e2e7442c5900f0db7f8553e25","created":1613618331768,"d
/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,