Installing hyperagent-forms

Bower

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

bower install --save hyperagent-forms

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 src="components/hyperagent-forms/dist/hyperagent-forms.js"></script>

<script>
  Hyperagent.configure('loadHooks', [HyperagentForms.loadHook]);
  var api = new Hyperagent.Resource('https://example.com/');
</script>