{"repo":"futurestudio/hapi-dev-errors","free":true,"listed":false,"github":"https://github.com/futurestudio/hapi-dev-errors","clone":"git clone https://github.com/futurestudio/hapi-dev-errors.git","description":"A hapi plugin to return better error details and skip the look at command line to catch the issue.","language":"JavaScript","stars":59,"topics":["hapi","hapi-plugin","development","developer-tools","productivity","nodejs","node","error-reporting","future-studio-university","error-stacktrace"],"license":"MIT","category":"productivity","readme_excerpt":"A hapi plugin to show server errors in the browser or terminal. Installation · Usage · Plugin Options Follow @marcuspoehls for updates! ------ Development of this hapi plugin is supported by Future Studio University 🚀 Join the Future Studio University and Skyrocket in Node.js ------ Introduction A hapi plugin to return an error view for web requests, providing more details of the issue. hapi-dev-errors will give you the exact file where the error happend and a nice error stacktrace within the browser. Skip the extra look at your command line to catch the issue's location. hapi-dev-errors seamlessly integrates Youch to show the error details. Besides the web view, hapi-dev-errors prints pretty error details to the terminal. This is nice when running your hapi server as an API. Printing error details to the console is enabled by default. To disable the terminal error, use the toTerminal: false option. Requirements This plugin uses async/await which requires Node.js v12 or newer . Compatibility Major Release hapi.js version Node.js version --- --- --- v4 =17 hapi =12 v3 =17 hapi =8 v2 =17 hapi =8 Installation Add hapi-dev-errors as a dependency to your project: Using hapi v17 or v18? Use the 3.x release of hapi-dev-errors : Using hapi v16 (or lower)? Use the 1.3.2 release of hapi-dev-errors with hapi v16. Later versions are only compatible with hapi v17. Examples Check out the examples directory and get an impression on how to configure hapi-dev-errors with the individual plugi","default_branch":null,"files":null,"tree":[],"storefront":"/r/futurestudio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/futurestudio/hapi-dev-errors/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}