@gewd/utils

Collection of utility functions for any javascript project

Usage no npm install needed!

<script type="module">
  import gewdUtils from 'https://cdn.skypack.dev/@gewd/utils';
</script>

README

@gewd/utils

Collection of utility functions for any javascript project

NPM Version Package Size

@gewd/utils

Functions

sleep(ms) used for simple sleep Promises in an async context downloadFile(filename, dataUrl) downloadData(filename, mimetype, dataString) btoa is used for the dataString downloadImage(filename, canvasElement)

  • TODO fill all other package content / functions