This includes compatibility with many, but not all, Node.js libraries. Those that are not supported are the ones that use Node's built-in modules such as fs, process, events or http.
For more information, see the GraalVM docs.
by using the GUI
by editing the repository.json file
by creating your own Docker image
Using the GUI
Click on a SEE VERSIONS button to see all the available versions for that library, and add a specific version to the repository by clicking an ADD TO THIS REPOSITORY button.
Any libraries added with the GUI will be become available to your code as soon as you publish the repository. In some cases, the publishing may take a few seconds if you add a lot of libraries, or if they take a while to download from the registry.
This will take effect as soon as you restart Gallium Data.
Creating your own Docker image
Using a library in filter code
let _ = require('lodash');
log.debug('Reversed with lodash: ' + _.reverse([1,2,3,4]));
The following libraries have been found to run out of the box, but many more should also be fine:
mathjs (expensive on initial load)
moment (somewhat obsolete but it does work)