forked from sheetjs/sheetjs
SheetJS
f03e32fc9a
- frameworks: react, react-native, preact, next.js, weex, nuxt.js - deployments: nodejs server, duktape, chakra, electron, nw.js
8 lines
300 B
JavaScript
8 lines
300 B
JavaScript
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
var sprintf = require('printj').sprintf;
|
|
var logit = function(req, res) {
|
|
console.log(sprintf("%s %s %d", req.method, req.url, res.statusCode));
|
|
};
|
|
logit.mw = function(req, res, next) { logit(req, res); next(); }
|
|
module.exports = logit;
|