@mrporter/mrp-healthcheck
Advanced tools
Comparing version 0.1.17 to 0.1.18
{ | ||
"name": "@mrporter/mrp-healthcheck", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"description": "health check your applicaiton(mrporter)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ # Health Check [![Circle CI](https://circleci.com/gh/NET-A-PORTER/mrphealthcheck.svg?style=svg&circle-token=dc79a9df5965b1449180d40288b4297d7c41a57c)](https://circleci.com/gh/NET-A-PORTER/mrphealthcheck) | ||
``` javascript | ||
var status = require('mrphealthcheck'); | ||
var status = require('@mrporter/mrp-healthcheck'); | ||
@@ -46,3 +46,3 @@ var results = status({ | ||
* @static | ||
* @example app.use('/health/check', require('mrphealthcheck'); | ||
* @example app.use('/health/check', require('@mrporter/mrp-healthcheck'); | ||
*/ | ||
@@ -55,3 +55,3 @@ module.exports = function(req, res) { | ||
var build = rootRequire('build.json') || {}; | ||
var results = require('mrphealthcheck')({ | ||
var results = require('@mrporter/mrp-healthcheck')({ | ||
'name': 'Mr Porter Product Page', | ||
@@ -58,0 +58,0 @@ "uptimeSeconds": parseInt(process.uptime(), 10), |
15663