{"_id":"dom-nodes","_rev":"6-4cc31981e0d17f8ca5750f587dcb9d32","name":"dom-nodes","dist-tags":{"latest":"1.1.3"},"versions":{"0.0.0":{"name":"dom-nodes","version":"0.0.0","description":"List of all the available DOM and SVG nodes and helper functions to quickly test against them","main":"dom-nodes.js","jsnext:main":"index.next.js","module":"index.next.js","scripts":{"prepare":"npm run build && npm test","lint":"eslint index.next.js test.js rollup.config.js","build":"rollup -c","doc":"documentation readme index.next.js -s API","test":"npm run build && npm run lint && mocha test.js"},"files":["index.next.js"],"repository":{"type":"git","url":"git+https://github.com/riot/dom-nodes.git"},"keywords":["html","svg","void","dom","riot"],"author":{"name":"Gianluca Guarini","email":"gianluca.guarini@gmail.com","url":"http://gianlucaguarini.com"},"license":"MIT","bugs":{"url":"https://github.com/riot/dom-nodes/issues"},"homepage":"https://github.com/riot/dom-nodes#readme","devDependencies":{"eslint-config-riot":"^1.0.0","eslint":"^4.13.1","mocha":"^4.0.1","rollup":"^0.52.1"},"gitHead":"3f1a151a5753bed1f7b85a7968fc06fcbb097f8a","_id":"dom-nodes@0.0.0","_npmVersion":"5.6.0","_nodeVersion":"7.4.0","_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"dist":{"integrity":"sha512-67qTD5VnbM4PpywCI33jPDqaszvln9Nr11uNRT4j/U4NVMYmbSBXDvV85mZdkKZNqdT6zqj1cs7zZIuTfwqreA==","shasum":"c6a22fc1f02561955ebd4f81d2d52c11369e3817","tarball":"https://registry.npmjs.org/dom-nodes/-/dom-nodes-0.0.0.tgz","fileCount":5,"unpackedSize":18964,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyS51ptCfyAtx2K9O+PxwyfounE+YMK+w8/+fNE7nNTAiEArdwkYDmB/b37EBvpPRPyABqB83jeE4v/dt0CymhbtKc="}]},"maintainers":[{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-nodes_0.0.0_1518378052228_0.036374923280289684"},"_hasShrinkwrap":false},"1.0.0":{"name":"dom-nodes","version":"1.0.0","description":"List of all the available DOM and SVG nodes and helper functions to quickly test against them","main":"dom-nodes.js","jsnext:main":"index.next.js","module":"index.next.js","scripts":{"prepare":"npm run build && npm test","lint":"eslint index.next.js test.js rollup.config.js","build":"rollup -c","doc":"documentation readme index.next.js -s API","test":"npm run build && npm run lint && mocha test.js"},"files":["index.next.js"],"repository":{"type":"git","url":"git+https://github.com/riot/dom-nodes.git"},"keywords":["html","svg","void","dom","riot"],"author":{"name":"Gianluca Guarini","email":"gianluca.guarini@gmail.com","url":"http://gianlucaguarini.com"},"license":"MIT","bugs":{"url":"https://github.com/riot/dom-nodes/issues"},"homepage":"https://github.com/riot/dom-nodes#readme","devDependencies":{"eslint-config-riot":"^1.0.0","eslint":"^4.13.1","mocha":"^4.0.1","rollup":"^0.52.1"},"gitHead":"b0345f68adf33ca5b7c79ae3ad8b3fe5344b3ccc","_id":"dom-nodes@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"7.4.0","_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"dist":{"integrity":"sha512-sF+PTT3CpGyLMLhmZQxDk2VsNFKCqDcQiMw7E4VKjQNMCQmUH7fqXozPX8H+7ydlZ9xsiCRFv7SfLbkoMdhsfw==","shasum":"a03a52e8b650fb4b839ecd5765eb26ed26d91ecf","tarball":"https://registry.npmjs.org/dom-nodes/-/dom-nodes-1.0.0.tgz","fileCount":5,"unpackedSize":21426,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDswNNrJ/gd+j4BU1twUrDfwINuzePSeQwUG6986ehMyAIgKhE8oRrPJGwhBZVDpYaMCbJq4PDG6KYZiF8XKj3lipc="}]},"maintainers":[{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-nodes_1.0.0_1518379489643_0.04114224114136067"},"_hasShrinkwrap":false},"1.1.0":{"name":"dom-nodes","version":"1.1.0","description":"List of all the available DOM and SVG nodes and helper functions to quickly test against them","main":"dom-nodes.js","jsnext:main":"index.next.js","module":"index.next.js","scripts":{"prepare":"npm run build && npm test","lint":"eslint index.next.js test.js rollup.config.js","build":"rollup -c","doc":"npx documentation readme index.next.js -s API","test":"npm run build && npm run lint && mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/riot/dom-nodes.git"},"keywords":["html","svg","void","dom","riot"],"author":{"name":"Gianluca Guarini","email":"gianluca.guarini@gmail.com","url":"http://gianlucaguarini.com"},"license":"MIT","bugs":{"url":"https://github.com/riot/dom-nodes/issues"},"homepage":"https://github.com/riot/dom-nodes#readme","devDependencies":{"eslint-config-riot":"^3.0.0","eslint":"^6.1.0","mocha":"^6.2.0","rollup":"^1.18.0"},"gitHead":"5b041ef8bb7d38368363dad21a358289f714549e","_id":"dom-nodes@1.1.0","_nodeVersion":"12.4.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-/3ukBc/I5HtyWtm2Lf8i7taxcHAzSbcEQ//SdHQURYseyOTpaiyPPNB3Z9fEeCOHx0q853WuZpN+X/tuwFoNtQ==","shasum":"de8a1efb961bcea4ca646a2f50392f00e8f4aa53","tarball":"https://registry.npmjs.org/dom-nodes/-/dom-nodes-1.1.0.tgz","fileCount":5,"unpackedSize":27740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRJYjCRA9TVsSAnZWagAA06cQAIs0GEOi9nbMyvPw9C8/\niuJmCbFRVFpj01xZ4enNR41YIDBGKgmspSTBnV7PII7n1DG19FCK/cuPZ9tQ\nodo1V6wppLTMOxmXg8JcQZ7wmMPsyTmzYJICO7X0VHVpzcvAEcQs7KXvwbMM\nfwcOl/0+o2vCt5uFFhcGcqKbNYoqkJ/wCQ/q3JiHAm4DPN9RmQdlF6VHMQSx\nRO70wH1z86NMAx0bfxGuQMxXR0QsGJUg3exCt9iIrem/b+z5urzhKg6ANXup\nYAQMue6L0jz8j0UzvjUM4n+Oe0CvdM874uGehL8qvXNeecuHc33DDJR0II3a\nm9Da1XHbs+gVQz9Xl5ABioxVA6tDTpesJSAWQyLv50jbVeRMMZdAdbSE0Kcd\ndNwsm/uqlBY52o9ON+Wy1QvVbIktfY9Mm/AzsrjRYqvm5gfO5APbin3RqbnX\noVaTmNdr4ZgClvEAIjKvQv2sr/tw0u9+CVBzaUXoiDpk27MBMGgAJQMeReWa\nb6y5e1fQyWf4gYj4dDgyMytS43TGv0LVw+YbNMUhY5Eb56LrCdEaxlx343qK\ngcGgDELOuwaw7/hJT+cg1ugTmD9o11gwLDsikfHMPhwDHtvrIrxE7vs/emXy\nJTjsV2vYqAbo45WMGbNqzYJu7pADkJknb3XxBBe5PVdHw02BX0HzpnA2Yb9k\nZwd7\r\n=XMvs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWlnkXwj0lLsREXDT5YIhz3UQ6nT/W475Tb8ZCTRF9nAiEA4q77EZa2BX8gYslWRadZf66R+lPHRu85v2Kb+WuxrJ0="}]},"maintainers":[{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"}],"_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-nodes_1.1.0_1564775970243_0.38182863977212245"},"_hasShrinkwrap":false},"1.1.1":{"name":"dom-nodes","version":"1.1.1","description":"List of all the available DOM and SVG nodes and helper functions to quickly test against them","main":"dom-nodes.js","jsnext:main":"index.next.js","module":"index.next.js","scripts":{"prepare":"npm run build && npm test","lint":"eslint index.next.js test.js rollup.config.js","build":"rollup -c","doc":"npx documentation readme index.next.js -s API","test":"npm run build && npm run lint && mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/riot/dom-nodes.git"},"keywords":["html","svg","void","dom","riot"],"author":{"name":"Gianluca Guarini","email":"gianluca.guarini@gmail.com","url":"http://gianlucaguarini.com"},"license":"MIT","bugs":{"url":"https://github.com/riot/dom-nodes/issues"},"homepage":"https://github.com/riot/dom-nodes#readme","devDependencies":{"eslint-config-riot":"^3.0.0","eslint":"^6.1.0","mocha":"^6.2.0","rollup":"^1.18.0"},"gitHead":"2921a06d5ed736a199460370965dd92b9b3d8554","_id":"dom-nodes@1.1.1","_nodeVersion":"12.4.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-aZu7mT9cnnzL11S0sMwfc0quT5Vol2EoE6LZbZon2QS2bzUmB/zs3BSDeKslMXWihls8eGAUbYOStET//f5DDA==","shasum":"c44ccd5aaad17e06e809df28802ac0fee56fe64f","tarball":"https://registry.npmjs.org/dom-nodes/-/dom-nodes-1.1.1.tgz","fileCount":5,"unpackedSize":27740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRJcoCRA9TVsSAnZWagAAqB4P/0Agice0aSxslA9cIwCG\nj0i2as+vB1W3hI9I90QZwgEnxWFF3LkcizdBd7IDreCThwmuC7qEZSDc4XgQ\nCb8VPqAtBBXzBNjAPg+dm3dsMdAwMsQb5ENYW/H3aRcSGVG+jk25SqzJI646\nb37F3Ko5rI0CzTlBNYNbgFaH05FVG4r0qoc382vzezE3pFBfSPf7gQjHj1mn\nzaPCk7BXX712z1+yUMXdXu3kE5JAwJG6n2t7ToIV/OaxIFbwJ7chjrQPa77x\n2nHR1RCE4rV5DvLYbsCi1Cjivha4Y34ncz9Iv1tyuwpBdeq5ce7R9xgjavTp\ns5t4CwHmQnnvyVY5joM2zncMRBDwh/G63SYsU3bzR6B/+j/aMsoURKf3/DP0\ngyfRmO0PcAy498nQOecWScFrXKp6H4AsJIgOt8WfHtqIRW7jCJJ9+btPlZBn\nZXtibT4IuCnYCNua3+1xbHnKfPgwH0GG1BxzJivZJ9JZRFlIkpUTBwqsFE+C\n/jJXfulZOLdrLhOfEJxr3WklS8KYAbrjcoh6B77Rbm4mpdCHoJXoMCP7QHSy\nQBayK7/z8TqPy7eSSE3Azk1y2AgrK9QK2BAXB3BHkroTG//fmFZlQ08+cdoe\n6llWJpWI3vxxG19Em8oj7N1VYoEUkFC6fBK3ZLACZYmwA2VybYuyVauI6VzF\nG/T5\r\n=febo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAo8kL3GcfnB7NcngQXR9GuxJryjwZieFaWZjkOT1NVhAiBTDe8DQVmd2PTNKwQ54ke+9M2g6UDkHkruOMnGzKDAKg=="}]},"maintainers":[{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"}],"_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-nodes_1.1.1_1564776232082_0.575101819062817"},"_hasShrinkwrap":false},"1.1.3":{"name":"dom-nodes","version":"1.1.3","description":"List of all the available DOM and SVG nodes and helper functions to quickly test against them","main":"dom-nodes.js","jsnext:main":"index.next.js","module":"index.next.js","scripts":{"prepare":"npm run build && npm test","lint":"eslint index.next.js test.js rollup.config.js","build":"rollup -c","doc":"npx documentation readme index.next.js -s API","test":"npm run build && npm run lint && mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/riot/dom-nodes.git"},"keywords":["html","svg","void","dom","riot"],"author":{"name":"Gianluca Guarini","email":"gianluca.guarini@gmail.com","url":"http://gianlucaguarini.com"},"license":"MIT","bugs":{"url":"https://github.com/riot/dom-nodes/issues"},"homepage":"https://github.com/riot/dom-nodes#readme","devDependencies":{"eslint-config-riot":"^3.0.0","eslint":"^6.1.0","mocha":"^6.2.0","rollup":"^1.18.0"},"gitHead":"66ce1f3e661b978f3c95ca5ff7afdedc7bfd8387","_id":"dom-nodes@1.1.3","_nodeVersion":"12.4.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-y5wnIx97oe0IqMllL/lizgkK2c9vu1cQeqPCCsS7mwNdPuYxg3b04eDJynHhC63kM8+ZsteOmiPElfVGOUmmKg==","shasum":"608d569eafacadef857f09505123efd10a566030","tarball":"https://registry.npmjs.org/dom-nodes/-/dom-nodes-1.1.3.tgz","fileCount":5,"unpackedSize":27766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRWFnCRA9TVsSAnZWagAA2kYP/i6ZARNVmktDl0gIjK5A\nF9KODDkDo7oVdUfvHDGos8KZYhxYbpEl0xe8FLO2xTBldIClbTMOrGimNDdK\nMFNTZOjDOMl3SEmgpKPwAKrn81H2ldTPLELU7mAtHwQzxwDOggH7fGX6QhJI\nMTaxRs9lWBJc2gRkTt4TXrE9ZxOqp+aOsEbXYU4iTbm3djeCXUGDqwbzVD7r\nEYjAwOyKRVFy+ylzKFH4x2ocYX6fv19eqh0lXwQkXIgitzfOA188nGE0/VGh\nKNNAN6QveleqhzdFq3lcDaddoiiI7jfzED4Fe+RVCyp7gm+9sxZKf7MnSKGm\nD71cp6SSo1DT4rKzGpcbI19JazaBp8ODBddtLfpNjSk1zJhZ3+34VSeOd5sy\nqIrFiyXDi0Xz4zGKDD0rMGdbvHieY5yhZEEH6mHEyBwPQyniBoSZN5z4QL2d\nSlcnnsxxISlgr+Ci83yyQ/ilXncq3wLJ34Ic/9Cs/35dirBoxDxEqWZfjbeN\nrgF6Pm2ackdfjfiHUWQDQbtp+DL3D5q3BEpr6u+AypgfGoB22EzzzM+aefLZ\n2butfL3VjzLl4WuM2tuplUWjo2QsazFUYy8fO+ayQo2Op1qfREtLK1LljdlG\nvGK6LGvpXm3HW+/O5NTFYQm8bsVpp8sS2eL+QWTjE21LQq9ReDc4HV1bbCyK\nBt93\r\n=vg8M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBi5RNq5+yA97UCgr+8oP2E7l9wukgBKWpqsUSXpdybAAiBBEVpi6VG0tgMSyaRWM2AuPpHwUCRsk1WO/VTqPMDgEw=="}]},"maintainers":[{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"}],"_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-nodes_1.1.3_1564828006328_0.9977348133957424"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-11T19:40:52.227Z","0.0.0":"2018-02-11T19:40:52.946Z","modified":"2022-04-29T02:22:16.372Z","1.0.0":"2018-02-11T20:04:50.343Z","1.1.0":"2019-08-02T19:59:30.390Z","1.1.1":"2019-08-02T20:03:52.188Z","1.1.3":"2019-08-03T10:26:46.452Z"},"maintainers":[{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"}],"description":"List of all the available DOM and SVG nodes and helper functions to quickly test against them","homepage":"https://github.com/riot/dom-nodes#readme","keywords":["html","svg","void","dom","riot"],"repository":{"type":"git","url":"git+https://github.com/riot/dom-nodes.git"},"author":{"name":"Gianluca Guarini","email":"gianluca.guarini@gmail.com","url":"http://gianlucaguarini.com"},"bugs":{"url":"https://github.com/riot/dom-nodes/issues"},"license":"MIT","readme":"# dom-nodes\n\n[![Build Status][travis-image]][travis-url]\n\n[![NPM version][npm-version-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-url]\n[![MIT License][license-image]][license-url]\n\n## Installation\n\n```bash\n$ npm i dom-nodes -S\n```\n\n## Usage\n\n```js\nimport {isVoid} from 'dom-nodes'\nisVoid('div') // false\nisVoid('img') // true\n```\n\n`dom-nodes` exports all the methods [listed below](#API) giving you some simple tests to understand which kind of node you are dealing with.\n\nThis project includes [html-tags](https://github.com/sindresorhus/html-tags) and [svg-tag-names](https://github.com/wooorm/svg-tag-names) directly in its source code avoiding to rely on third party npm modules for such simple list of strings.\nThis project couldn't have been made without the projects above!\n\n[travis-image]: https://img.shields.io/travis/riot/dom-nodes.svg?style=flat-square\n\n[travis-url]: https://travis-ci.org/riot/dom-nodes\n\n[license-image]: http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square\n\n[license-url]: LICENSE\n\n[npm-version-image]: http://img.shields.io/npm/v/dom-nodes.svg?style=flat-square\n\n[npm-downloads-image]: http://img.shields.io/npm/dm/dom-nodes.svg?style=flat-square\n\n[npm-url]: https://npmjs.org/package/dom-nodes\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n-   [VOID_SVG_TAGS_LIST](#void_svg_tags_list)\n-   [HTML_ELEMENTS_HAVING_VALUE_ATTRIBUTE_LIST](#html_elements_having_value_attribute_list)\n-   [SVG_TAGS_LIST](#svg_tags_list)\n-   [VOID_HTML_TAGS_LIST](#void_html_tags_list)\n-   [HTML_TAGS_LIST](#html_tags_list)\n-   [BOOLEAN_ATTRIBUTES_LIST](#boolean_attributes_list)\n-   [HTML_TAGS_RE](#html_tags_re)\n-   [SVG_TAGS_RE](#svg_tags_re)\n-   [VOID_HTML_TAGS_RE](#void_html_tags_re)\n-   [VOID_SVG_TAGS_RE](#void_svg_tags_re)\n-   [HTML_ELEMENTS_HAVING_VALUE_ATTRIBUTE_RE](#html_elements_having_value_attribute_re)\n-   [BOOLEAN_ATTRIBUTES_RE](#boolean_attributes_re)\n-   [isVoid](#isvoid)\n    -   [Parameters](#parameters)\n    -   [Examples](#examples)\n-   [isHtml](#ishtml)\n    -   [Parameters](#parameters-1)\n    -   [Examples](#examples-1)\n-   [isSvg](#issvg)\n    -   [Parameters](#parameters-2)\n    -   [Examples](#examples-2)\n-   [isCustom](#iscustom)\n    -   [Parameters](#parameters-3)\n    -   [Examples](#examples-3)\n-   [hasValueAttribute](#hasvalueattribute)\n    -   [Parameters](#parameters-4)\n    -   [Examples](#examples-4)\n-   [isBoolAttribute](#isboolattribute)\n    -   [Parameters](#parameters-5)\n    -   [Examples](#examples-5)\n\n### VOID_SVG_TAGS_LIST\n\nSVG void elements that cannot be auto-closed and shouldn't contain child nodes.\n\nType: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\n\n### HTML_ELEMENTS_HAVING_VALUE_ATTRIBUTE_LIST\n\nList of html elements where the value attribute is allowed\n\nType: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\n\n### SVG_TAGS_LIST\n\n-   **See: <https://github.com/wooorm/svg-tag-names>**\n\nList of all the available svg tags\n\nType: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\n\n### VOID_HTML_TAGS_LIST\n\n-   **See: <http://www.w3.org/TR/html-markup/syntax.html#syntax-elements>**\n-   **See: <http://www.w3.org/TR/html5/syntax.html#void-elements>**\n\nHTML void elements that cannot be auto-closed and shouldn't contain child nodes.\n\nType: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\n\n### HTML_TAGS_LIST\n\n-   **See: <https://github.com/sindresorhus/html-tags>**\n\nList of all the html tags\n\nType: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\n\n### BOOLEAN_ATTRIBUTES_LIST\n\n-   **See: <https://www.w3.org/TR/html5/infrastructure.html#sec-boolean-attributes>**\n\nList of all boolean HTML attributes\n\nType: [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)\n\n### HTML_TAGS_RE\n\nRegex matching all the html tags ignoring the cases\n\nType: [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)\n\n### SVG_TAGS_RE\n\nRegex matching all the svg tags ignoring the cases\n\nType: [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)\n\n### VOID_HTML_TAGS_RE\n\nRegex matching all the void html tags ignoring the cases\n\nType: [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)\n\n### VOID_SVG_TAGS_RE\n\nRegex matching all the void svg tags ignoring the cases\n\nType: [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)\n\n### HTML_ELEMENTS_HAVING_VALUE_ATTRIBUTE_RE\n\nRegex matching all the html tags where the value tag is allowed\n\nType: [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)\n\n### BOOLEAN_ATTRIBUTES_RE\n\nRegex matching all the boolean attributes\n\nType: [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)\n\n### isVoid\n\nTrue if it's a self closing tag\n\n#### Parameters\n\n-   `tag` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** test tag\n\n#### Examples\n\n```javascript\nisVoid('meta') // true\nisVoid('circle') // true\nisVoid('IMG') // true\nisVoid('div') // false\nisVoid('mask') // false\n```\n\nReturns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if void\n\n### isHtml\n\nTrue if it's a known HTML tag\n\n#### Parameters\n\n-   `tag` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** test tag\n\n#### Examples\n\n```javascript\nisHtml('img') // true\nisHtml('IMG') // true\nisHtml('Img') // true\nisHtml('path') // false\n```\n\nReturns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if html tag\n\n### isSvg\n\nTrue if it's a known SVG tag\n\n#### Parameters\n\n-   `tag` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** test tag\n\n#### Examples\n\n```javascript\nisSvg('g') // true\nisSvg('radialGradient') // true\nisSvg('radialgradient') // true\nisSvg('div') // false\n```\n\nReturns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if svg tag\n\n### isCustom\n\nTrue if it's not SVG nor a HTML known tag\n\n#### Parameters\n\n-   `tag` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** test tag\n\n#### Examples\n\n```javascript\nisCustom('my-component') // true\nisCustom('div') // false\n```\n\nReturns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if custom element\n\n### hasValueAttribute\n\nTrue if the value attribute is allowed on this tag\n\n#### Parameters\n\n-   `tag` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** test tag\n\n#### Examples\n\n```javascript\nhasValueAttribute('input') // true\nhasValueAttribute('div') // false\n```\n\nReturns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if the value attribute is allowed\n\n### isBoolAttribute\n\nTrue if it's a boolean attribute\n\n#### Parameters\n\n-   `attribute` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** test attribute\n\n#### Examples\n\n```javascript\nisBoolAttribute('selected') // true\nisBoolAttribute('class') // false\n```\n\nReturns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if the attribute is a boolean type\n","readmeFilename":"README.md"}