{"id":16870230,"url":"https://github.com/esatterwhite/micromock-node","last_synced_at":"2025-07-01T07:05:25.437Z","repository":{"id":57112018,"uuid":"158966883","full_name":"esatterwhite/micromock-node","owner":"esatterwhite","description":"Minimal HTTP Request / Response object for node js","archived":false,"fork":false,"pushed_at":"2019-05-05T02:25:06.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-24T10:51:43.382Z","etag":null,"topics":["http","mock","nodejs","skyring"],"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/esatterwhite.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-11-24T19:24:01.000Z","updated_at":"2019-05-05T02:25:08.000Z","dependencies_parsed_at":"2022-08-21T11:00:21.379Z","dependency_job_id":null,"html_url":"https://github.com/esatterwhite/micromock-node","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/esatterwhite/micromock-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esatterwhite%2Fmicromock-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esatterwhite%2Fmicromock-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esatterwhite%2Fmicromock-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esatterwhite%2Fmicromock-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esatterwhite","download_url":"https://codeload.github.com/esatterwhite/micromock-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esatterwhite%2Fmicromock-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262462883,"owners_count":23315246,"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":["http","mock","nodejs","skyring"],"created_at":"2024-10-13T15:03:18.379Z","updated_at":"2025-07-01T07:05:25.414Z","avatar_url":"https://github.com/esatterwhite.png","language":"JavaScript","readme":"# micromock-node\nMinimal HTTP Request / Response object for node js\n\nInitiall implemented for [skyring](https://github.com/esatterwhite/skyring) and a replacement for [hammock](https://github.com/doanythingfordethklok/hammock)\nfor use in [ringpop](https://github.com/esatterwhite/ringpop-node) while adding support for node \u003e= 10\n\n```js\nconst {Request, Response} = require('micromock')\n\nvar req = new new Request({\n        url: '/foo',\n        headers: { host: 'localhost', bar: 'baz' },\n        method: 'GET'\n    }),\n    res = new Response();\n\nres.on('end', function(err, data) {\n     console.log(data.statusCode);\n     console.log(util.inspect(data.headers));\n     console.log(data.body);\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesatterwhite%2Fmicromock-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesatterwhite%2Fmicromock-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesatterwhite%2Fmicromock-node/lists"}