possibly-async

Helps implementing functions that are synchronous or asynchronous depending of their parameters.

Usage no npm install needed!

<script type="module">
  import possiblyAsync from 'https://cdn.skypack.dev/possibly-async';
</script>

README

possibly-async

Helps implementing functions that are synchronous or asynchronous depending of their parameters.

Installation

npm install possibly-async

License

MIT