1.4.0 • Published 7 years ago

is-html-tag v1.4.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

is-html-tag

Function to check whether tag is a proper html tag or not.

Setup

    npm install is-html-tag --save

How to use it

    const isHTMLTag = require('is-html-tag'), 
          myTag = "div";
    
    // your beautiful code

    if(isHTMLTag(myTag){
        // whatever you want to do with your html tag 
    } else {
        // whatever you want to do with your non html tag
    }

Built With

License

This project is licensed under the MIT License

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago