UNPKG

http-stash

Version:

Constants for HTTP status codes and their standard messages.

27 lines (18 loc) 400 B
# http-stash Constants for HTTP status codes and their standard messages. ## Install ```bash npm install http-stash # or pnpm add http-stash # or yarn add http-stash ``` ## Usage ```javascript import { ACCEPTED_CODE, ACCEPTED_MESSAGE } from 'http-stash'; console.log(ACCEPTED_CODE); // 202 console.log(ACCEPTED_MESSAGE); // "Accepted" ``` ## License MIT © [Awa](https://github.com/alwalxed)