A tiny package for http status code
npm install hyper-status-codeA tiny package for http status code.
To tnstall Hyper Status Code in your project.
``bash`
pnpm install hyper-status-code
`ts
import fastify from "fastify";
import statusCode from "hyper-status-code";
const server = await fastify();
server.get("/", (request, reply) => {
reply
.code(statusCode.HTTP_202_ACCEPTED)
.send({ message: "Server is Okey" })
})
server.listen();
``