deepsea ca9f471156 first commit 1 gadu atpakaļ
..
.npmignore ca9f471156 first commit 1 gadu atpakaļ
History.md ca9f471156 first commit 1 gadu atpakaļ
Makefile ca9f471156 first commit 1 gadu atpakaļ
Readme.md ca9f471156 first commit 1 gadu atpakaļ
component.json ca9f471156 first commit 1 gadu atpakaļ
index.js ca9f471156 first commit 1 gadu atpakaļ
package.json ca9f471156 first commit 1 gadu atpakaļ
test.js ca9f471156 first commit 1 gadu atpakaļ

Readme.md

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