Skip to content

Utilities

Utilities are pure, standalone functions that provide common, reusable logic for various tasks within the Ignis framework. They are designed to be simple, stateless, and easy to use.

  • Crypto: Simple, stateless cryptographic functions.
  • Date: Provides date and time manipulation functions, built on dayjs.
  • Module: A utility for checking if a Node.js module is installed.
  • Parse: A collection of functions for parsing and converting data types.
  • Performance: Utilities for measuring code execution time.
  • Promise: Helper functions for working with Promises.
  • Request: Utilities for handling HTTP requests, such as parsing multipart form data and creating secure Content-Disposition headers.
  • Schema: Helpers for creating and validating Zod schemas, especially for request and response validation in an OpenAPI context.