Additionally there are modules providing some level of compatibility withNode.js as well as a number of bundled NPM modules (like lodash and joi).For more information on these modules see.
This module provides access to various ArangoDB internals as well as three ofthe most important exports necessary to work with the database in Foxx:
aql and .
This module provides a
context object which is identical to theservice context of whichever module requires it.
There is no advantage to using this module over the variabledirectly unless you’re to translate your code and can’t use the
module object Foxx provides directly.
This module provides a function for making HTTP requests to external services.Note that while this allows communicating with third-party services it mayaffect database performance by blocking Foxx requests as ArangoDB waits forthe remote service to respond. If you routinely make requests to slow externalservices and are not directly interested in the response it is probably abetter idea to delegate the actual request/response cycle to a gateway servicerunning outside ArangoDB.
You can find a full description of this module in therequest module appendix.
For more information see the chapter on the.