Boltzmann: A JS HTTP Framework

The scaffolding tool

3 minute read

The Boltzmann CLI creates and updates a node project for you, with a boltzmann.js file created from a template to your specification, a package.json naming the required dependencies and some useful run scripts, and a linter configuration.

Environment variables

2 minute read

Boltzmann's built-in features are configurable using environment variables.

Middleware

1 minute read

This document covers the built-in middleware Boltzmann makes available. Some middleware is automatically installed by Boltzmann when scaffolded with certain feature flags.

The context object

1 minute read

Every route handler receives exactly one parameter: a context object. You should extend the context object with whatever data you find useful to preserve through the lifetime of a single request.