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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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