I always had a special place in my heart for code generation. There’s a lot of good tools out there, but one tool that I really like is plop. The difference between plop and many other tools is that you can generate multiple files at the same time, and it is interactive.
It uses Handlebars for the templating and Inquirer for the interactive prompt.
I’ve used it a lot when creating JavaScript components in Angular and React
Go ahead and be lazy and generate repetitive code tasks instead of writing them by hand.
Top comments (0)