Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.DS_Store
README.md
index.js
package.json

README.md

var httpStatusCode = require("httpstatuscode");

var toBeEqual = function (actual,expected){ if(actual !== expected){ throw (actual + " not equal " + expected); } };

toBeEqual(httpStatusCode.OK,200); toBeEqual(httpStatusCode.Created,201); toBeEqual(httpStatusCode.BadRequest,400); toBeEqual(httpStatusCode.InternalServerError,500);

console.log(httpStatusCode); console.log("success");