Navigation

Built-In Module Support

Overview

You can import and use many standard Node modules in your MongoDB Realm functions.

Note

The supported modules and partially supported modules are compatible with Node API version 10.18.1. Avoid using APIs in these modules introduced after or deprecated since Node 10.18.1.

Fully Supported Modules

MongoDB Realm fully supports the following built-in modules:

Partially Supported Modules

MongoDB Realm supports a subset of the functionality of the following modules.

dns

Realm supports the dns module with the following exceptions:

fs

Realm supports the following fs APIs:

process

Realm supports the following process APIs:

Unsupported Modules

Realm functions do not support the following built-in modules:

  • child_process
  • cluster
  • domain
  • punycode
  • readline
  • v8
  • vm