package.json
3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"_args": [
[
{
"raw": "html-comment-regex@^1.1.0",
"scope": null,
"escapedName": "html-comment-regex",
"name": "html-comment-regex",
"rawSpec": "^1.1.0",
"spec": ">=1.1.0 <2.0.0",
"type": "range"
},
"D:\\100-Projects\\100-AIAHTML5\\400-SOURCECODE\\AIAHTML5.Admin\\node_modules\\is-svg"
]
],
"_from": "html-comment-regex@>=1.1.0 <2.0.0",
"_id": "html-comment-regex@1.1.1",
"_inCache": true,
"_location": "/html-comment-regex",
"_nodeVersion": "4.4.4",
"_npmOperationalInternal": {
"host": "packages-16-east.internal.npmjs.com",
"tmp": "tmp/html-comment-regex-1.1.1.tgz_1468323643310_0.8147242439445108"
},
"_npmUser": {
"name": "stevemao",
"email": "maochenyan@gmail.com"
},
"_npmVersion": "2.15.1",
"_phantomChildren": {},
"_requested": {
"raw": "html-comment-regex@^1.1.0",
"scope": null,
"escapedName": "html-comment-regex",
"name": "html-comment-regex",
"rawSpec": "^1.1.0",
"spec": ">=1.1.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/is-svg"
],
"_resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz",
"_shasum": "668b93776eaae55ebde8f3ad464b307a4963625e",
"_shrinkwrap": null,
"_spec": "html-comment-regex@^1.1.0",
"_where": "D:\\100-Projects\\100-AIAHTML5\\400-SOURCECODE\\AIAHTML5.Admin\\node_modules\\is-svg",
"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": "*"
},
"directories": {},
"dist": {
"shasum": "668b93776eaae55ebde8f3ad464b307a4963625e",
"tarball": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz"
},
"files": [
"index.js"
],
"gitHead": "8829fa5dcecdabb8680cdd8cf36fe73b297fffdf",
"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",
"maintainers": [
{
"name": "stevemao",
"email": "steve.mao@healthinteract.com.au"
}
],
"name": "html-comment-regex",
"optionalDependencies": {},
"readme": "# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]\n\n> Regular expression for matching HTML comments\n\n\n## Install\n\n```sh\n$ npm install --save html-comment-regex\n```\n\n\n## Usage\n\n```js\nvar htmlCommentRegex = require('html-comment-regex');\n\nhtmlCommentRegex.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>');\n//=> true\n\nhtmlCommentRegex.test('<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"><title>Document</title></head><body></body></html>');\n//=> false\n```\n\n\n## License\n\nMIT © [Steve Mao](https://github.com/stevemao)\n\n\n[npm-image]: https://badge.fury.io/js/html-comment-regex.svg\n[npm-url]: https://npmjs.org/package/html-comment-regex\n[travis-image]: https://travis-ci.org/stevemao/html-comment-regex.svg?branch=master\n[travis-url]: https://travis-ci.org/stevemao/html-comment-regex\n",
"readmeFilename": "README.md",
"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"
}