Skip to content

Installation

Cédric Belin edited this page Nov 3, 2024 · 5 revisions

Requirements

Before installing Eta for Koa, you need to make sure you have Node.js and npm, the Node.js package manager, up and running.

You can verify if you're already good to go with the following command:

node --version
# v23.1.0

Installing with npm package manager

1. Install it

From a command prompt, run:

npm install @cedx/koa-eta

2. Import it

Now in your JavaScript code, you can use:

import {eta} from "@cedx/koa-eta";
Clone this wiki locally