{"id":15270856,"url":"https://github.com/danibram/fastify-blipp-log","last_synced_at":"2026-01-04T16:54:59.098Z","repository":{"id":34168648,"uuid":"170981152","full_name":"danibram/fastify-blipp-log","owner":"danibram","description":"Prints your routes to the console (using internal or custom a log) each time your server starts","archived":false,"fork":false,"pushed_at":"2023-01-03T16:28:56.000Z","size":409,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T14:45:38.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danibram.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-16T08:35:07.000Z","updated_at":"2020-07-20T08:16:22.000Z","dependencies_parsed_at":"2023-01-15T05:02:59.599Z","dependency_job_id":null,"html_url":"https://github.com/danibram/fastify-blipp-log","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danibram%2Ffastify-blipp-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danibram%2Ffastify-blipp-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danibram%2Ffastify-blipp-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danibram%2Ffastify-blipp-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danibram","download_url":"https://codeload.github.com/danibram/fastify-blipp-log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244931585,"owners_count":20534009,"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":[],"created_at":"2024-09-30T08:04:58.160Z","updated_at":"2026-01-04T16:54:59.039Z","avatar_url":"https://github.com/danibram.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastify-blipp-log\n\nPrints your routes to the console (using internal or custom a log) each time your server starts.\n(inspired by [fastify-blipp](https://github.com/PavelPolyakov/fastify-blipp) fastify-blipp plugin and [blipp](https://github.com/danielb2/blipp) hapijs plugin)\n\n## install\n\n```\nnpm i fastify-blipp-log\n```\n\n## usage\n\nIt is important to register the plugin as soon as possible, so it starts to listen for the new routes.\n\n```javascript\nconst prettyRoutes = require('fastify-blipp-log').default\nconst fastify = require('fastify')({\n    logger: {\n        prettyPrint: { colorize: true }\n    }\n})\n\nfastify.register(prettyRoutes)\n\nfastify.all('/cats', async () =\u003e ({}))\n\nconst start = async () =\u003e {\n    try {\n        await fastify.listen(3000)\n        fastify.prettyPrintRoutes()\n    } catch (err) {\n        console.error(err)\n        process.exit(1)\n    }\n}\n\nstart()\n```\n\n## Output\n\n![image](examples/output_example.png)\n\n## Options\n\n-   `customLogger` : You can pass a custom logger instance, by default it uses fastify logger. Optional\n-   `tabLength`: Change the tab size between the method and the route, by default is 13. Optional\n\n## Credits\n\nI couldn't do this without this awesome libraries, so thanks to all:\n\n-   fastify-blipp plugin: [fastify-blipp](https://github.com/PavelPolyakov/fastify-blipp)\n-   hapijs plugin: [blipp](https://github.com/danielb2/blipp)\n\n## License\n\nLicensed under the ISC license. 2019\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanibram%2Ffastify-blipp-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanibram%2Ffastify-blipp-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanibram%2Ffastify-blipp-log/lists"}