jquery-btc

jQuery Bitcoin utilties.

Usage no npm install needed!

<script type="module">
  import jqueryBtc from 'https://cdn.skypack.dev/jquery-btc';
</script>

README

work-in-progress

jQuery-BTC

jQuery Bitcoin utilities.

Usage

  1. Include jQuery:

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
    
  2. Include plugin's code:

    <script src="dist/jquery.btc.min.js"></script>
    
  3. Add markup

<div class="btc" data-usd="10.00">$10.00</div>
  1. Call the plugin:

    $(".btc").btc();
    

That's all! jquery-btc will fetch the current rates from Coinbase (via Firebase) and append the conversion after your price.

License

MIT License © Alfred Gutierrez