0.0.5 • Published 1 year ago

epic-dto-generator v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Epic DTO Generator

A custom package to generate DTOs for CommonJS and TypeScript.

Installation

You can install Epic DTO Generator globally using the following command:

npm install -g epic-dto-generator

Alternatively, you can install it as a dev dependency using the following command:

npm install --save-dev epic-dto-generator

Usage

To use Epic DTO Generator, simply run the following command:

npx epic-dto-generator

The CLI will then ask you a series of questions about the DTO you wish to generate, including the name of the DTO, whether you are using CommonJS or TypeScript, and whether the DTO is for input or output. Once you have provided this information, the CLI will prompt you for information about the properties of the DTO, including the name, type, and whether the property is required or not.

Once you have provided all of the necessary information, Epic DTO Generator will generate a DTO file for you in the appropriate format.

License

This package is licensed under the MIT License. See the LICENSE file for more information.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Credits

Epic DTO Generator was created by Pablo Dominguez.