Give your node.js express apps some extra arms. Kraken is a secure and scalable layer that extends express by providing structure and convention. Though kraken is the main pillar of our framework, several modules can also be used independently. Kraken builds upon express and enables environment-aware, dynamic configuration, advanced middleware capabilities, security, and app lifecycle events. kraken-js is used just like any normal middleware, however it does more than just return a function; it configures a complete express 4 application. kraken loads configuration files, routes, and registers middleware so this directory is the path against all relative paths are resolved. The default value is the directory of the file that uses kraken, which is generally index.js (or server.js). Using environment suffixes, configuration files are applied and overridden according to the current environment as set by NODE_ENV.

Features

  • Kraken moves the routing logic into separate files in the controllers folder
  • Kraken also separates data models from the controller logic
  • Kraken uses LinkedIn’s Dust as the templating language of choice
  • Merge the contents of the specified file into configuration under a given key
  • Security is provided out-of-the-box by the Lusca module
  • All kraken-js configuration settings are optional

Project Samples

Project Activity

See All Activity >

Categories

Security, Build Tools

License

Apache License V2.0

Follow kraken.js

kraken.js Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of kraken.js!

Additional Project Details

Registered

2021-11-03