Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score58%
Downloads3/wk
Published2 weeks ago (0.1.18)

CQRS Opinionated API Framework

Sloth: CQRS Opinionated API Framework

Introduction

Sloth is an opinionated framework designed to simplify the development of API services. Built on top of popular JavaScript and Deno web frameworks, it provides a structured and scalable approach to API design.

Inspired by years of hands-on experience building APIs across various programming languages, Sloth empowers developers to focus on functionality while adhering to the CQRS (Command Query Responsibility Segregation) pattern.

Getting Started

Ready to dive in? Explore the example implementations to see Sloth in action:

Each example showcases the recommended project structure and key concepts for working with Sloth.

Contributing

We welcome contributions! If you'd like to help improve Sloth, feel free to submit a pull request or open an issue. Before contributing, please review our Contributing Guidelines.

Disclaimer

⚠️ Warning: This project is still under active development. Interfaces and object contracts are subject to change. A stable 1.0 release will be published once the project is validated and stabilized.

Built and signed on
GitHub Actions

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@danielfroz/sloth

Import symbol

import * as sloth from "@danielfroz/sloth";
or

Import directly with a jsr specifier

import * as sloth from "jsr:@danielfroz/sloth";

Add Package

pnpm i jsr:@danielfroz/sloth
or (using pnpm 10.8 or older)
pnpm dlx jsr add @danielfroz/sloth

Import symbol

import * as sloth from "@danielfroz/sloth";

Add Package

yarn add jsr:@danielfroz/sloth
or (using Yarn 4.8 or older)
yarn dlx jsr add @danielfroz/sloth

Import symbol

import * as sloth from "@danielfroz/sloth";

Add Package

vlt install jsr:@danielfroz/sloth

Import symbol

import * as sloth from "@danielfroz/sloth";

Add Package

npx jsr add @danielfroz/sloth

Import symbol

import * as sloth from "@danielfroz/sloth";

Add Package

bunx jsr add @danielfroz/sloth

Import symbol

import * as sloth from "@danielfroz/sloth";