How to disable the "x-powered-by" header in Express

March 24, 2020

Express generates a header to your responses that says x-powered-by: Express.

If you want to clean up your headers, just add:


at the top of your javascript file.

Follow my twitter (@benborgers) to see the work-in-progress of coding projects Iā€™m working on!