httpcodes 0.1.0

HTTP status codes
Documentation
  • Coverage
  • 100%
    76 out of 76 items documented0 out of 0 items with examples
  • Size
  • Source code size: 14.79 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jewlexx

HTTP Codes

HTTP status code helpers.

Installation

deno add @cordor/codes

# Or

npx jsr add @cordor/codes

Usage

import { HttpCode } from "@cordor/codes";

console.log(HttpCode.Ok); // 200

// Or with a constant

import { OK } from "@cordor/codes/consts";

console.log(OK); // 200

Made with 💗 by Juliette Cordor