1
0
Fork 0
arangodb/Documentation/Books/Users/ModuleJavaScript
Michael Hackstein 8ccad436ea Removed generated md files in gitbook 2014-06-04 17:59:55 +02:00
..
JSModules.mdpp the new documentation 2014-06-02 13:44:09 +02:00
ModulesPath.mdpp the new documentation 2014-06-02 13:44:09 +02:00
README.mdpp the new documentation 2014-06-02 13:44:09 +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.