@f/self-closing-tags
v1.0.1
Published
List of HTML self-closing tags
Downloads
442
Readme
self-closing-tags
List of HTML self-closing tags
Installation
$ npm install @f/self-closing-tags
Usage
Just exports an array of self-closing HTML tags. And also exports an object map at the index
property.
var selfClosingTags = require('@f/self-closing-tags')
selfClosingTags.indexOf('br') !== -1
selfClosingTags.index.br === true
License
MIT