Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Started
Created by Guest
Created on Mar 21, 2018

Use node modules in Functions

As far as I understand currently it is not possible to use node/npm modules is Functions. Would be great to have it.
  • Guest
    Nov 18, 2020
    I know this feature has been started, but I wanted to chime in about the Node-like environment where functions run. Some libraries aren't compatible because they use a primitive's method like `Number.isNaN` or `Object.is` which are missing from the runtime. This can be seen with something as simple as the luxon library. It would be nice to get either more expanded Node support or better docs about what isn't available. Thanks!