Popularity
1.2
Stable
Activity
0.0
Stable
34
8
1

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: HTTP     Node.Js     Polyfills     Code     Codes     Ponyfill     Polyfill     Shim     Core     Built-in     Builtin     Msg     Message     Statusmessage     Statuses     Statuscodes     Status     Https    
Latest version: v3.0.0

node-status-codes alternatives and similar modules

Based on the "Node.Js" category.
Alternatively, view node-status-codes alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of node-status-codes or a related project?

Add another 'Node.Js' Module

README

Deprecated

This package is no longer relevant. The http.STATUS_CODES property is stable now.


node-status-codes Build Status

Node.js http.STATUS_CODES ponyfill

The built-in list of HTTP status codes differ between Node.js versions, so this is a good way to make sure it's consistent. Will be kept up to date with latest Node.js.

Install

$ npm install --save node-status-codes

Usage

var nodeStatusCodes = require('node-status-codes');

console.log(nodeStatusCodes[200]);
//=> 'OK'

console.log(nodeStatusCodes[500]);
//=> 'Internal Server Error'

License

MIT © Sindre Sorhus


*Note that all licence references and agreements mentioned in the node-status-codes README section above are relevant to that project's source code only.