This commit is contained in:
25
node_modules/html-void-elements/index.json
generated
vendored
Normal file
25
node_modules/html-void-elements/index.json
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
[
|
||||
"area",
|
||||
"base",
|
||||
"basefont",
|
||||
"bgsound",
|
||||
"br",
|
||||
"col",
|
||||
"command",
|
||||
"embed",
|
||||
"frame",
|
||||
"hr",
|
||||
"image",
|
||||
"img",
|
||||
"input",
|
||||
"isindex",
|
||||
"keygen",
|
||||
"link",
|
||||
"menuitem",
|
||||
"meta",
|
||||
"nextid",
|
||||
"param",
|
||||
"source",
|
||||
"track",
|
||||
"wbr"
|
||||
]
|
||||
22
node_modules/html-void-elements/license
generated
vendored
Normal file
22
node_modules/html-void-elements/license
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2016 Titus Wormer <tituswormer@gmail.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
'Software'), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
75
node_modules/html-void-elements/package.json
generated
vendored
Normal file
75
node_modules/html-void-elements/package.json
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"name": "html-void-elements",
|
||||
"version": "1.0.5",
|
||||
"description": "List of known void HTML elements",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"html",
|
||||
"void",
|
||||
"tag",
|
||||
"name",
|
||||
"element",
|
||||
"tagname",
|
||||
"w3c",
|
||||
"whatwg"
|
||||
],
|
||||
"repository": "wooorm/html-void-elements",
|
||||
"bugs": "https://github.com/wooorm/html-void-elements/issues",
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
},
|
||||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
||||
"contributors": [
|
||||
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
||||
],
|
||||
"main": "index.json",
|
||||
"files": [
|
||||
"index.json"
|
||||
],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"bail": "^1.0.0",
|
||||
"browserify": "^16.0.0",
|
||||
"concat-stream": "^2.0.0",
|
||||
"hast-util-select": "^3.0.0",
|
||||
"hast-util-to-string": "^1.0.0",
|
||||
"prettier": "^1.0.0",
|
||||
"rehype-parse": "^6.0.0",
|
||||
"remark-cli": "^7.0.0",
|
||||
"remark-preset-wooorm": "^6.0.0",
|
||||
"tape": "^4.0.0",
|
||||
"tinyify": "^2.0.0",
|
||||
"unified": "^8.0.0",
|
||||
"xo": "^0.25.0"
|
||||
},
|
||||
"scripts": {
|
||||
"generate": "node build",
|
||||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
|
||||
"build-bundle": "browserify . -s htmlVoidElements > html-void-elements.js",
|
||||
"build-mangle": "browserify . -s htmlVoidElements -p tinyify > html-void-elements.min.js",
|
||||
"build": "npm run build-bundle && npm run build-mangle",
|
||||
"test-api": "node test",
|
||||
"test": "npm run format && npm run build && npm run test-api"
|
||||
},
|
||||
"prettier": {
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"singleQuote": true,
|
||||
"bracketSpacing": false,
|
||||
"semi": false,
|
||||
"trailingComma": "none"
|
||||
},
|
||||
"xo": {
|
||||
"prettier": true,
|
||||
"esnext": false,
|
||||
"ignores": [
|
||||
"html-void-elements.min.js"
|
||||
]
|
||||
},
|
||||
"remarkConfig": {
|
||||
"plugins": [
|
||||
"preset-wooorm"
|
||||
]
|
||||
}
|
||||
}
|
||||
87
node_modules/html-void-elements/readme.md
generated
vendored
Normal file
87
node_modules/html-void-elements/readme.md
generated
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
# html-void-elements
|
||||
|
||||
[![Build][build-badge]][build]
|
||||
[![Downloads][downloads-badge]][downloads]
|
||||
[![Size][size-badge]][size]
|
||||
|
||||
List of known void HTML elements.
|
||||
Includes ancient (such as `nextid` and `basefont`) and modern (such as `img` and
|
||||
`meta`) tag names from the HTML living standard.
|
||||
|
||||
**Note**: there’s one special case: `menuitem`.
|
||||
W3C specifies it to be void, but WHATWG doesn’t.
|
||||
I suggest using the void form.
|
||||
|
||||
## Install
|
||||
|
||||
[npm][]:
|
||||
|
||||
```sh
|
||||
npm install html-void-elements
|
||||
```
|
||||
|
||||
## Use
|
||||
|
||||
```js
|
||||
var htmlVoidElements = require('html-void-elements')
|
||||
|
||||
console.log(htmlVoidElements)
|
||||
```
|
||||
|
||||
Yields:
|
||||
|
||||
```js
|
||||
[ 'area',
|
||||
'base',
|
||||
'basefont',
|
||||
'bgsound',
|
||||
'br',
|
||||
'col',
|
||||
'command',
|
||||
'embed',
|
||||
'frame',
|
||||
'hr',
|
||||
'image',
|
||||
'img',
|
||||
'input',
|
||||
'isindex',
|
||||
'keygen',
|
||||
'link',
|
||||
'menuitem',
|
||||
'meta',
|
||||
'nextid',
|
||||
'param',
|
||||
'source',
|
||||
'track',
|
||||
'wbr' ]
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### `htmlVoidElements`
|
||||
|
||||
`Array.<string>` — List of lower-case tag names.
|
||||
|
||||
## License
|
||||
|
||||
[MIT][license] © [Titus Wormer][author]
|
||||
|
||||
<!-- Definition -->
|
||||
|
||||
[build-badge]: https://img.shields.io/travis/wooorm/html-void-elements.svg
|
||||
|
||||
[build]: https://travis-ci.org/wooorm/html-void-elements
|
||||
|
||||
[downloads-badge]: https://img.shields.io/npm/dm/html-void-elements.svg
|
||||
|
||||
[downloads]: https://www.npmjs.com/package/html-void-elements
|
||||
|
||||
[size-badge]: https://img.shields.io/bundlephobia/minzip/html-void-elements.svg
|
||||
|
||||
[size]: https://bundlephobia.com/result?p=html-void-elements
|
||||
|
||||
[npm]: https://docs.npmjs.com/cli/install
|
||||
|
||||
[license]: license
|
||||
|
||||
[author]: https://wooorm.com
|
||||
Reference in New Issue
Block a user