npm.io
1.0.1 • Published 10 years ago

@f/self-closing-tags

Licence
MIT
Version
1.0.1
Deps
0
Vulns
0
Weekly
0

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