From NPM:
NPM
npm install abi.js@latest
From JSR:
JSR
npx jsr add @abi-js/abi
yarn add abi.js
yarn dlx jsr add @abi-js/abi
pnpm add abi.js
pnpm dlx jsr add @abi-js/abi
bun install abi.js
bunx jsr add @abi-js/abi
deno install npm:abi.js
deno add @abi-js/abi
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;
import { Abi } from "@abi-js/abi"; const abi = new Abi(); abi.get('', 'Welcome to Abi.js!');abi.get(':name', (name: string) => `Hello ${name}!`); export default abi;