Convert require and module.exports to import and export

decaffeinate

decaffeinate --use-js-modules {{path/to/file.coffee}}

click the source code to copy