1
0
Fork 0
arangodb/Documentation/Books/Users/ModuleJavaScript
Thomas Schmidts 7674e5eabf Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00
..
JSModules.mdpp Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00
ModulesPath.mdpp Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00
README.mdpp Even more syntax changes in gitbook 2014-06-06 16:28:17 +02:00

README.mdpp

!CHAPTER JavaScript Modules

!SUBSECTION Introduction to Javascript Modules

The ArangoDB uses a [CommonJS](http://wiki.commonjs.org/wiki)
compatible module and package concept. You can use the function *require* in
order to load a module or package. It returns the exported variables and
functions of the module or package.

There are some extensions to the CommonJS concept to allow ArangoDB to load
Node.js modules as well.