@financial-times/kmt-utilities

2.2.6 • Public • Published

kmt-utilities

Common middleware and server side helpers for KAT microservices.

KAT (Knowledge & administration tools) is an ft.com application created for Financial Times B2B clients.

Usage

npm install --save @financial-times/kmt-utilities

Example using the initCookieSession middleware. See index.js for exposed functions.

const { initCookieSession } = require('@financial-times/kmt-utilities');

app.use(initCookieSession);

An API key for the services in this package is required. Details on obtaining one for your application can be found in the membership api gateway guide.

Development

git clone git@github.com:Financial-Times/kmt-utilities.git
cd kmt-utilities
make install

Environment Variables

make .env

Tests

make test

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/kmt-utilities

Weekly Downloads

0

Version

2.2.6

License

MIT

Unpacked Size

301 kB

Total Files

69

Last publish

Collaborators

  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson