koa-request-xhr
This middleware simply sets a xhr
boolean on the koa request.
This aims to be the equivalent of Express req.xhr
Installation
$ npm install koa-request-xhr --save
Example
var koa = ;var xhr = ;var app = ; app;app; app;
This middleware simply sets a xhr
boolean on the koa request.
This aims to be the equivalent of Express req.xhr
$ npm install koa-request-xhr --save
var koa = ;var xhr = ;var app = ; app;app; app;
npm i koa-request-xhr
6
1.0.1
ISC