{"id":16124963,"url":"https://github.com/hughsk/watchify-request","last_synced_at":"2025-03-18T13:30:18.673Z","repository":{"id":21376647,"uuid":"24694040","full_name":"hughsk/watchify-request","owner":"hughsk","description":"Wraps a watchify instance into an HTTP request handler","archived":false,"fork":false,"pushed_at":"2016-11-05T02:54:52.000Z","size":8,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T09:41:53.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hughsk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-01T20:23:22.000Z","updated_at":"2025-02-06T04:35:59.000Z","dependencies_parsed_at":"2022-07-23T09:17:04.837Z","dependency_job_id":null,"html_url":"https://github.com/hughsk/watchify-request","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughsk%2Fwatchify-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughsk%2Fwatchify-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughsk%2Fwatchify-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughsk%2Fwatchify-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hughsk","download_url":"https://codeload.github.com/hughsk/watchify-request/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243928135,"owners_count":20370237,"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-10-09T21:24:54.931Z","updated_at":"2025-03-18T13:30:18.379Z","avatar_url":"https://github.com/hughsk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# watchify-request [![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)\n\nWraps a [watchify](http://github.com/substack/watchify) instance into an HTTP\nrequest handler, performing the minimal amount of rebundling required and\npausing requests mid-build to avoid getting old versions of your script on\nreload.\n\n## Usage\n\n[![NPM](https://nodei.co/npm/watchify-request.png)](https://nodei.co/npm/watchify-request/)\n\n### `handler = watchifyRequest(bundler)`\n\nCreates a request handler out of a `watchify` or `browserify` instance.\n\n### `handler(req, res[, done])`\n\nHandles the request, where `req` is an `HTTPRequest` instance and `res` is its\nmatching `HTTPResponse` instance. `done(err, body)` is optional, and called if\nyou want to add a custom error handler or manipulate the request after\n`browserify` is done.\n\n## See also\n- [myth-request](https://github.com/yoshuawuyts/myth-request)\n- [koa-watchify](https://github.com/yoshuawuyts/koa-watchify)\n\n## License\n\nMIT. See [LICENSE.md](http://github.com/hughsk/watchify-request/blob/master/LICENSE.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughsk%2Fwatchify-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhughsk%2Fwatchify-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughsk%2Fwatchify-request/lists"}