# With yarn
yarn add magic-http-status
# Or with npm
npm i magic-http-status
To easily prevent using magic numbers for HTTP request and not having to recreate each time variable or enums...
import { MESSAGES, CODES } from 'magic-http-status';
response
.status(CODES.OK)
.send({
message: MESSAGES.OK
});