express-remove-route icon indicating copy to clipboard operation
express-remove-route copied to clipboard

Why is this a package ???

Open Hamza-Bouhelal opened this issue 1 year ago • 0 comments

The following 3 lines removes endpoints:

function deleteUserRouter(endpoint: string) {
  app.stack = app.stack.filter((app) => app.route.path !== `/${endpoint}`);
}

Why have a whole package to do this

Hamza-Bouhelal avatar Jun 24 '23 23:06 Hamza-Bouhelal