Server-side JavaScript
JavaScript Modules
Import external modules using the require()
function. Server-side JavaScript library modules declare their exports using the global module.exports
variable.
The importing module:
The imported library module, util.sjs
:
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.