@genesislcap/foundation-utils
TypeScript icon, indicating that this package has built-in type declarations

14.181.1 • Public • Published

Genesis Foundation Utils

The @genesislcap/foundation-utils package provides a collection of utility services and helpers designed to facilitate common development tasks within Genesis applications. It aims to enhance productivity by offering reusable solutions for patterns and problems encountered across different projects.

API Documentation

For more detailed information on API and configurations, please refer to the API documentation in the docs/api directory.

Features

The library encompasses a broad range of features, including:

  • Data - Manages in-memory databases and data storage solutions.
  • Decorators - Provides decorators for enhancing class functionalities, such as rendering on change.
  • Design System - Holds the design system configurations and utilities.
  • Directives - Offers Angular-like directives for DOM manipulations, including conditional rendering and synchronization functionalities.
  • ENV - Contains utilities for environment variable management and detection of development environments.
  • Error - Deals with error mapping and handling strategies.
  • Formatters - Includes functions for formatting dates and numbers according to locale settings.
  • Logger - A simple logging utility for debugging and information tracking.
  • Mappers - Focuses on data transformation, especially for DTOs (Data Transfer Objects).
  • Mixins - Provides mixins for common functionalities like lifecycle hooks and state management.
  • Observer - Implements the Observer pattern for reactive programming.
  • Resource - Defines types and interfaces for resource management.
  • Serializers - Contains serializers, particularly for JSON data handling.
  • State - Manages reactive state and provides utilities for state observation.
  • Styles - Includes utilities for styling, dealing with colors, typography, and DOM styles.
  • UUID - Utilities for generating and managing UUIDs.
  • Window - Provides abstractions and utilities for window object manipulations.

Installation

To include @genesislcap/foundation-utils in your project, add it as a dependency in your package.json file and follow your project's routine for dependency installation.

{
  "dependencies": {
    "@genesislcap/foundation-utils": "latest"
  }
}

License

Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact Genesis Global for more details.

Licensed components

Genesis low-code platform

Readme

Keywords

none

Package Sidebar

Install

npm i @genesislcap/foundation-utils

Weekly Downloads

5,384

Version

14.181.1

License

SEE LICENSE IN license.txt

Unpacked Size

950 kB

Total Files

345

Last publish

Collaborators

  • genesisnpm