@f/self-closing-tags

List of HTML self-closing tags

Stats

StarsIssuesVersionUpdatedCreatedSize
@f/self-closing-tags
001.0.15 years ago5 years agoMinified + gzip package size for @f/self-closing-tags in KB

Readme

self-closing-tags

Build status Git tag NPM version Code style

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.