Core

screenshot of Core

Application wiring, configuration, and boilerplate utilities

Overview

Digital Alchemy offers a powerful suite of core utilities tailored for building backend applications using TypeScript. This framework is designed with dependency-light architecture, ensuring compatibility with modern ecosystems including Bun, Deno, and NodeJS. By embracing the latest ESModule syntax, Digital Alchemy facilitates the creation of type-safe applications, allowing developers to focus more on functionality without compromising code integrity. Whether you’re dealing with complex functional logic or integrating utilities into existing projects, this toolkit has you covered.

Designed for efficiency, Digital Alchemy minimizes overhead during boot times, making it ideal for a diverse range of applications such as web servers, serverless functions, and automation tools. Its versatility is enhanced by a set of robust features catering to various backend needs.

Features

  • Service Wiring: Automatically handles dependency injection while ensuring full type safety, streamlining the integration of services.
  • Configuration Management: Supports loading configurations from various sources like files, environment variables, and CLI arguments.
  • Structured Logging: Offers customizable logging outputs, which help in maintaining clarity and control over application logs.
  • Lifecycle Hooks: Allows developers to execute specific code during application startup and shutdown, enhancing control over the app’s behavior.
  • Task Scheduling: Features built-in support for cron jobs and timers, making it easy to manage recurring tasks.
  • Testing Utilities: Provides tools for mocking and testing services, facilitating a seamless development workflow.
eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.