html-comment-regex

WebJar for html-comment-regex

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/stevemao/html-comment-regex

Скачать html-comment-regex

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

NPM version Build Status

Regular expression for matching HTML comments

Install

$ npm install --save html-comment-regex

Usage

var htmlCommentRegex = require('html-comment-regex');

htmlCommentRegex.test('<!DOCTYPE html><!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><html lang="en"><head><meta charset="UTF-8"><title>Document</title></head><body></body></html>');
//=> true

htmlCommentRegex.test('<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Document</title></head><body></body></html>');
//=> false

License

MIT © Steve Mao

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

Версия
1.1.2
1.1.1