rest-status

0.1.0 • Public • Published

rest-status

REST Response Status Codes Utility

Guide

Install

npm install rest-status

Use with status code

require("rest-status").E404(); // Error object with: status=404, message=Not Found

Use with status message

require("rest-status").NotFound(); // Error object with: status=404, message=Not Found

Readme

Keywords

none

Package Sidebar

Install

npm i rest-status

Weekly Downloads

2

Version

0.1.0

License

none

Last publish

Collaborators

  • zneo99