Koa middleware to set X-Response-Time
header.
const Koa = require('koa');
const responseTime = require('@diegoh/api-middleware-response-time');
const app = new Koa();
app.use(responseTime());
- Create a new branch from
master
with a name relevant to the changes you're making.git branch -b my-new-feature-description
- Push the branch and open a Pull Request (PR).
- Request a code review.
npm run test:unit
npm run test:coverage
npm run lint
or npm run lint:fix
to automatically fix any linting issues.