hyper-status
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

Hyper Status

A tiny package for http status code.

Getting Started

To tnstall Hyper Status in your project.

pnpm install hyper-status

Examples

import fastify from "fastify";
import hyperstatus from "hyper-status";

const server = await fastify();

server.get("/", (request, reply) => {
  reply
    .code(hyperstatus.HTTP_202_ACCEPTED)
    .send({ message: "Server is Okey" })
})

server.listen();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    3

Package Sidebar

Install

npm i hyper-status

Weekly Downloads

3

Version

0.0.0

License

MIT

Unpacked Size

11.8 kB

Total Files

7

Last publish

Collaborators

  • mahikaishar