Express middleware to consistently log errors
A simple and fast logger based on Pino, with FT preferences baked in
A method to consistently log error object with optional request information
A suite of error classes which help you throw the most appropriate error in any situation
A utility function to serialize an error object in a way that's friendly to loggers, view engines, and converting to JSON
A utility to get application info in a consistent way.
Express middleware to render error information in a way that makes local debugging easier and production error rendering more consistent.
A utility function to serialize a request object in a way that's friendly to loggers, view engines, and converting to JSON
A method to bind an uncaught exception handler to ensure that fatal application errors are logged
An OpenTelemetry client that's preconfigured for drop-in use in FT apps.
A client for sending operational metrics to client metrics server from the web
A linting config, specifically focussed on enhancing code quality and proactively catching errors/bugs before they make it into production
Express middleware that returns 405 (rather than 404) for disallowed request methods
Properly handle fetch errors and avoid a lot of boilerplate in your app.
A library that used to send metrics to Graphite. Now it does nothing. See ["Unlucky 13"](#unlucky-13) below.
MyFT subnavigation middleware
Types and functions for an errors-as-first-class-values pattern
Utilities for building ESLint plugins.
With Tool Kit [already set up](https://github.com/financial-times/dotcom-tool-kit#installing-and-using-tool-kit), install this plugin as a dev dependency:
modern, maintainable, modular developer tooling for FT.com projects
This plugin manages Tool Kit commands that are run from CircleCI workflows, via a Tool Kit [`Hook`](#hooks) that automatically manages `.circleci/config.yml`. It also exposes state from the CircleCI environment for other plugins to consume generically.
Webpack hot reloading you can attach to your own server
A bootstrap plugin that provides the minimum required Tool Kit plugins for a containerised application that's deployed to Amazon Elastic Container Service (ECS).
Development-only error handler middleware