Nightmarish Pawnshop Mystic
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

is-server-response

1.0.0 • Public • Published

is-server-response

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

Check if value is a server response (res).

Installation

$ npm install is-server-response

Usage

const isRes = require('is-server-response')
const http = require('http')
 
http.createServer((req, res) => {
  isRes(res)
  // => true
})

See Also

License

MIT

install

npm i is-server-response

Downloadsweekly downloads

79

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability