projecte_ionic/node_modules/void-elements
2022-02-09 18:30:03 +01:00
..
test Conexio amb la api 2022-02-09 18:30:03 +01:00
.gitattributes Conexio amb la api 2022-02-09 18:30:03 +01:00
.npmignore Conexio amb la api 2022-02-09 18:30:03 +01:00
.travis.yml Conexio amb la api 2022-02-09 18:30:03 +01:00
index.js Conexio amb la api 2022-02-09 18:30:03 +01:00
LICENSE Conexio amb la api 2022-02-09 18:30:03 +01:00
package.json Conexio amb la api 2022-02-09 18:30:03 +01:00
pre-publish.js Conexio amb la api 2022-02-09 18:30:03 +01:00
README.md Conexio amb la api 2022-02-09 18:30:03 +01: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