is-html

WebJar for is-html

Лицензия

Лицензия

MIT
Группа

Группа

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

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

is-html
Последняя версия

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

1.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

is-html
WebJar for is-html
Ссылка на сайт

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

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

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

https://github.com/sindresorhus/is-html

Скачать is-html

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : html-tags jar [1.0.0,2)

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

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

is-html Build Status

Check if a string is HTML

You should not use this for any kind of validation, sanitation, or XSS checks.

Install

$ npm install is-html

Usage

const isHtml = require('is-html');

isHtml('<p>I am HTML</p>');
//=> true

isHtml('<!doctype><html><body><h1>I ❤ unicorns</h1></body></html>');
//=> true

isHtml('<cake>I am XML</cake>');
//=> false

isHtml('>+++++++>++++++++++>+++>+<<<<-');
//=> false

Note: It does not detect deprecated HTML tags.

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

Версия
1.1.0