Download Hyperform
Zip File
Download the whole project as Zip file:
In this archive you will find the files dist/hyperform.min.js
and
css/hyperform.css
. Include them in your project, and you’re ready to
go:
<script src="hyperform/dist/hyperform.min.js"></script>
<link rel="stylesheet" href="hyperform/css/hyperform.css">
<script>hyperform(window)</script>
Install via Package Managers
Hyperform is available from a package manager near you:
# npm
$ npm install hyperform
# yarn
$ yarn add hyperform
# bower
$ bower install hyperform
These installations provide you with the same files as the direct download above.
If you use a build system like Browserify or Webpack, require Hyperform in your own Javascript files:
// "classic" CJS variant:
var hyperform = require('hyperform');
// or "newer" ESM variant:
import hyperform from 'hyperform';
hyperform(window);
Embed From A CDN
Get up and running quickly with Hyperform by embedding it from a CDN: CDNJS
<script src="https://cdnjs.cloudflare.com/ajax/libs/hyperform/0.12.1/hyperform.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/hyperform/0.12.1/hyperform.min.css">
or unpkg.com:
<script src="https://unpkg.com/hyperform"></script>
<link rel="stylesheet" href="https://unpkg.com/hyperform@latest/css/hyperform.css">
No local installation necessary.
Polyfills
For IE 9 and IE 10 you need two polyfills:
- a
WeakMap
implementation. We suggest this one (download) - a
classList
polyfill like this one (download)
CloudFlare offers this as conveniant URL that only returns the necessary polyfills based on the browser UA string:
<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0&features=Element.prototype.classList%2CWeakMap"></script>