first commit
This commit is contained in:
34
build/node_modules/html-comment-regex/README.md
generated
vendored
Normal file
34
build/node_modules/html-comment-regex/README.md
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
|
||||
|
||||
> Regular expression for matching HTML comments
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
$ npm install --save html-comment-regex
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
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](https://github.com/stevemao)
|
||||
|
||||
|
||||
[npm-image]: https://badge.fury.io/js/html-comment-regex.svg
|
||||
[npm-url]: https://npmjs.org/package/html-comment-regex
|
||||
[travis-image]: https://travis-ci.org/stevemao/html-comment-regex.svg?branch=master
|
||||
[travis-url]: https://travis-ci.org/stevemao/html-comment-regex
|
||||
2
build/node_modules/html-comment-regex/index.js
generated
vendored
Normal file
2
build/node_modules/html-comment-regex/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
'use strict';
|
||||
module.exports = /<!--([\s\S]*?)-->/g;
|
||||
77
build/node_modules/html-comment-regex/package.json
generated
vendored
Normal file
77
build/node_modules/html-comment-regex/package.json
generated
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"html-comment-regex@1.1.1",
|
||||
"/Users/asciidisco/Desktop/asciidisco.com/build"
|
||||
]
|
||||
],
|
||||
"_from": "html-comment-regex@1.1.1",
|
||||
"_id": "html-comment-regex@1.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-ZouTd26q5V696POtRkswekljYl4=",
|
||||
"_location": "/html-comment-regex",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "html-comment-regex@1.1.1",
|
||||
"name": "html-comment-regex",
|
||||
"escapedName": "html-comment-regex",
|
||||
"rawSpec": "1.1.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/is-svg"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz",
|
||||
"_spec": "1.1.1",
|
||||
"_where": "/Users/asciidisco/Desktop/asciidisco.com/build",
|
||||
"author": {
|
||||
"name": "Steve Mao",
|
||||
"email": "maochenyan@gmail.com",
|
||||
"url": "https://github.com/stevemao"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/stevemao/html-comment-regex/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "Regular expression for matching HTML comments",
|
||||
"devDependencies": {
|
||||
"jscs": "^1.11.3",
|
||||
"jshint": "^2.6.3",
|
||||
"mocha": "*"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/stevemao/html-comment-regex",
|
||||
"keywords": [
|
||||
"html-comment-regex",
|
||||
"text",
|
||||
"string",
|
||||
"regex",
|
||||
"regexp",
|
||||
"re",
|
||||
"match",
|
||||
"test",
|
||||
"find",
|
||||
"pattern",
|
||||
"comment",
|
||||
"comments",
|
||||
"html",
|
||||
"HTML",
|
||||
"HyperText Markup Language"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "html-comment-regex",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/stevemao/html-comment-regex.git"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "jshint *.js --exclude node_modules && jscs *.js",
|
||||
"test": "npm run-script lint && mocha"
|
||||
},
|
||||
"version": "1.1.1"
|
||||
}
|
||||
Reference in New Issue
Block a user