DEV Community

Cover image for Generating code template in an easy way.
Deni Junior
Deni Junior

Posted on

Generating code template in an easy way.

In the projects I've worked on, duplicate code files or start coding from a basic structure are common practices and sometimes just some lines of codes are changed from one template to another.

One good example, is when you are working with components, and you need to create a folder with the name of your new component, a unit test file, a Storybook file, a README file and also the file for your component itself.

Therefore, I developed a package to simplify the generation of code template, allowing you to customize it according to your project needs.

To get started, just run npm install -g simple-template-gen on your CLI and read the following docs clicking here.

If you want to contribute with the project or want to suggest new features to simplify even more the life of who is generating a new code, feel free to support it on GitHub.

Oldest comments (0)