Skip to main content

Module require

Module require 

Source
Expand description

Wrapper around the Node.js require function for loading native modules.

Functionsยง

require
Loads a Node.js module via require, returning JsValue::UNDEFINED when running in a web (browser) environment where require is unavailable.
require_impl
Binding to the Node.js require function for loading a module by name.