@mapbox/parse-mapbox-token
Version: 
Parse a Mapbox API token, in Node or the browser
16 lines • 398 B
HTML
<body>
  <div id="log" style="font-family: monospace"></div>
  <script>
    (function() {
      var log = document.getElementById('log');
      console.log = function(message) {
        var entry = document.createElement('div');
        entry.innerText = message;
        log.appendChild(entry);
      }
    }());
  </script>
  <script src="test-bundle.js"></script>
</body>
</html>