
Conversion service for NestJs Framework
Metamorphosis-NestJS is a powerful utility library designed for NodeJS that simplifies the conversion of objects within the popular NestJS framework. This library provides developers with a seamless approach to transform data between different formats, such as converting entities to Data Transfer Objects (DTOs) and vice versa. Inspired by Antoine Lavoisier's famous quote, "Nothing is lost, nothing is created, everything is transformed," Metamorphosis-NestJS embodies this philosophy, ensuring that data transformations are efficient and straightforward.
With its robust conversion service and a well-structured API, Metamorphosis-NestJS stands out as an essential tool for developers looking to enhance their applications with streamlined data handling capabilities. Whether you're dealing with simple data conversions or complex asynchronous transformations, this library is equipped to handle a range of challenges.
Easy Installation: Quickly get started by installing the library with npm install --save @fabio.formosa/metamorphosis-nest.
Conversion Service: The central hub for all conversions, allowing you to inject and use a single service for transforming various data types.
Async Conversions: Support for asynchronous operations, letting you handle cases where data must be retrieved from a database before conversion.
Array Conversion: Simplifies the conversion of arrays, enabling efficient transformations for collection-based data.
Typegoose Support: Built-in compatibility with Typegoose, ensuring smooth integration when converting Mongoose documents into DTOs.
TypeORM Support: Offers functionality to handle conversions related to TypeORM entities, making it versatile for various database integrations.
Debug Mode: Activate debug mode to gain insights into the conversion process, with options for custom logging functions.
TypeScript Compatibility: Requires TypeScript 3.2 or higher, ensuring modern code practices and robust type checking.

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.
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.