tx-size

Very simple function to calculate the size of a Bitcoin or DigiByte transaction

Usage no npm install needed!

<script type="module">
  import txSize from 'https://cdn.skypack.dev/tx-size';
</script>

README