Harmono

Quick Start

Learn how to install and set up the Harmono SDK.

This guide will walk you through the process of installing the Harmono SDK for your projects.

SDK Installation

You can install the Harmono SDK using your preferred package manager.

INFO

We currently only support Node.js

npm install harmono

After installing the SDK, you'll need to generate an access-token to authenticate your account. Go to your account settings, and look under Access token to grab a token :). Make sure to keep the token safe.

Implmentation

Harmono acts as a simple middleware that just sits at th top of your APIs routes and intercept each request made to your APIs.

Express

import express from "express";
import { HarmonoExpress } from "harmono"; //ESM
// OR
const { HarmonoExpress } = require("harmono"); //CommonJS
 
const app = express();
const monitor = HarmonoExpress({
  key: "<your-api-key>",
  host: "<your-host>",
  env: "production",
});
 
app.use(monitor);

After installing the SDK, You can view our detailed guide on how to customize the SDK

On this page