External JavaScript modules
It is possible to require external modules. However, a module should be whitelisted by Nedap Harmony before it can be used in a hook. Please ask us for a module to be included, and we will do this ASAP.
const axios = require('axios').default
Current available modules are:
- axios - HTTP(S) calls
- fast-csv - Fast CSV, parse and create CSV files
- lodash - Helper functions
- moment - MomentJS, work with dates and times
- mqtt - MQTT client
- ssh2-sftp-client - SFTP
- xlsx - xlsx, work with Excel files
- epcis2.js - EPCIS 2.0 library
- digital-link.js - GS1 Digital Link support
- crypto-js - Crypto JS
- form-data - Create attachments for e-mails
- ftp - Old skool FTP
Updated over 2 years ago