npm install --save @types/pino-http Summary This package contains type definitions for pino-http (https://github.com/pinojs/pino-http#readme). Details Files were exported fromhttps://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pino-http. ...
http-ndjson (标准最低信息):9522.37 req / sec pino-http :21496 req / sec pino-http (极端):25770.91 req / sec 没有记录器:46139.64 req / sec 所有基准测试均在Macbook Pro 2013(2.6GHZ i7,16GB RAM)上进行。 安装 npm i pino-http --save 例子 'use strict' var http = re点...
npm i pino-http --save Example 'use strict'consthttp=require('http')constserver=http.createServer(handle)constlogger=require('pino-http')()functionhandle(req,res){logger(req,res)req.log.info('something else')res.end('hello world')}server.listen(3000) ...
Sourced fromprocess-warning's releases. What's Changed New Contributors
$ npm i pino-http-send Usage $ pino-http-send --help pino-http-send [options] Sending --method, -m [string] [choices: "POST", "PUT", "PATCH", "GET"] [default: "POST"] --bodyType, -b type of body to send [string] [choices: "json", "ndjson"] [default: "json"] ...