RafalWilinski / express-status-monitor

🚀 Realtime Monitoring solution for Node.js/Express.js apps, inspired by status.github.com, sponsored by https://dynobase.dev
https://dynobase.dev/
MIT License
3.61k stars 255 forks source link

ES5 import clause #193

Open brunolnetto opened 2 years ago

brunolnetto commented 2 years ago

How do I import the library on ES5 javascript?

gsimko commented 1 year ago

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

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