Comparing version
{ | ||
"name": "curlit", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "An Express middleware that logs a cURL command representation of incoming requests and responses. You can then copy the curl, run it or paste into postman to build a postman collection.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# cUrlit | ||
# cUrlit - turning complexity into simplicity | ||
@@ -12,2 +12,15 @@ | ||
- **curlit** is an Express middleware that logs a multi‑line cURL command representing the incoming request and its response. | ||
## Imagine this, story time: | ||
After months of hard work, you've built a robust API server that your customers are now using daily. One day, you realize that you need to create a Postman collection for your API—something that used to take hours of manual effort. | ||
Now, instead of diving back into the tedious task of documenting every endpoint, you integrate the curlit middleware into your server's entry point. | ||
Suddenly, each time a request is processed, curlit generates a ready-to-use cURL command. With a quick copy and paste, you start building your Postman collection effortlessly. What once seemed like a stressful, time-consuming chore is now a streamlined process, giving you more time to focus on enhancing your application rather than documenting it. | ||
This is the magic of curlit—turning complexity into simplicity, one cURL command at a time. | ||
# Use cases: | ||
- This can be useful for debugging, testing, or reproducing API calls easily. | ||
@@ -14,0 +27,0 @@ - You can copy the curl, and run it. |
7932
13.01%140
10.24%