finds.dev← search

// the find

johnpapa/generator-hottowel

★ 837 · JavaScript · updated Aug 2017

Yo generator that creates an Angular app via HotTowel

A Yeoman generator that scaffolds an AngularJS 1.x app following John Papa's style guide, wiring up Gulp, Bower, Karma, and ui.router into a working skeleton. Last touched in 2017. If you're starting an Angular app today, you're not starting an AngularJS app.

The generated project structure is well thought out — feature modules with their own controllers, routes, and specs co-located is still good advice. The Gulp pipeline is thorough: vet (jshint + jscs + plato), karma tests, LESS compilation, template caching, and separate dev/build serve targets all wired up and working out of the box. The blocks pattern (logger, exception handler, router helper as reusable injectable modules) is genuinely cleaner than most AngularJS projects of the era. Tests are first-class — specs live next to their source files, and there's a midway test setup for hitting a real server.

AngularJS reached end-of-life in December 2021, so this generates code for a framework that no longer receives security patches. Bower is effectively dead and npm-deprecated; generated projects will have resolution warnings or failures on modern Node. The Gulp 3 gulpfile won't run on current Node without the --openssl-legacy-provider workaround. PhantomJS, used for test runs, was abandoned in 2018 and won't install cleanly on modern systems.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →