前言@H_404_1@
安装@H_404_1@
npm install statuses
依赖@H_404_1@
var status = require('statuses')
用法@H_404_1@
npm install statuses
依赖@H_404_1@
var status = require('statuses')
用法@H_404_1@
var code = status(Integer || String)
If Integer or String is a valid HTTP code or status message,then the appropriate code will be returned. Otherwise,an error will be thrown.