Você não pode selecionar mais de 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 3 anos atrás
..
test First Commit 3 anos atrás
.gitattributes First Commit 3 anos atrás
.npmignore First Commit 3 anos atrás
.travis.yml First Commit 3 anos atrás
LICENSE First Commit 3 anos atrás
README.md First Commit 3 anos atrás
index.js First Commit 3 anos atrás
package.json First Commit 3 anos atrás
pre-publish.js First Commit 3 anos atrás

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