Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
rpm-mcarman b9f7ec4306 First Commit há 3 anos
..
test First Commit há 3 anos
.gitattributes First Commit há 3 anos
.npmignore First Commit há 3 anos
.travis.yml First Commit há 3 anos
LICENSE First Commit há 3 anos
README.md First Commit há 3 anos
index.js First Commit há 3 anos
package.json First Commit há 3 anos
pre-publish.js First Commit há 3 anos

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