Did a small test with regression and had no problems with requiring it.
You can’t combine import
and require
in a project, Wappler uses commonjs modules with require
and import statements will fail.
const regression = require('regression')
worked for me