@airb/utils

Utils for JavaScript

Usage no npm install needed!

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

README

utils

Utils for JavaScript

API

  • step( list: array, handler: (item, next) => any ) => any
  • deepEach( list: array, handler: (item, index) => array ) => void
  • replace( str: string, match: string|regexp, handler: aysnc (find, $1, ..., index, str) => replacement ) => string