Node.js has become my go to for making small dynamic websites and micro-services. It’s also a good platform to practice DRY. A few months ago I posted about pug social media mixins but this time I’m sharing another GIST containing forms mixins. What I’ve done is make it simple and much faster to create a form using the pug template engine. GIST for pug form field mixins
I hope this will help others speed up their workflow and also shows the power of mixins.