curl-to-go
Paw-cURLImporter
curl-to-go | Paw-cURLImporter | |
---|---|---|
1 | 1 | |
1,816 | 25 | |
0.1% | - | |
2.2 | 10.0 | |
7 months ago | over 6 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
curl-to-go
Paw-cURLImporter
-
Convert curl commands to code in several languages
All 3 of these are linked to under "Related Tools".
Those projects use a pretty basic tokenizer
https://github.com/luckymarmot/Paw-cURLImporter/blob/master/...
Insomnia and Postman use commander.js for their bash parsing which looks like it just splits on space:
https://github.com/tj/commander.js/blob/02a124c7d58dbae2ef11...
and only support a few of curl's options. Curlconverter uses tree-sitter's Bash grammar https://github.com/tree-sitter/tree-sitter-bash/ and tries to at least correctly discard all of curl's options and any options that curl used to have.
What are some alternatives?
curl-to-php - Convert curl commands to PHP code in your browser
blog
curlconverter - Transpile curl commands into Python, JavaScript and 27 other languages
reef-pi - An opensource reef tank controller based on Raspberry Pi
gencurl - gencurl generates a curl command based on an http.Request to be used for logging and debugging