Open jcayzac opened 2 years ago
@jcayzac you should be able to createRequire
from deno standard library and import a CommonJS module.
reference here: https://deno.land/std@0.138.0/node/README.md#commonjs-modules-loading
Hi @jcayzac , have you tried the suggestion from fibo above? We currently don't have an estimation to work on this, so just checking if it would be a workaround for you.
@aisling-2 also Deno announced they are going to support (in the next three months) npm packages out or the box.
The syntax will be something like
import binance from 'npm:@binance/connector';
Please publish this package as an ESM, so it can be used in Deno too.