@jmondi/http-status
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@jmondi/http-status

Common http status codes.

Install

pnpm add @jmondi/http-status

Usage

import express from "express";
import { HttpStatus } from "@jmondi/http-status";

app = express();
app.get("/api", (req, res) => {
  res.status(HttpStatus.NO_CONTENT).end();
});
...

Readme

Keywords

none

Package Sidebar

Install

npm i @jmondi/http-status

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

6.11 kB

Total Files

7

Last publish

Collaborators

  • jasonraimondi