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();

Package Sidebar

Install

npm i hyper-status

Weekly Downloads

2

Version

0.0.0

License

MIT

Unpacked Size

11.8 kB

Total Files

7

Last publish

Collaborators

  • mahikaishar