YSPKA #4: Plop JS

github logo ・1 min read

You should probably know about... (17 Part Series)

1) YSPKA #1: Pulumi 2) You should probably know about... 3 ... 15 3) YSPKA #2: gRPC 4) YSPKA #3: Dapr 5) YSPKA #4: Plop JS 6) YPSKA #5 Next.js 7) YPSKA #7 Static site generators 8) YPSKA #8 Headless CMS 9) YPSKA #9 Svelte 10) YPSKA #10 Runtypes 11) YPSKA #11 GROQ 12) YPSKA #12 Immer 13) YPSKA #13 Rollup 14) YPSKA #14 Pupeteer 15) YPSKA #15 Curl 16) YPSKA #15 Taking a break 17) YPSKA #16 lit-html

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.

twitter logo DISCUSS
Classic DEV Post from May 26 '18

Automatic Reporting in Python - Part 1: From Planning to Hello World

I'd like to document and step through the execution of a simple concept in Pyth...

Håkan Fahlstedt profile image
Senior fullstack developer that loves technology and sharing knowledge.