is-incoming-message
Check if value is an incoming message (`req`)
Last updated 11 years ago by yoshuawuyts .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install is-incoming-message 
SYNC missed versions from official npm registry.

is-incoming-message

NPM version build status Test coverage Downloads js-standard-style

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

MIT

Current Tags

  • 1.0.0                                ...           latest (11 years ago)

1 Versions

  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |