has-cors
Detects support for Cross-Origin Resource Sharing
Last updated 10 years ago by shtylman .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install has-cors 
SYNC missed versions from official npm registry.

has-cors

Detects support for Cross-Origin Resource Sharing

Installation

Install with component(1):

$ component install component/has-cors

API

Exports true if the user-agent supports CORS, or false otherwise.

var hasCORS = require('has-cors');
console.log(hasCORS);
// true

License

MIT

Current Tags

  • 1.1.0                                ...           latest (10 years ago)

2 Versions

  • 1.1.0                                ...           10 years ago
  • 1.0.3                                ...           11 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)

Copyright 2013 - present © cnpmjs.org | Home |