Icard/angular-clarity-master(work.../node_modules/void-elements
realSnehal 336a6a07d0 frnt 2024-07-16 20:53:22 +05:30
..
test frnt 2024-07-16 20:53:22 +05:30
.gitattributes frnt 2024-07-16 20:53:22 +05:30
.npmignore frnt 2024-07-16 20:53:22 +05:30
.travis.yml frnt 2024-07-16 20:53:22 +05:30
LICENSE frnt 2024-07-16 20:53:22 +05:30
README.md frnt 2024-07-16 20:53:22 +05:30
index.js frnt 2024-07-16 20:53:22 +05:30
package.json frnt 2024-07-16 20:53:22 +05:30
pre-publish.js frnt 2024-07-16 20:53:22 +05:30

README.md

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