title: How get btc address from public key in node js
body: <p><em>I apologize for my English!</em></p>
  <p>How decode hex public key from BTC signature script to string address in node js?</p>
  <p>For example I have the follow hex public key:</p>
  <p><code>03745AAAF364030720B2D14DE50A3310EEF521C91E36353DCA20813713535C005A</code></p>
  <p>after decoding I should get corresponding bitcoin address as</p>
  <p><code>1GNXpcYzasmmXvM4rNgkvZ5SzXgL4L9Ch6</code></p>
  <p>In <a href="https://bitcoin.stackexchange.com/questions/71867/decoding-scriptsig">https://bitcoin.stackexchange.com/questions/71867/decoding-scriptsig</a> was question about decoding ScriptSig of btc transactions and there was the follow fragment:</p>
  <pre><code>...
  21: OP_DATA_0x21:        compressed pub key (33 Bytes)
      03745AAAF3640307:20B2D14DE50A3310:EEF521C91E36353D:CA20813713535C00:5A
      This is MultiSig's compressed Public Key (X9.63 form)
      corresponding bitcoin address is:    1GNXpcYzasmmXvM4rNgkvZ5SzXgL4L9Ch6
  ...
  </code></pre>
  <p>In accordance with this question btc public key is encoded in ANSI X9.63 format.</p>
  <p><strong>Do nodejs have ways to decode ANSI X9.63 format?</strong></p>
  <p>Thank you very much!</p>