How to solve "cannot be invoked without 'new'" thrown from an NPM module ? - Deno