• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Import Node.js modules

In addition to the standard synthetic monitoring's WebDriverJS-based scripting environment, New Relic supports many popular Node.js modules to enhance your scripted browsers and API tests.

Import optional modules

To import a supported module, follow the standard importing procedure for it. For example:

  • To import crypto-js, call:

    var crypto = require('crypto-js');
  • To import chai, call:

    var assert = require('chai').assert;

Supported third-party modules

Different synthetic scripted monitor versions support different third-party modules. For information on modules supported by different monitor versions, see the monitor version comparison table.

Supported Node.js core modules

Unsupported modules

You can use custom node modules in a Synthetics Job Manager. For instructions on how to configure custom modules for a Synthetics Job Manager, see Job Manager configuration.

Unsupported modules are not guaranteed to work, and they are outside the scope of New Relic Support.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.