koa-session2 Middleware for Koa2 to get/set session use with custom stores such as Redis or mongodb with Babel koa-session2 Middleware for Koa2 to get/set session use with custom stores such as Redis or mongodb with Babel If you are not using bab…
KoaHub平台基于Node.js开发的Koa 链接支付宝插件代码信息详情 easy-alipay alipay payment & notification APIs easy-alipay Nodejs based Alipay payment & notification APIs API Payment.createDirectPay() Create an Ali direct payment, return an Ali url so client can go to Ali…
co-request co-request promisify wrapper for request co-request Simple wrapper to the request library for co-like interface (node.js generator based code). You can use it with koa or co To install simply run: npm install co-request Require co first, a…
koa-jwt Koa JWT authentication middleware. koa-jwt Koa middleware that validates JSON Web Tokens and sets ctx.state.user (by default) if a valid token is provided. This module lets you authenticate HTTP requests using JSON Web Tokens in your Koa (nod…
debug small debugging utility debug tiny node.js debugging utility modelled after node core's debugging technique. Installation $ npm install debug Usage With debug you simply invoke the exported function to generate your debug function, passing it a…
koa-mongo MongoDB middleware for koa, support connection pool. koa-mongo koa-mongo is a mongodb middleware for koa, support connection pool. Install npm i koa-mongo --save Usage app.use(mongo({ host: 'localhost', port: 27017, user: 'admin', pass: '12…
koa-static-server Static file serving middleware for koa with directory, rewrite and index support koa-static-server static file serving middleware for koa with directory, rewrite and index support Installation $ npm install koa-static-server API var…
koahub-skip koahub skip middleware koahub skip Conditionally skip a middleware when a condition is met. Install npm i koahub-skip --save Usage With existing middlewares: var skip = require('koahub-skip'); var serve = require('koa-static'); var static…
koa-router Router middleware for koa. Provides RESTful resource routing. koa-router Router middleware for koa Express-style routing using app.get, app.put, app.post, etc. Named URL parameters. Named routes with URL generation. Responds to OPTIO…
koa-ejs ejs render middleware for koa koa-ejs Koa ejs view render middleware. support all feature of ejs. Usage Example var koa = require('koa'); var render = require('koa-ejs'); var app = koa(); render(app, { root: path.join(__dirname, 'view'), layo…
ccap node.js generate captcha using c++ library CImg without install any other lib or software node-ccap -- node.js generate captcha using c++ library CImg. You can generate captcha without install any other libraries or software, only do npm install…
mysql A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed. mysql Table of Contents Install Introduction Contributors Sponsors Community Establishing connections Connection options SSL op…
moment Parse, validate, manipulate, and display dates A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates. Documentation Port to ECMAScript 6 (version 2.10.0) Moment 2.10.0 does not bring any new fea…
koa-session2 Middleware for Koa2 to get/set session use with custom stores such as Redis or mongodb with Babel koa-session2 Middleware for Koa2 to get/set session use with custom stores such as Redis or mongodb with Babel If you are not using bab…
koahub-yilianyun 微信易联云打印机接口 koahub-yilianyun易联云打印机node接口 Installation $ npm install koahub-yilianyun Use with co-request var printer = require('koahub-yilianyun'); var result = yield printer({ "partner": 914,//用户id(管理中心系统集成里获取) "ap…
资料地址:http://www.expressjs.com.cn/ Express 基于 Node.js 平台,快速.开放.极简的 web 开发框架. $ npm install express --save Web 应用 Express 是一个基于 Node.js 平台的极简.灵活的 web 应用开发框架,它提供一系列强大的特性,帮助你创建各种 Web 和移动设备应用. API 丰富的 HTTP 快捷方法和任意排列组合的 Connect 中间件,让你创建健壮.友好的 API 变得既快速又简单.…