1.0.0 • Published 9 years ago
is-incoming-message v1.0.0
is-incoming-message
Check if value is an incoming message (req
).
Installation
$ npm install is-incoming-message
Usage
const isReq = require('is-incoming-message')
const http = require('http')
http.createServer((req, res) => {
isReq(req)
// => true
})
See Also
License
1.0.0
9 years ago