/ javascript

Turn your cURL commands into runnable JavaScript

I found that recently I've been trying to reproduce a lot of HTTP requests in the scripts I've been writing. I got tired of doing it manually, so I wrote this tool to generate them for me. Not only does this work for when you are transitioning from using curl on the command line but most browsers have a 'Copy as cURL' option in their network debugging consoles. Just right click on any request, run it through this tool and you can reproduce it any time you want now.

As the tool stands right now, you can have it output as one of my favorite AJAX libraries superagent or as a generic object that can be passed to libraries like jQuery. I might add more if I see it as useful.