Skip to content

Getting Started πŸŽ‰

Are you eager to start a TypeScript-based web project? Abi is the perfect solution to serve your resources, web services or applications in no time and without any hassle!

πŸ“‹ Requirements

Currently, Abi only works under:

Bun, Deno, Cloudflare Workers

⚑️ Installation

You can install Abi from NPM or JSR:

From NPM:

Terminal window
npm install abi.js@latest

From JSR:

Terminal window
npx jsr add @abi-js/abi

πŸ§‘β€πŸ’» Usage

Use Abi with your server runtime:

import { Abi } from "abi.js";
const abi = new Abi();
abi.get('', 'Welcome to Abi.js!');
abi.get(':name', (name: string) => `Hello ${name}!`);
export default abi;