isurl

WebJar for isurl

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

isurl
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

isurl
WebJar for isurl
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/stevenvachon/isurl

Скачать isurl

Имя Файла Размер
isurl-1.0.0.pom
isurl-1.0.0.jar 4 KB
isurl-1.0.0-sources.jar 22 bytes
isurl-1.0.0-javadoc.jar 22 bytes
Обзор

Как подключить последнюю версию

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : has-to-string-tag-x jar [1.2.0,2)
org.webjars.npm : is-object jar [1.0.1,2)

Модули Проекта

Данный проект не имеет модулей.

isurl NPM Version File Size Build Status Dependency Monitor

Determines whether a value is a WHATWG URL.

Works cross-realm/iframe and despite Symbol.toStringTag.

Installation

Node.js >= 8 is required. To install, type this at the command line:

npm install isurl

Usage

const isURL = require('isurl');

isURL('http://domain/');  //-> false
isURL(new URL('http://domain/'));  //-> true

Optionally, acceptance can be extended to incomplete URL implementations that lack origin, searchParams and toJSON properties (which are common in many modern web browsers):

const url = new URL('http://domain/?query');

console.log(url.searchParams);  //-> undefined

isURL.lenient(url);  //-> true

Версии библиотеки

Версия
1.0.0