drivetribe-dom-utilsdeprecated

Collection of utils to handle dom

Usage no npm install needed!

<script type="module">
  import drivetribeDomUtils from 'https://cdn.skypack.dev/drivetribe-dom-utils';
</script>

README

drivetribe-date-formatters

Collection of utils to handle dom

Install

Install the module directly from npm:

npm install drivetribe-dom-utils --save

Utils

Initialize script asynchronously

Insert script into dom if it didn't exist before.

asyncInitScript({ id, src, code }: { id: string, src: string, code: string })