UNPKG

@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.

22 lines (21 loc) 583 B
import { c } from "./codes-5d6bf891.js"; import { getStatusText, isClientError, isHttpStatus, isInformational, isRedirect, isServerError, isSuccess } from "./functions.js"; import { i } from "./index-441d42ea.js"; import { m } from "./methods-3062c49b.js"; import { t } from "./texts-0d6bcbaf.js"; import { t as t2 } from "./tuples-38fa975a.js"; export { getStatusText, i as header, isClientError, isHttpStatus, isInformational, isRedirect, isServerError, isSuccess, m as method, c as status, t as statusText, t2 as tuple }; //# sourceMappingURL=index.js.map