javascriptnode.jsexpresskraken.jsexpress-generator

What's the difference between Express Generator and KrakenJS?


I'm new to Node development and have started using express recently. I begin my projects using express generator which lays out the file structures and organizes routes, views, etc for me. I went to KrakenJS' website recently and saw that it does the same thing, saying it organizes routes and stuff into separate folders. So I was wondering what the difference or advantage of using one or the other? From my understanding, they do the same thing. Please inform me if I'm wrong.


Solution

  • To further expand on @theoutlander's answer, KrakenJS acts more like a configuration layer on top of express.

    It bundles together several modules that have been created (and open sourced) by PayPal to enhance the functionality of a plain vanilla express server.

    Kraken was initially built to satisfy enterprise concerns, so it may be overkill for small projects, but it does offer some very nice convenience features out-of-the-box:

    A couple of examples: (Note: If you see a feature you're interested in, but don't want the whole bunch, it can be cherry picked and added to a plain express app; as they're all separate modules)

    These are just a few of the ones I find most useful, but there's a ton more that Kraken provides to make your life easier as an express dev.