npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sentzunhat/zacatl

v0.0.55

Published

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

Readme

Zacatl Framework

npm version npm downloads License: Apache 2.0 TypeScript Node.js 24+ Build Tests: 461 Coverage: 75.93%

Universal TypeScript framework for building APIs, CLI tools, and distributed systems.

Zacatl enforces layered (hexagonal) architecture with built-in dependency injection, type-safe validation, and structured error handling — designed for both human developers and AI agents to collaborate effectively.

✨ What You Get

| Capability | Detail | | --------------------------- | -------------------------------------------------------------- | | 🏗️ Layered Architecture | Strict Application → Domain → Infrastructure → Platform layers | | 💉 Dependency Injection | Built-in DI container via tsyringe | | ✅ Type-Safe Validation | Zod schema support; Yup and optional validation planned | | 🛡️ Structured Errors | 7 custom error types with correlation IDs | | 🗄️ Pluggable ORM Adapters | Sequelize, Mongoose, built-in SQLite (Node 24+), or custom | | 🌐 Internationalization | Pluggable i18n with filesystem/memory adapters | | 📝 Production Observability | Structured logging and error tracking | | 🧪 Tested | Vitest — test count and coverage shown in badges above |

🏗️ Architecture

┌─────────────────────────────────────────┐
│        Application Layer                │  HTTP handlers, validation, routes
├─────────────────────────────────────────┤
│        Domain Layer                     │  Business logic, services, models
├─────────────────────────────────────────┤
│        Infrastructure Layer             │  Repositories, database adapters
├─────────────────────────────────────────┤
│        Platform Layer                   │  DI container, service startup
└─────────────────────────────────────────┘

Dependencies flow strictly inward. The public API surface is stable; internal modules may change between minor versions.

🎯 Platform Support

| Platform | Status | | ------------- | ------------------- | | Server (HTTP) | Stable | | CLI | Planned (stub only) | | Desktop | Planned (stub only) |

For non-HTTP scripts and workers today, use the standalone DI helpers from @sentzunhat/zacatl/dependency-injection directly.

🚀 Quick Start

npm install @sentzunhat/zacatl

Core server dependencies are installed with Zacatl. ORM/database adapters use optional peer dependencies (mongoose, sequelize, better-sqlite3, sqlite3, pg) that you install based on what your service uses.

import Fastify from 'fastify';
import { Service, ServiceType, ServerType, ServerVendor } from '@sentzunhat/zacatl';

const fastify = Fastify();

const service = new Service({
  type: ServiceType.SERVER,
  layers: {
    application: { entryPoints: { rest: { hooks: [], routes: [] } } },
    domain: { services: [] },
    infrastructure: { repositories: [] },
  },
  platforms: {
    server: {
      name: 'hello-service',
      server: { type: ServerType.SERVER, vendor: ServerVendor.FASTIFY, instance: fastify },
    },
  },
});

await service.start({ port: 3000 });

See examples/ for production-ready starters (Express, Fastify × SQLite, Postgres, MongoDB × React, Svelte).

📦 Public API Modules

| Module | Import path | | ---------------------- | ----------------------------------------- | | Service | @sentzunhat/zacatl | | Configuration | @sentzunhat/zacatl/configuration | | Dependency Injection | @sentzunhat/zacatl/dependency-injection | | Errors | @sentzunhat/zacatl | | Logs | @sentzunhat/zacatl | | Localization | @sentzunhat/zacatl | | Third-party re-exports | @sentzunhat/zacatl/third-party/* |

📖 Documentation

Full docs live in docs/. New contributors start with START_HERE.md.

| Topic | Link | | --------------------- | -------------------------------------------------------------------------------- | | Architecture Overview | docs/guidelines/framework-overview.md | | Service Module | docs/service/README.md | | Dependency Injection | docs/dependency-injection/README.md | | Configuration | docs/configuration/README.md | | Errors | docs/error/README.md | | Logs | docs/logs/README.md | | Localization | docs/localization/README.md | | Third-Party + ORM | docs/third-party/README.md | | ESLint | docs/eslint/README.md | | Utils | docs/utils/README.md | | Release Notes | docs/changelog.md |

🧪 Testing

npm test                 # Run all tests
npm run test:coverage    # Coverage report

📋 Requirements

  • Node.js: 24.14.0+ (LTS)
  • npm: 11.0.0+ (bundled with Node 24)
  • TypeScript: 5.9+

🤝 Contributing

  1. Open an issue describing the change.
  2. Branch off it: git checkout -b issue-<number>/type/description
  3. Add tests, update docs, commit with Conventional Commits.

See CONTRIBUTING.md for the full guide.

📄 License

Apache License 2.0 © 2025 Zacatl Contributors

Zacatl is permissively licensed. Please don't use it to harm people.