has-cors

WebJar for has-cors

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

has-cors
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

has-cors
WebJar for has-cors
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/component/has-cors

Download has-cors

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/has-cors/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>has-cors</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/has-cors/
implementation 'org.webjars.npm:has-cors:1.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/has-cors/
implementation ("org.webjars.npm:has-cors:1.1.0")
'org.webjars.npm:has-cors:jar:1.1.0'
<dependency org="org.webjars.npm" name="has-cors" rev="1.1.0">
  <artifact name="has-cors" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='has-cors', version='1.1.0')
)
libraryDependencies += "org.webjars.npm" % "has-cors" % "1.1.0"
[org.webjars.npm/has-cors "1.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

org.webjars.npm

Components

modular components for component

Versions

Version
1.1.0