(Ryan的Koa系列博客)9.依赖库:statuses(本文尚未完成)
2017-02-16 17:03
295 查看
前言
安装
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.
相关文章推荐
- (Ryan的Koa系列博客)7.依赖库:koa-compose(本文尚未完成)
- (Ryan的Koa系列博客)3.依赖库:debug(本文尚未完成)
- (Ryan的Koa系列博客)2.严谨模式(未全部完成)
- (Ryan的Koa系列博客)5.依赖库:composition(代码本机未能执行)
- (Ryan的Koa系列博客)1.说说Koa用到的JS基础知识
- (Ryan的Redis系列博客)2.Redis简介
- (Ryan的Redis系列博客)4.Redis的键
- (Ryan的Redis系列博客)0.Redis系列文章的博客写作计划
- (Ryan的Redis系列博客)5.Redis的键字符串类型
- (Ryan的Redis系列博客)9.Redis的列表
- (Ryan的Redis系列博客)3.Redis数据类型和抽象
- (Ryan的Redis系列博客)8.Redis的散列
- (Ryan的Redis系列博客)7.Redis键的生命周期
- (Ryan的Redis系列博客)1.开源协议
- (Ryan的Redis系列博客)6.更改和查询键空间
- Thinking In系列大师Bruce Eckel博客中文版入驻CSDN
- Web2.0网站的路径依赖--探讨蚂蚁社区为什么要导入博客
- Code maturity level options 代码成熟度选项 [*]Prompt for development and/or incomplete code/drivers 显示尚在开发中或尚未完成的代码与驱动.除非你是测试人员或者开发者,否则请勿选择 我是开发者,所以选[*] Loadable module support 可加载模块支持 [*]Enable loadable module support 内核编译配置选项简介 (2.4.20-8
- Thinking In系列大师Bruce Eckel博客中文版入驻CSDN
- 综合应用WPF/WCF/WF/LINQ系列博客目录导航