Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Publish as ESM (to support Deno) #74

Open
jcayzac opened this issue Mar 29, 2022 · 4 comments
Open

Feature request: Publish as ESM (to support Deno) #74

jcayzac opened this issue Mar 29, 2022 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@jcayzac
Copy link

jcayzac commented Mar 29, 2022

Please publish this package as an ESM, so it can be used in Deno too.

@2pd 2pd added the enhancement New feature or request label Apr 4, 2022
@fibo
Copy link

fibo commented May 22, 2022

@jcayzac you should be able to createRequire from deno standard library and import a CommonJS module.

reference here: https://deno.land/[email protected]/node/README.md#commonjs-modules-loading

@aisling-2
Copy link
Contributor

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 aisling-2 added the question Further information is requested label Sep 10, 2022
@fibo
Copy link

fibo commented Sep 10, 2022

@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';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants
@jcayzac @fibo @2pd @aisling-2 and others