make-el

Fast way to create html element with dom

Usage no npm install needed!

<script type="module">
  import makeEl from 'https://cdn.skypack.dev/make-el';
</script>

README

make-element

Fast way to create html element with dom

const makeEl = require('make-el');

let h1 = makeEl('h1', {
  id: 'hello',
  innerText: 'hello make-el',
  appendTo: document.body,
});