1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Oinktube/node_modules/void-elements
2024-03-07 11:31:51 -03:00
..
test Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
.gitattributes Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
.npmignore Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
.travis.yml Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
index.js Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
LICENSE Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
package.json Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
pre-publish.js Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00
README.md Update npm and add the jquery mask 2024-03-07 11:31:51 -03:00

void-elements

Array of "void elements" defined by the HTML specification

Exports an Array of "void element" node names as defined by the HTML spec.

The list is programatically generated from the latest W3C HTML draft.

Build Status Developing Dependency Status NPM version

Usage

var voidElements = require('void-elements');

assert(voidElements.indexOf('span') === -1, '<span> is not a void element');
assert(voidElements.indexOf('img') !== -1, '<img> is a void element');

License

MIT