{"id":13836140,"url":"https://github.com/hemerajs/fastify-error-page","last_synced_at":"2025-04-12T02:33:09.230Z","repository":{"id":29237846,"uuid":"117450612","full_name":"hemerajs/fastify-error-page","owner":"hemerajs","description":"The developer error page - print errors in structured HTML to the browser","archived":false,"fork":false,"pushed_at":"2023-01-07T20:00:11.000Z","size":813,"stargazers_count":19,"open_issues_count":15,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T05:40:32.386Z","etag":null,"topics":["developer-experience","fastify"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hemerajs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-14T17:19:54.000Z","updated_at":"2023-11-10T14:18:05.000Z","dependencies_parsed_at":"2023-01-14T14:26:55.382Z","dependency_job_id":null,"html_url":"https://github.com/hemerajs/fastify-error-page","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Ffastify-error-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Ffastify-error-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Ffastify-error-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Ffastify-error-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hemerajs","download_url":"https://codeload.github.com/hemerajs/fastify-error-page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506901,"owners_count":21115503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["developer-experience","fastify"],"created_at":"2024-08-04T15:00:36.559Z","updated_at":"2025-04-12T02:33:09.210Z","avatar_url":"https://github.com/hemerajs.png","language":"JavaScript","readme":"# fastify-error-page\nThe developer error page - print errors in structured HTML to the browser\n\n![image](demo.png)\n\n## Install\n```\nnpm i fastify-error-page --save\n```\n## Usage\n```js\nconst fastify = require('fastify')()\n\nif(process.env.NODE_ENV !== 'production') fastify.register(require('fastify-error-page'))\n\nfastify.get('/', async function (req, reply) {\n  throw new Error('Opppps!')\n})\n\nfastify.listen(3000, err =\u003e {\n  if (err) throw err\n  console.log('Server listenting on localhost:', fastify.server.address().port)\n})\n```\n\n### Credits\n\n- [youch](https://github.com/poppinss/youch) Pretty error reporting for Node.js 🚀\n","funding_links":[],"categories":["\u003ch2 align=\"center\"\u003eAwesome Fastify\u003c/h2\u003e"],"sub_categories":["\u003ch2 align=\"center\"\u003eEcosystem\u003c/h2\u003e"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemerajs%2Ffastify-error-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhemerajs%2Ffastify-error-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemerajs%2Ffastify-error-page/lists"}