Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES5 import clause #193

Open
brunolnetto opened this issue Oct 24, 2022 · 1 comment
Open

ES5 import clause #193

brunolnetto opened this issue Oct 24, 2022 · 1 comment

Comments

@brunolnetto
Copy link

How do I import the library on ES5 javascript?

@gsimko
Copy link

gsimko commented Dec 4, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants