import * as express from 'express' ; const hostPackageJSON = require ( '../../../package.json' ) ; export const healthCheck = ( app , env ? ) : void => { if ( env ?. noHealthCheck !== false ) { app . get ( '/health_check' , ( req , res ) => { res . send ( hostPackageJSON . name ) ; } ) ; } } ;