@poppanator/http-constants
Version:
This package contains various HTTP constants: http status codes and texts, HTTP header names and HTTP methods, and a few related utility function.
3 lines (2 loc) • 480 B
JavaScript
;const e="POST",t="CONNECT",o="DELETE",r="HEAD",s="OPTIONS",p="PATCH",T="TRACE",P=Object.freeze(Object.defineProperty({__proto__:null,Connect:t,Delete:o,Get:"GET",Head:r,Options:s,Patch:p,Post:e,Put:"PUT",Trace:T},Symbol.toStringTag,{value:"Module"}));exports.Connect=t,exports.Delete=o,exports.Get="GET",exports.Head=r,exports.Options=s,exports.Patch=p,exports.Post=e,exports.Put="PUT",exports.Trace=T,exports.methods=P;
//# sourceMappingURL=methods-54cbceb9.cjs.map