0.1.0 • Published 11 years ago
rest-status v0.1.0
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
0.1.0
11 years ago