(Ryan的Koa系列博客)9.依赖库:statuses(本文尚未完成)
发布时间:2020-12-14 01:51:18 所属栏目:百科 来源:网络整理
导读:前言 安装 npm install statuses 依赖 var status = require ( 'statuses' ) 用法 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 wi
前言安装npm install statuses
依赖var status = require('statuses')
用法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. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |