daakiya-parser
A CLI tool to parse the routes in an ExpressJS application and generate a Postman collection.

Installation
# On your terminal, run the following command:
npm i -g daakiya-parser
Usage
# On your terminal, run the following command:
daakiya-parser -a <path-to-express-app> -p <path-to-express-apps-package-json> -b <base-url> -o <output-file>
Example usage:
daakiya-parser -a ./sample-app/src/index.js -p ./sample-app/package.json -b http://localhost:3000 -o ./sample-app/postman-collection.json
Please do not forget to export the app variable in your ExpressJS application. It will not work without the export.
const express = require('express');
.
.
const app = express();
.
.
.
module.exports = { app };

To-Dos: