About process-title-plugin
A hapi plugin that sets the process.title of your hapi application to the name defined within your project's package.json file. Optional overrides exist for overriding the name defined within the package.json file (nameOverride). Version 2.0.1 of this plugin has been tested with v17 and v18 of Hapi but if you are committed to running Hapi v16 then checkout the 1.0.0 version of this plugin.
Install
npm install process-title-plugin --save
Usage:
'use strict'; const Hapi = ;const processTitlePlugin = ;const Path = ; const server = host: 'localhost' port: 3000; const startup = async { await server; await serverstart;}; ; console;
Usage using plugin option for name override:
'use strict'; const Hapi = ;const processTitlePlugin = ;const Path = ; const server = host: 'localhost' port: 3000; const startup = async { await server; await serverstart;}; ; console;