RafalWilinski/express-status-monitor

ES5 import clause

brunolnetto opened this issue · 1 comments

How do I import the library on ES5 javascript?

If you mean how to include it with ESM then the following works:

import monitor from "express-status-monitor";
app.use(monitor());