@aurorats/elementdeprecated

Aurora element, hold info about HTMLElements class, attributes and tag name.

Usage no npm install needed!

<script type="module">
  import auroratsElement from 'https://cdn.skypack.dev/@aurorats/element';
</script>

README

Aurora Element

Aurora element, hold info about HTMLElements class, attributes and tag name.

Install

npm i --save @aurorats/element
yarn add @aurorats/element

Exmaple

import { hasNativeAttr } from '@aurorats/element';

let div = document.createElement('div');
console.log(hasNativeAttr(div, 'for'));