Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 762 Bytes

INSTALL.md

File metadata and controls

30 lines (21 loc) · 762 Bytes

Installing hyperagent.js

Bower

Make sure you have bower installed or install it via npm install -g bower.

bower install --save hyperagent

Old School

Integration

<script src="components/uri.js/src/URI.js"></script>
<script src="components/uri.js/src/URITemplate.js"></script>
<script src="components/q/q.js"></script>
<script src="components/hyperagent/dist/hyperagent.js"></script>

<script>
  var api = new Hyperagent.Resource('https://example.com/');
</script>