[data-reveal]{opacity:1!important;transform:none!important}

Antelope Framework One model, across the ecosystem

Write your business logic once. Change providers in one line.

Database, auth, payments, email: plug them in as modules. When the client switches from Stripe to Mollie, you edit antelope.config.ts, not every file that charges a card. Open-source TypeScript framework for Node.js.

npm install -g @antelopejs/core

Need an admin panel for your database? Start with DMS →

  • DMS & Cloud run on it
  • 16 interfaces
  • Apache 2.0
  • Node.js 20.19+

No lock-in, by design

Your code depends on a contract. Never on a vendor.

Your modules send an email, charge a card or query a table through a typed interface. A provider implements it, and your app picks which one. Changing it never ripples into your business code. Architects will recognise ports and adapters; everyone else just gets fewer rewrites.

illustrative · @example packages

Providers · click to swap

export default defineConfig({
  modules: {
    database: {
      source: { type: "package",
        package: "@example/database-mongodb" },
    },
    payment: {
      source: { type: "package",
        package: "@example/payment-stripe" },
    },
    email: {
      source: { type: "package",
        package: "@example/email-brevo" },
    },
    storage: {
      source: { type: "package",
        package: "@example/file-storage-local" },
    },
  },
});
modules/checkout/place-order.ts unchanged
import { insert } from
  "@example/interface-database";
import { upload } from
  "@example/interface-file-storage";
import { charge } from
  "@example/interface-payment";
import { sendEmail } from
  "@example/interface-email";

export async function place(order: Order) {
  await insert("orders", order);
  await charge({
    amount: order.total,
    reference: order.id,
  });
  await upload("invoices", order.invoice);
  await sendEmail({
    to: order.email,
    subject: "Order confirmed",
  });
}
antelopejs core reads antelope.config.ts loads @example/database-mongodb binds it to interface-database insert(order) reaches MongoDB

The framework, in code

From interface to API. Typed end to end.

Follow one CRM module from its interface to its table, its HTTP routes and its auth, then run it inside the server you already have. Every snippet uses the real AntelopeJS interfaces and decorators.

interface · provider · your module ts
// interface-email/index.ts: the port
import { InterfaceFunction } from "@antelopejs/interface-core";

export const sendEmail =
  InterfaceFunction<(to: string, subject: string) => Promise<void>>();

// modules/email-smtp/index.ts: one provider among many
import { ImplementInterface } from "@antelopejs/interface-core";
import * as smtp from "./smtp";

export async function construct() {
  await ImplementInterface(await import("@example/interface-email"), smtp);
}

// modules/crm/welcome.ts: the business code
import { sendEmail } from "@example/interface-email";

await sendEmail(contact.email, "Welcome aboard");
The core idea: an interface, a provider, and business code that only knows the interface. (@example/interface-email is illustrative.)

Plug in the rest

The boring parts. Already written.

Database, API, auth, payments, cache. Each one is an interface package with providers you install in one command. Spend your week on your product, not on plumbing.

Authentication

JWT auth behind a standard interface. Add it with one command, protect a route with one decorator.

auth-jwt

Database providers

Write queries once against the database-agnostic Database interface, then run them on MongoDB or RethinkDB.

mongodb rethinkdb

Typed API

Typed HTTP controllers with decorators. Share the types between your modules for free.

interface-api

Your own modules

Keep a critical provider in-house. Mix local folders, npm packages and Git sources in the same app.

local package git

Less plumbing, more implementation

One CLI. Create, compose, test, ship.

ajs scaffolds your app, wires its modules, reloads them as you code, runs their tests and builds for production. The machinery is handled; you write what makes your product different.

acme-shop · ajs
And more ajs project modules update ajs project modules remove ajs project logging set ajs config set ajs plugins ajs update Every command in the cheat sheet

Run it anywhere

Your app. Your infrastructure.

An AntelopeJS app is a Node.js project. Run it on your own servers, or push it to AntelopeJS Cloud, which reads your antelope.config.ts to provision what it needs.

Deploy option A

Self-host

Your infra, your rules

Deploy option B

AntelopeJS Cloud

Managed hosting

Your AntelopeJS app

Modules, interfaces, providers

Framework · open source

Your next module

Ship this week.
Switch providers next year.

Install the CLI, build your first module and plug in the providers you need.

Need a back office on top? DMS runs on AntelopeJS and connects to your database in minutes. Try DMS →

Framework & DMS · Apache 2.0 · Node.js · TypeScript · Cloud