Skip to main content
Version: 2.x.x

Installation

Eta tries to follow best practices, and provides a UMD build to support most JS loading options, like ES modules, CommonJS, and AMD.

Install Eta

npm install eta --save

Or if you prefer Yarn:

yarn add eta

Importing / Requiring

Eta is packaged as a UMD module, so you can require with CommonJS, import using ES Modules, or use AMD.

import * as Eta from "eta"
// or
var Eta = require("eta")