{"id":13716476,"url":"https://github.com/maximeshr/micro-bunyan-request","last_synced_at":"2025-05-07T05:33:12.400Z","repository":{"id":57296383,"uuid":"123418971","full_name":"maximeshr/micro-bunyan-request","owner":"maximeshr","description":"Request, response logger middleware using bunyan for micro framework. Also provides request\u003c\u003eresponse duration.","archived":false,"fork":false,"pushed_at":"2018-03-01T10:32:18.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-28T07:04:57.620Z","etag":null,"topics":["bunyan","duration","http","logger","micro","request","response"],"latest_commit_sha":null,"homepage":null,"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/maximeshr.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-03-01T10:21:01.000Z","updated_at":"2019-05-31T19:09:16.000Z","dependencies_parsed_at":"2022-09-07T03:20:52.533Z","dependency_job_id":null,"html_url":"https://github.com/maximeshr/micro-bunyan-request","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximeshr%2Fmicro-bunyan-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximeshr%2Fmicro-bunyan-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximeshr%2Fmicro-bunyan-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximeshr%2Fmicro-bunyan-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximeshr","download_url":"https://codeload.github.com/maximeshr/micro-bunyan-request/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823471,"owners_count":21809705,"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":["bunyan","duration","http","logger","micro","request","response"],"created_at":"2024-08-03T00:01:10.879Z","updated_at":"2025-05-07T05:33:12.110Z","avatar_url":"https://github.com/maximeshr.png","language":"JavaScript","funding_links":[],"categories":["Modules"],"sub_categories":["HTTP Requests"],"readme":"## Usage\n\n```\nconst bunyan = require('bunyan');\nconst bunyanRequest = require('micro-bunyan-request');\n\nconst logger = bunyan.createLogger({ name: 'My App' });\nconst logreq = bunyanRequest({\n  logger: logger,\n  headerName: 'x-request-id'\n});\n\nmodule.exports = logreq(async (req, res) =\u003e `Hello world`);\n```\n\n## Credits\n\nAdapted: [vvo/bunyan-request](https://github.com/vvo/bunyan-request) for micro\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximeshr%2Fmicro-bunyan-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximeshr%2Fmicro-bunyan-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximeshr%2Fmicro-bunyan-request/lists"}