1
0
forked from Rowland/EG
EG/Cesium-1.132/node_modules/void-elements
2025-08-25 17:48:13 +08:00
..
test 补充Cesium文件 2025-08-25 17:48:13 +08:00
.gitattributes 补充Cesium文件 2025-08-25 17:48:13 +08:00
.npmignore 补充Cesium文件 2025-08-25 17:48:13 +08:00
.travis.yml 补充Cesium文件 2025-08-25 17:48:13 +08:00
index.js 补充Cesium文件 2025-08-25 17:48:13 +08:00
LICENSE 补充Cesium文件 2025-08-25 17:48:13 +08:00
package.json 补充Cesium文件 2025-08-25 17:48:13 +08:00
pre-publish.js 补充Cesium文件 2025-08-25 17:48:13 +08:00
README.md 补充Cesium文件 2025-08-25 17:48:13 +08: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