New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@layers/amba-node

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@layers/amba-node

amba SDK for Node.js server apps — full 25-namespace surface for backend integration with amba.

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

@layers/amba-node

Amba is the agent-native backend-as-a-service for mobile and web apps. This package is the Node.js SDK — the server-side companion to @layers/amba-web, with the same 25-namespace surface and idiomatic Node ergonomics.

Install

npm install @layers/amba-node@1.0.1

Configure + first call

import { AmbaClient } from "@layers/amba-node";

const amba = await AmbaClient.configure({
  apiKey: process.env.AMBA_API_KEY!,
});

await amba.events.track("webhook_received", { source: "stripe" });

Express middleware

import express from "express";
import { AmbaClient } from "@layers/amba-node";

const amba = await AmbaClient.configure({ apiKey: process.env.AMBA_API_KEY! });
const app = express();
app.use(amba.middleware());

app.post("/webhook", (req, res) => {
  req.amba.events.track("webhook_received");
  res.sendStatus(204);
});

Docs

Full reference: https://docs.amba.dev/sdk/node.

License

MIT

FAQs

Package last updated on 17 May 2026

Related posts