## Build Files
| | UMD | CommonJS | ES Module |
|---:|:---:|:---:|:---:|
| **File** | template.umd.js | template.cjs.js | template.esm.js |
### Terms and import
#### UMD
[UMD](https://github.com/umdjs/umd) builds can be used directly in the browser via a `
```
* **index.js**
```javascript
const { html, render } = Template;
// ...
```
#### CommonJS
[CommonJS](http://wiki.commonjs.org/wiki/Modules/1.1) builds are intended for use with older bundlers like [browserify](http://browserify.org/) or [webpack 1](https://webpack.github.io). The default file for these bundlers (`pkg.main`) is the CommonJS build (`template.cjs.js`).
* **index.html**
```html
```
* **index.js**
```javascript
const { html, render } = require("elementumjs/template");
// ...
```
#### ES Module
[ES Module](http://exploringjs.com/es6/ch_modules.html) builds are intended for use with modern bundlers like [webpack 2](https://webpack.js.org) or [rollup](http://rollupjs.org/). The default file for these bundlers (`pkg.module`) is the ES Module build (`template.esm.js`).
* **index.html**
```html
```
* **index.js**
```javascript
import { html, render } from "@elementumjs/template";
// ...
```
### Download locally
Install via `npm`:
```sh
npm install @elementumjs/template
```