@danielfroz/sloth@0.1.18Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
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:
- Oak Example: API service implementation with Oak.
- Express Example: API service implementation with Express.
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.
Add Package
deno add jsr:@danielfroz/sloth
Import symbol
import * as sloth from "@danielfroz/sloth";
Import directly with a jsr specifier
import * as sloth from "jsr:@danielfroz/sloth";
Add Package
pnpm i jsr:@danielfroz/sloth
pnpm dlx jsr add @danielfroz/sloth
Import symbol
import * as sloth from "@danielfroz/sloth";
Add Package
yarn add jsr:@danielfroz/sloth
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";