Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fork & upstreaming #1

Open
paulirish opened this issue Aug 28, 2016 · 1 comment
Open

fork & upstreaming #1

paulirish opened this issue Aug 28, 2016 · 1 comment

Comments

@paulirish
Copy link

Hiya!

Thanks very much for making this module. I had looked for something similar a few times and usually came up empty handed. But yesterday this sorted things out for me. And I managed to get a HAR of the npm client doing an install. Pretty awesome.

image

I ended up changing a few things and wasn't sure if they were compatible, so I forked: https://github.com/paulirish/request-capture-har

But maybe it's possible that your project here can absorb all the changes. Here's the basic changelog:

request & request-promise

As the codebase I was in (and typically am) uses streaming APIs on request, request-promise does not work for me; they don't support the .on() APIs at all. I'm curious if request-har-capture could work with both request APIs. It might have to be a breaking change, but I can imagine it working... maybe something like.. var request = require('request-har-capture')('request-promise');

What do you think? Are you interested in seeing if we can support both?

@larsthorup
Copy link
Owner

Hey @paulirish! Thanks for contributing these improvements! I am quite embarassed to say I only saw this issue yesteday, after almost a year. Somehow I had disabled notifications for this repo. Sorry about that :(

I will attempt to migrate to your fork, and if that works well, I might deprecate this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants