Skip to content

rill-js/response-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rill
@rill/response-time
API stability Standard NPM version Downloads Gitter Chat

Automatically set an `X-Response-Time` header for all requests in Rill.

Installation

npm install @rill/response-time

Example

const rill = require('rill')
const app = rill()
const responseTime = require('@rill/response-time')

// Best to use before all other middleware.
app.use(responseTime())

Contributions

  • Use npm test to run tests.

Please feel free to create a PR!

About

⏱ Add X-Response-Time header to Rill responses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published