加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

(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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读