@f/self-closing-tags

1.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @f/self-closing-tags

    Weekly Downloads

    18

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • f